This content has been marked as final.
Show 2 replies
-
1. Re: f:param works with rich:panelMenuItem in RF4?
bleathem Sep 3, 2013 5:28 PM (in response to liuliu)PanelMenuItem is an action component, so it *should* work. Can you post a code sample of how your are using it? Try replacing your panelMenuItem by a commandButton, and verify that works as expected.
-
2. Re: Re: f:param works with rich:panelMenuItem in RF4?
liuliu Sep 4, 2013 3:39 AM (in response to bleathem)in page1, i have these
<rich:panelMenuItem name="PAGE_GESTION_PARAM_UCD" label="Paramétrage" action="page2?faces-redirect=true;" render="panelParamGeneral,tittlePage" > <f:param name="menuitem" value="PAGE_GESTION_PARAM_UCD" /> </rich:panelMenuItem>
in page 2, there is a viewscope backingbean : bean1 :
@PostConstruct public void init(){ System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("menuitem")); }
after some more test and google, i found the problem is faces-redirect=true; but i dont know why.