This content has been marked as final.
Show 1 reply
-
1. Re: rich:tabPanel or rich:tab
sivaprasad9394 Oct 14, 2014 3:38 AM (in response to jadeite100)Hello Smith,
Based on the action you perform you can use the rendered and disabled attributes for show hide tab.
1.When you are doing some action event or action Listener change the variable value to true in the backing bean.
ex:
#{YourBean.ShowHideVariable}
Initally the variable name called "ShowHideVariable" should be false in the backing bean or in your JPA class.
2.If you use action Listener it will return the action to the same page with ShowHideVariable = true.
3.Now the tab need to be rendered and displayed or enabled in the page.
or
add some css class for hide and show of the specific tab.