Hi,
I got menu in my page and to navigation I use s:link, but s:link generates cid=xx number, and I need to user simple link in menu to maange then via js.
(In one page I need to change href for some links)
I thougth to use <h:outputLink to create simple link and call action when user click on it.
Here is my code:
<h:outputLink id="linkNewOrder" action="#{ordersAction.orders}"> #{messages['link.orders']} </h:outputLink>
<navigation from-action="#{ordersAction.orders}"> <redirect view-id="/pages/new_order.xhtml"/> </navigation>