<div>I'm trying to change the code below to "hard code" static folders for navigation elements.Right now I'm using:</div> <div> </div> <div>___________________________________</div> <div> </div> <div><%@ page import="java.util.*" %><% </div> <div>// Create a JSP action element<BR>org.opencms.jsp.CmsJspActionElement cms = new org.opencms.jsp.CmsJspActionElement(pageContext, request, response);</div> <div>// Get a simple navigation of all pages / subfolders in the current folder<BR>List list = <STRONG>cms.getNavigation().getNavigationForFolder();</STRONG> <BR>Iterator i = list.iterator();</div> <div> </div> <div>out.println("");</div> <div> </div> <div>while (i.hasNext()) {<BR> org.opencms.jsp.CmsJspNavElement ne = (org.opencms.jsp.CmsJspNavElement)i.next();<BR> out.println("<a class=\"menuItem\" href=\"" + cms.link(ne.getResourceName()) +
"\">");<BR> out.println(ne.getTitle() + " ");<BR> out.println("</a>");<BR>} <BR>out.println("");<BR>%></div> <div> </div> <div>________________________________________</div> <div> </div> <div>to make a navigation of the current folder. I would like to use some like the <STRONG>getNavigationforResource()</STRONG> function to hard code in 4 specific folders. IE: something like this.. <STRONG>getNavigationforResource(/sites/default/parksandrecreation/) </STRONG> . Basically I'm making top nav pulldown menus dynamically with the getNavigation stuff and have four hard coded departments.</div> <div> </div> <div>PS: I've been looking through the Alkon docs and really need a sample of the syntax.</div> <div> </div> <div>thanks!</div><p>
<hr size=1>Yahoo! Music Unlimited - Access over 1 million songs.
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/
">Try it free.</a>