Demo uses this class, however standard library distribution 
trinidad-api-incubator-m1-SNAPSHOT.jar has a different package structure from 
what I can see. Does anybody know what is the package name for 
NavigationModelAdaptor in the standard distribution?


-----Original Message-----
From: Causevic, Dzenan [mailto:[EMAIL PROTECTED]
Sent: Wed 10/18/2006 2:45 PM
To: [email protected]
Subject: RE: Tabs menu navigation
 
The example on how to set up navigation on Trinidads documentation page is 
using org.apache.myfaces.trinidaddemo.nav.NavigationModelAdapter class however 
I can't even find this class in my library distributions. 

What is this documentation reffering to, does anybody know?
Do I have to substitute this class with some other name?

<managed-bean>
    <managed-bean-name>navigationModel</managed-bean-name>
    
<managed-bean-class>org.apache.myfaces.trinidaddemo.nav.NavigationModelAdapter</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>   
    <managed-property>
      <property-name>model</property-name>
      <value>#{viewIdNavigationModel}</value>
    </managed-property>
    <managed-property>
      <property-name>aliasList</property-name>
      <list-entries>
        <value-class>java.lang.String</value-class>
        <value>/components/navmodel/page_p1.jspx</value>
        <value>#{navItem_a2b1.viewId}</value>
        <value>/components/navmodel/page_p2.jspx</value>
        <value>#{navItem_a2b1.viewId}</value>
        <value>/components/navmodel/page_p3.jspx</value>
        <value>#{navItem_a2b1.viewId}</value>
        <value>/components/navmodel/page_p4.jspx</value>
        <value>#{navItem_a2b1.viewId}</value>
      </list-entries>
    </managed-property>



-----Original Message-----
From: Causevic, Dzenan [mailto:[EMAIL PROTECTED]
Sent: Tue 10/17/2006 2:51 PM
To: [email protected]
Subject: Tabs menu navigation
 
I am trying to create a tabs menu navigation on the top of the page with
navigationPane component and I am pretty new to Trinidad project. I have
placed tabs physically on the page and made them look visually the way I
want. Now I need to make them functional, clicking on them should allow
me to navigate through the pages. I started reading Trinidads
documentation on this, and I would like to use approach with panelPage
and navigation components that use navigation model and a single
commandNavigationItem child. Is there some tutorial step-by-step on how
to do this (documentation provides just a general idea)? 

 

Dzenan Causevic

Software Web Developer

NaviSite, Inc.

Syracuse, NY

(315) 453-2912 x5346

 



Reply via email to