[opencms-dev] Can more than 50 websites build on opencms?

Steve Mato smato at icc.net
Fri Aug 27 16:21:26 CEST 2004


I see.  Thank you very much.

At 04:15 PM 8/27/2004 +0200, Thomas März wrote:
>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 );
>|%>




More information about the opencms-dev mailing list