diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/appointments/calendar.jsp b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/appointments/calendar.jsp new file mode 100644 index 0000000000000000000000000000000000000000..692d0bb0dc7abec4d6283905849c5e668541eb8f --- /dev/null +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/appointments/calendar.jsp @@ -0,0 +1,2 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<h2>Appointment Calendar</h2> \ No newline at end of file diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/owners/search.jsp b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/owners/search.jsp new file mode 100644 index 0000000000000000000000000000000000000000..f098b9d19ed025577e559b813accb5813516fcc3 --- /dev/null +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/owners/search.jsp @@ -0,0 +1,2 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<h2>Search Owners</h2> \ No newline at end of file diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/tiles.xml b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/tiles.xml index 92a429fa95dadb736b57f10668ee5ac7f16e06cd..64d5e66b58f4e44e4c555824487e47a4747c3f9d 100644 --- a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/tiles.xml +++ b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/tiles.xml @@ -13,9 +13,19 @@ <definition name="home" extends="page"> <put-attribute name="title" value="Welcome to Petclinic" type="string" /> - <put-attribute name="content" value="/WEB-INF/home.jsp" /> + <put-attribute name="content" value="/WEB-INF/home.jsp" type="template" /> </definition> - <!-- OWNER PAGES --> + <!-- APPOINTMENTS PAGES --> + <definition name="appointments" extends="page"> + <put-attribute name="title" value="Appointment" type="string" /> + <put-attribute name="content" value="/WEB-INF/appointments/calendar.jsp" type="template" /> + </definition> + + <!-- OWNERS PAGES --> + <definition name="owners" extends="page"> + <put-attribute name="title" value="Owner Search" type="string" /> + <put-attribute name="content" value="/WEB-INF/owners/search.jsp" type="template" /> + </definition> </tiles-definitions> \ No newline at end of file