This content has been marked as final.
Show 3 replies
-
1. Re: Javascript to stop tab change in tab panel.
ilya_shaikovsky Dec 4, 2009 9:22 AM (in response to mohanrao_pusarla)<rich:tabPanel> <rich:tab label="First" ontableave="return false;">
works for me just fine. -
2. Re: Javascript to stop tab change in tab panel.
mohanrao_pusarla Dec 4, 2009 10:15 AM (in response to mohanrao_pusarla)Hi it worked. I have another problem after some user intervention again i have to switch to the tab on which he clicked previously.
Do you know any richfaces javascript method to handle this?
Thanks
Mohan. -
3. Re: Javascript to stop tab change in tab panel.
ilya_shaikovsky Dec 4, 2009 11:34 AM (in response to mohanrao_pusarla)Client side solution - It's not documented but check
RichFaces.switchTab = function(pane,tab,value)
funtcion.
Ajax based - use selectedTab attribute