<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

Show source

OpenCms logo - Forward >>

Source code for: /alkacon-documentation/documentation_scriptlet/test_method_property.jsp


<%
org.opencms.jsp.CmsJspActionElement cms = new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);
String propertyTemplate = cms.property("template", "search");

cms.include( propertyTemplate, "head" );
%>

<h2>
Properties of the current file:
</h2>

Value of "Export": <i><%= cms.property("Export", "this") %></i>  
<p>
Value of "export": <i><%= cms.property("export", "this") %></i>
<p>
Value of "Description": <i><%= cms.property("Description", "this") %></i>
<p>
(*) Value of "Title" of this file (test_method_property.jsp): <i><%= cms.property("Title", "this") %></i>
<p>
Value of "Title" of parent file: <i><%= cms.property("Title", "parent") %></i>
<p>
Value of "Title" of file <code>test_method_user.jsp</code>: <i><%= cms.property("Title", "test_method_user.jsp") %></i>
<p>

<%
cms.include( propertyTemplate, "foot" );
%>

©2005 Alkacon Software GmbH (http://www.alkacon.com) - The OpenCms experts