<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

Show source

OpenCms logo - Forward >>

Source code for: /alkacon-documentation/documentation_scriptlet/test_method_link.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>
Link tests:
</h2>

To "index.html": <%= cms.link("index.html") %>
<p>
To "test_tag_user.jsp": <%= cms.link("test_method_user.jsp") %>
<p>
To the documentation index ../index.html": <%= cms.link("../index.html") %>
<p>
To a page "broken.html" that does not exist: <%= cms.link("broken.html") %>
<p>


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


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