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. |