[opencms-dev] Can more than 50 websites build on opencms?
Thomas M�rz
thomasmaerz at gmx.de
Fri Aug 27 16:15:02 CEST 2004
Steve Mato <smato at icc.net> writes:
> Can you quickly elaborate with some classes to extend and/or where to
> register them within OpenCMS? (I bought the book but don't know if
> that will be covered)
Maybe use smth. like this as the only template:
|<%@ page session = "false"
| import = "org.opencms.jsp.CmsJspActionElement"
|%><%
|
|CmsJspActionElement cms = new CmsJspActionElement( pageContext, request, response );
|String uri = cms.getRequestContext().getUri();
|
|String template = cms.property( "template", "search", "defaultTemplate.jsp" );
|
|cms.include( "../templatefolder/" + template );
|%>
HTH
More information about the opencms-dev
mailing list