-
1. Re: action never fires in rich:tab
iabughosh Sep 5, 2011 5:45 AM (in response to orkun)hello Ahmet,
I'm not sure if this is a bug or not, but there is a walkaround for this issue :
<a4j:jsFunction name="enter" action="#{myBean.action}" />
<rich:tabPanel switchType="ajax">
<rich:tab header="tab1" onenter="enter()">
</rich:tab>
<rich:tab header="tab2">
</rich:tab>
</rich:tabPanel>
regards.
-
2. Re: action never fires in rich:tab
ilya_shaikovsky Sep 5, 2011 1:42 PM (in response to orkun)I'm see the problem but not sure what is precise current plans for that. Initially we decided to make those functionality supported as tabs often used as just navigation components:
https://issues.jboss.org/browse/RF-10448
https://issues.jboss.org/browse/RF-10111
But seems last time guys thought about rejecting that functionality and leaving ony switching listeners available. https://issues.jboss.org/browse/RF-10972
So I do not think we should add some more items to jira (or them will just conflict one with the other). I will just point the guys to that thread in order to initiate one more discussion about that.
Please be patient - dev's will update the thread I beleive when will come to some conclusion.
-
3. Re: action never fires in rich:tab
lfryc Sep 7, 2011 4:20 AM (in response to ilya_shaikovsky)Hi guys,
I strictly agree with switchable panels used for navigation, thus having action and actionListeners.
https://issues.jboss.org/browse/RF-10972 seems it is just about hiding attributes which were not working.
I will move this thread to development space and add this issues on the agenda of today's RichFaces Team Meeting [1].
[1] http://community.jboss.org/wiki/RichFacesTeamMeetingAgenda9-7-2011
-
4. Re: action never fires in rich:tab
pankaj_jboss Dec 26, 2011 11:26 PM (in response to lfryc)action and actionListener never fire then whats next option to fire bean/handler method?
-
5. Re: action never fires in rich:tab
jlpktnst Jan 22, 2012 10:56 AM (in response to orkun)Well, please do remove the action attribute then. Though its a shame, nice feature.
I tried using tabPanel and including entire pages in tabs. Sadly that doesn't really work properly all the time.
So I started thinking of using the tabpanel for navigation. But now I find out that this even doesn't work properly... I will try this a4j:function workaround. I guess that should work.
-
6. Re: action never fires in rich:tab
lfryc Jan 23, 2012 6:12 AM (in response to jlpktnst)Hi Neikius,
the issue is tracked here: https://issues.jboss.org/browse/RF-11417
and you can vote on that in to increase priority.
-
7. Re: action never fires in rich:tab
jlpktnst Jan 23, 2012 7:52 AM (in response to lfryc)Wow, just noticed there is a working SSO... damn me for not noticing it before (and hence not participating in jira stuff).
Though it is a bit late for me and my project.I will have to make a workaround and not use tabpanel at all. Nontheless I think this worked in 3.x (from forum posts) and would be a useful feature indeed still. Especially since including tons of content in tabPanel is unhealthy.
Thanks for pointing out the correct course of action.