This content has been marked as final.
Show 2 replies
-
1. Re: set value by event ontabenter (like actionparam)
nbelaevski Nov 13, 2008 10:13 PM (in response to nimo22)Hello,
Try this variant:<rich:tab id="tab2" name="Tab2"> Some text <a4j:actionparam name="setTab" value="tab2" assignTo="#{thisTab}"/> </rich:tab>
Tab itself is a source of action events so that should work. -
2. Re: set value by event ontabenter (like actionparam)
nimo22 Nov 18, 2008 6:31 AM (in response to nimo22)hey thanks, that works!!
As I need to catch a special event, I use this version, it also works:
I use this:<rich:tabPanel switchType="ajax" selectedTab="#{thisTab}"> <rich:tab id="tab2" name="Tab2"> Some text <a4j:support event="onlabelclick"> <a4j:actionparam name="setTab" value="tab2" assignTo="#{thisTab}"/> </a4j:support> </rich:tab> </rich:tabPanel>
thanks!