Hi,
I have the following code:
--in the faces JSFX---
<tr:navigationPane var="menu" value="#{root_menu}" level="0" hint="list">
<f:facet name="nodeStamp">
<tr:commandNavigationItem text="#{menu.action}
action="#{menu.doAction}"
/>
</f:facet>
</tr:navigationPane>
--#{root_menu} is defined as
<bean id="root_menu" class="org.apache.myfaces.trinidad.model.XMLMenuModel"
scope="request">
<beans:property name="source" value="/WEB-INF/xmlMenuModel.xml" />
</bean>
--/WEB-INF/xmlMenuModel.xml is defined
<itemNode id="main1" label="#{msg.MHome}" action="main"
focusViewId="/jsf/start.jspx" />
<itemNode id="main2" label="#{msg.MSearch}" focusViewId="/jsf/main.jspx" />
Everything is working (i.e. focusViewId, rendering, message, etc...), but
when I click list item nothing happens. Not even an error. I tried setting
the action manually but again no luck. When I set the 'destination'
attribute is seems to work fine.
Any idea of why this is happening?
Thanks,
--
View this message in context:
http://www.nabble.com/--TRINIDAD---XMLMenuModel---Action-not-working-with-XMLMenuModel-and-commandNavigationItem-tp25530723p25530723.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.