-
1. Re: Richfaces 4.2.2 Final <rich:tab> issue...
ppitonak Oct 9, 2013 4:22 AM (in response to javacoryd)Hi,
attributes action and actionListener in rich:tab don't work. See issue [RF-11427] rich:tab - actionListener - JBoss Issue Tracker. At the moment, it's not scheduled to be fixed in near future. Please have a look on it if it's the same problem that you have.
Regards,
Pavol
-
2. Re: Richfaces 4.2.2 Final <rich:tab> issue...
bleathem Oct 9, 2013 2:38 PM (in response to ppitonak)The related issue [RF-11417] Tab: investigate why @action does not work - JBoss Issue Tracker has > 10 votes. I'll schedule this to be addressed in an upcoming sprint.
-
3. Re: Richfaces 4.2.2 Final <rich:tab> issue...
javacoryd Oct 9, 2013 3:13 PM (in response to javacoryd)Hey thanks for the replies.
I actually found a workaround for this ( we use Richfaces/A4j integrated with Seam 2.3 ). This workaround works fine for us.
Create one of these for each tab. For example:
<a4j:jsFunction name="tabOneSwitch" action="#{myAction.switch('ZZZ')}" execute="@this" render="myForm"/>
<a4j:jsFunction name="tabTwoSwitch" action="#{myAction.switch('RRR')}" execute="@this" render="myForm"/>
<a4j:jsFunction name="tabThreeSwitch" action="#{myAction.switch('MMM')}" execute="@this" render="myForm"/>
For each tab do this for example:
<rich:tab onheaderclick="tabOneSwitch();" ... />
<rich:tab onheaderclick="tabTwoSwitch();" ... />
....
Cory.
-
4. Re: Richfaces 4.2.2 Final <rich:tab> issue...
bleathem Oct 9, 2013 6:33 PM (in response to javacoryd)Thanks for sharing your workaround. The a4j:jsFunction is a great component to have around to wedge in ajax integrations where they are otherwise not found!