Line | |
---|
1 | <%@ page import="com.medias.Context" contentType="text/html; charset=UTF-8"%> |
---|
2 | <%@ page language="java" contentType="text/html; charset=UTF-8"%> |
---|
3 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%> |
---|
4 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%> |
---|
5 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%> |
---|
6 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%> |
---|
7 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%> |
---|
8 | |
---|
9 | <tiles:insert page="/resources/templates/template.jsp" flush="true"> |
---|
10 | |
---|
11 | <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/> |
---|
12 | |
---|
13 | <tiles:put name="nav" value='<%=relativePath+"/nav.jsp"%>'/> |
---|
14 | |
---|
15 | <tiles:put name="title" type="string"> |
---|
16 | <%-- Place here the page title --%> |
---|
17 | </tiles:put> |
---|
18 | |
---|
19 | <tiles:put name="bodytitle" type="string"> |
---|
20 | <%-- Place here the title of the body of your page (can be <bean:message .../>) --%> |
---|
21 | </tiles:put> |
---|
22 | |
---|
23 | <tiles:put name="body" type="string"> |
---|
24 | <%-- Place here the content of your page --%> |
---|
25 | </tiles:put> |
---|
26 | </tiles:insert> |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.