This content has been marked as final.
Show 3 replies
-
1. Re: How to know which panelBarItem I'm on?
nbelaevski Feb 26, 2009 12:31 PM (in response to dxxvi)Hello,
You can try this:<rich:panelBar> <rich:panelBarItem> <a4j:support event="onenter" action="..." /> </rich:panelBarItem> <rich:panelBarItem> <a4j:support event="onenter" action="..." /> </rich:panelBarItem> ... </rich:panelBar>
-
2. Re: How to know which panelBarItem I'm on?
frer Apr 29, 2009 12:39 PM (in response to dxxvi)I know this is an old thread but I have tried the a4j: support on the panelBarItem and my action is never called. I have used exactly the same code as below but the call is not made.
<rich:panelBar>
<rich:panelBarItem>
<a4j:support event="onenter" action="#{bean.switchToBasicMode}" />
</rich:panelBarItem>
<rich:panelBarItem>
<a4j:support event="onenter" action="#{bean.switchToAdvancedMode}" />
</rich:panelBarItem>
...
</rich:panelBar>
I use RichFaces 3.3.0.
Any clue? -
3. Re: How to know which panelBarItem I'm on?
nbelaevski Apr 29, 2009 2:03 PM (in response to dxxvi)Please post full page code.