JSCookMenu

Hello,

I need in a JSCookMenu implemented with nenuNavigationItems I went by a managed-bean instead of a jsp. Do I need that it goes by the bean to listen the label or the value of the menuNavigationItem on which I have made click this is possible?

My implementation:

<t:jscookMenuid="nav1"

layout="hbr"

theme="ThemeOffice" binding="#{gestionProyectosBean.nombre_proyecto}" >

<!--

coment code

binding="#{gestionProyectosBean.nombre_proyect}" > -->

<t:navigationMenuItems id="navitems" value="#{menuGenericoXML.olistmenuitem}"/>

</t:jscookMenu>

Something similar to selectOneMenu here passes the value from the item seleecionado to the managed-bean

<t:selectOneMenu goes = "selectGrupo" valued = "#{listadoUsuariosBean.sgrupoactual}" onchange = "submit () immediate = "true">

<f:selectItems valued = "#{listadoGruposBean.olistgrupos}"/>

</t:selectOneMenu>

As I can make it?

thank you!!

[1033 byte] By [amf_spa] at [2007-10-3 1:08:42]
# 1
Hi, I am starting JSF, can you help me to how to create Menu and Submenus in JSF as we make in Swing. If you can then please send me an Example with code and also suggest me which book is good for start JSF. ThanksRajendra
Rajendra_Sanwala at 2007-7-14 18:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I believe that simply it does not work must be that this single component accepts estatic content somebody me can confirm?
amf_spa at 2007-7-14 18:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
2 pagespage A jscookmenu (page A calls to page B)page B needs to receive parametro with the label or value that is selected. It is this possible one?. (request.getParameter('menuitems.selected)
amf_spa at 2007-7-14 18:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I'm not too sure what you are asking. However, the value attribute of t:jscookmenu should return either an array or Collection of NavigationMenuItem objects.I suppose you've seen the wiki entry at http://wiki.apache.org/myfaces/Dynamic_Menus_with_JSCookMenu ?
paul_norriea at 2007-7-14 18:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

2 pages

page A jscookmenu (page A calls to page B)

page B needs to receive parametro with the menuNavigationItem.label that is selected. It is this possible one?. (request.getParameter('menuNavigationItem.label')

From this form I can remove menu of a data base. And to have new options whenever year registries to the data base. It understands my question?

amf_spa at 2007-7-14 18:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...