-
1. Re: oncomplete event doesn't working with richfaces 4.3.1
ppitonak Mar 13, 2013 5:42 AM (in response to shimonl)Hi,
there is no component named tabPanelItem, did you mean tab? I tried it in 4.3.1.Final and oncomplete really doesn't work in rich:tab. Can you work around by using onenter/onleave? I reported the issue in https://issues.jboss.org/browse/RF-12839.
Regards,
Palo
-
2. Re: oncomplete event doesn't working with richfaces 4.3.1
shimonl Mar 13, 2013 6:12 AM (in response to ppitonak)Sorry it was rich:tab
I tried your workaround and is not working. does oncomplete work on 4.3.0?
-
3. Re: oncomplete event doesn't working with richfaces 4.3.1
ppitonak Mar 13, 2013 7:46 AM (in response to shimonl)Hi,
as I commented in RF-12839, oncomplete should be probably hidden in rich:tab because it doesn't make sense in most use-cases. Could you please describe your use-case and explain why onenter/onleave doesn't work for you?
-
4. Re: oncomplete event doesn't working with richfaces 4.3.1
shimonl Mar 14, 2013 6:17 AM (in response to ppitonak)Hi
We are using one tab in tab panel as a dummy tab thats open a modal view instead of the real tab. In this case onComplete moves the tabPanel to the first tab.
The user does not leave the tab but gets a modal form. So onleave will not work for us.
This is the oncomplete action: oncomplete="#{rich:component('orderTabs')}.switchToItem(#{rich:component('orderTabs')}.firstItem())".
Thanks,
Shimon