Skip to main content

tocItem in Java code

No replies
Anonymous

Sorry if you get this twice but I messed up and the original did not post
to the list...

I'm writing a controller class in order to create a web version of
JavaHelp that doesn't use JavaScript. I also created two classes (Tree &
TreeNode) that I use to create the menu tree. In my test jsp page I have
the following code (Tree tocTree = new Tree())

" tocView="<%= curNav %>" >
<%
tocTree.setNodes(parentID, nodeID, iconURL, hame, helpID, contentURL,
expansionType);
%>

I've gone through both the JavaHelp documentation and the API doc and I
can't figure out how to perform this action in the controller class BEFORE
I forward control to the JSP page.

Thanks...

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.