<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
	"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
	"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
	
<tiles-definitions>
	
	<definition name="hotels/index" extends="standardLayout">
		<put-attribute name="body" value="index.body" />
	</definition>
	
    <definition name="index.body" template="/WEB-INF/hotels/index.jsp">
        <put-attribute name="hotelSearchForm" value="/WEB-INF/hotels/hotelSearchForm.jsp" />
        <put-attribute name="bookingsTable" value="/WEB-INF/hotels/bookingsTable.jsp" />
    </definition>
	
	<definition name="hotels/search" extends="standardLayout">
		<put-attribute name="body" value="/WEB-INF/hotels/search.jsp" />
	</definition>
	
	<definition name="hotels/show" extends="standardLayout">
		<put-attribute name="body" value="/WEB-INF/hotels/show.jsp" />
	</definition>
	
</tiles-definitions>
