hi,all
I met with a wierd problem.I wrote a jscook menu page just like the
example from the myfaces wiki,and set up the action navigation case in the
faces-config.
Then only when I first clicked the menu ,the menu bar can navigate to
the right page, except that, my page wouldn't navigate to any other page. I
followed into the thread ,found that the toviewId is always the current page
url instead of the to-view-id page url defined in the faces-config.
Any one can help me? Thanks!
here is the code snip:
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<%/* Availaible jscookMenu themes: ThemeIE,
ThemeMiniBlack,ThemeOffice, ThemePanel
Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr,vbl, vur,
vul
respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
*/%>
<t:navigationMenuItems value="#{dynMenu.navItems}" />
</t:jscookMenu>
--------------------------------------------------------------------------------------------------------------
<navigation-case>
<from-outcome>go_mana_warn</from-outcome>
<to-view-id>/WarnInfo/WarnInfoList.jsp</to-view-id>
</navigation-case>
--
View this message in context:
http://www.nabble.com/Can%27t-get-right-toViewId-when-using-JsCookMenu-tf2545643.html#a7093324
Sent from the MyFaces - Users mailing list archive at Nabble.com.