A list of pages that can be used for your web application with Sitemesh. For example, if you want to use the financial link decorator, have the following in your
decorators.xml
in your web application.
<decorator name="default" webapp="/decorators" page="/decorators/3.1/financial.jsp"> <pattern>/*</pattern> </decorator>
Possible
page
values (click to preview):
If you have a CMS site (i.e. http://rrdp.ucsd.edu) and want your web application to have the same header, top nav, search, footer:
decorator.xml
in your web application. In this example, [your CMS site name]
will be rrdp
<decorator name="default" webapp="/decorators" page="/cms/3.1/decorate.jsp?siteName=[your CMS site name]"> <pattern>/*</pattern> </decorator>
<decorator name="default" webapp="/decorators" page="/decorators/3/financial.jsp"> <pattern>/*</pattern> </decorator>
Possible
page
values (click to preview):
If you have a CMS site (i.e. http://rrdp.ucsd.edu) and want your web application to have the same header, top nav, search, footer:
decorator.xml
in your web application. In this example, [your CMS site name]
will be rrdp
<decorator name="default" webapp="/decorators" page="/cms/3/decorate.jsp?siteName=[your CMS site name]"> <pattern>/*</pattern> </decorator>
<decorator name="default" webapp="/decorators" page="/decorators/2/financial.jsp"> <pattern>/*</pattern> </decorator>
Possible
page
values (click to preview):
If you have a CMS site (i.e. http://rrdp.ucsd.edu) and want your web application to have the same header, top nav, search, footer:
decorator.xml
in your web application. In this example, [your CMS site name]
will be rrdp
<decorator name="default" webapp="/decorators" page="/cms/2/decorate.jsp?siteName=[your CMS site name]"> <pattern>/*</pattern> </decorator>