<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN" "http://tiles.apache.org/dtds/tiles-config_3_0.dtd">

<tiles-definitions>

    <definition name="layout-empty" template="/WEB-INF/views/base/empty.jsp">
        <put-attribute name="content" value="" />
    </definition>

    <definition name="layout-tiles" template="/WEB-INF/views/base/layout.jsp">
        <put-attribute name="navigation" value="/WEB-INF/views/base/navigation.jsp" />
        <put-attribute name="content" value="" />
    </definition>

    <definition name="*" extends="layout-tiles" template="/WEB-INF/views/modal/empty.jsp">
        <put-attribute name="content" value="/WEB-INF/views/modal/{1}.jsp" />
    </definition>

    <definition name="*/*" extends="layout-tiles">
        <put-attribute name="content" value="/WEB-INF/views/{1}/{2}.jsp" />
    </definition>

    <definition name="*/*/*" extends="layout-tiles">
        <put-attribute name="content" value="/WEB-INF/views/{1}/{2}/{3}.jsp" />
    </definition>

</tiles-definitions>