<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>nico- Template for OpenCms</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Here is my proposal for a JSP template see code below this message.</FONT><FONT FACE="Times New Roman"> </FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Will it work ?</FONT>
<BR><FONT FACE="Times New Roman">Have I forgotten any mandatory Includes?</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">What do I need to make it work ?</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><!--- basicTemplate1.jsp ---></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><%@ page import="java.util.*" %></FONT>
<BR><FONT SIZE=2 FACE="Courier New"><%@ page session="false" import="org.opencms.jsp.*" %></FONT>
<BR><FONT SIZE=2 FACE="Courier New"><%@ taglib prefix="cms" uri="<A HREF="http://www.opencms.org/taglib/cms" TARGET="_blank">http://www.opencms.org/taglib/cms</A>" %></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><% </FONT>
<BR><FONT SIZE=2 FACE="Courier New"> // initialize action element to access the API for breadcrumb</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> CmsTemplateNavigation cms2 = new CmsTemplateNavigation(pageContext, request, response);</FONT>
</P>
<BR>
<P> <FONT SIZE=2 FACE="Courier New">// Create a JSP action element for menu</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> org.opencms.jsp.CmsJspActionElement cms3 = new CmsJspActionElement(pageContext, request, response);</FONT>
</P>
<BR>
<P> <FONT SIZE=2 FACE="Courier New">// Get a simple navigation of all pages / subfolders in the current folder </FONT>
<BR> <FONT SIZE=2 FACE="Courier New">List list = cms3.getNavigation().getNavigationForFolder();</FONT>
<BR> <FONT SIZE=2 FACE="Courier New">Iterator i = list.iterator();</FONT>
<BR><FONT SIZE=2 FACE="Courier New">%></FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><html></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"><head></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"><title>OpenCms -<cms:propertyname="Title" escapeHtml="true" /></title></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"><cms:editable/></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"></head></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"><body></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"><table width="100%" border="0" cellspacing="0" cellpadding="0"></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <td></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <!-- Simple breadcrumb starts here --></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <%= cms2.buildNavigationBreadCrumb("breadcrumb") %></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <!-- Simple breadcrumb ends here --></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"> <h2><cms:propertyname="Title" escapeHtml="true" /></h2></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </td></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <td width="20%"></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"> <!-- Simple Navigation starts here --></FONT>
<BR><FONT SIZE=2 FACE="Courier New"> <%</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> while (i.hasNext()) {</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> CmsJspNavElement ne = (CmsJspNavElement)i.next();</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> out.println("<li><a href=\"" + cms.link(ne.getResourceName()) + "\">");</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> out.println(ne.getTitle() + "</a>");</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> } </FONT>
<BR><FONT SIZE=2 FACE="Courier New"> out.println("</ul>");</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> %></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"> <!-- Simple Navigation ends here --></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </td></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <td width="80%"></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"> <!-- Main page body starts here --></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"> <cms:includeelement="body" editable="true"/></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"> <!-- Main page body ends here --></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"> </td></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </table></td></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> <td>foot</td></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"> </tr></FONT>
<BR> <FONT SIZE=2 FACE="Courier New"></table></FONT>
</P>
<P> <FONT SIZE=2 FACE="Courier New"></body></FONT>
<BR><FONT SIZE=2 FACE="Courier New"></html></FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<DIV>__________________________________________________________________________________________________________________________________</DIV>
<DIV><SPAN class=236492506-24112004><FONT size=2><SPAN lang=EN-ZA
style="FONT-SIZE: 9pt; LAYOUT-GRID-MODE: line; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-ZA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><STRONG><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Standard
Bank Disclaimer and Confidentiality Note<O:P></O:P></SPAN></STRONG>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt"><O:P></O:P></SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">This
e-mail, its attachments and any rights attaching hereto are, unless the context
clearly indicates otherwise, the property of Standard Bank Group Limited
</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">and/or
its subsidiaries ("the Group"). It is confidential, private and intended for the
addressee only.</SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"></SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Should
you not be the addressee and receive this e-mail by </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">mistake,
kindly notify the sender, and delete this e-mail, immediately and do not
disclose or use same in any manner whatsoever. </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Views and
opinions expressed </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">in this
e-mail are those of the sender unless clearly stated as those of the Group. The
Group </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">accepts
no liability whatsoever for any loss or damages </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">whatsoever
and howsoever incurred, or suffered, resulting, or arising, from the use of this
email or its attachments.</SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'"></SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">The
Group does not warrant the integrity of this </SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">e-mail
nor that it is free of errors, viruses, interception or interference.
</SPAN><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-GB">Licensed
divisions of the Standard Bank Group are authorised financial services providers
in terms of the Financial Advisory and Intermediary Services Act, No 37 of 2002
(FAIS).</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><O:P></O:P></SPAN></P>
<P class=MsoBodyText
style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><O:P></O:P></SPAN></P>
<P class=MsoBodyText style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal"><SPAN
lang=EN-US
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Arial Unicode MS'">For
information about the Standard Bank Group Limited visit our website <A
href="http://www.standardbank.co.za"><FONT
color=#0000ff>http://www.standardbank.co.za</FONT></A></SPAN></P></SPAN></FONT></SPAN><FONT
color=#0000ff><FONT
color=#000000>__________________________________________________________________________________________________________________________________<BR></FONT></DIV></FONT>
</BODY>
</HTML>