The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Further Down the Trail
Subject:  Using a JSCookMenu with Trails
Date:  2006-11-28 11:34:01
From:  sanderzone


Hi!

I'm using a JSCookMenu to navigate my trails application. It is integrated into Border.html:


<div id="menu">
<span jwcid="@menu:XmlJSCookMenu" xmlModel="asset:xmlModel"
theme="Stbg" listener="listener:onNavigate" position="hbr">
</span>
</div>


The listener "onNavigate" is a Method on Border.java:


public void getOnNavigate(IRequestCycle cycle, String id){
System.out.println("navigating from menuitem " + id );
}


I don't know how to implement links to the trails pages. In the preceding html file the call was jwcid:@trails:ListAllPages with the typeName of the class.

 Feed java.net RSS Feeds