Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Sample for tav navigation
posted

 Hi there

 

I am trying to have a tab view to represent an object (so that I group related information in appropriate tabs). Where I have the problem is in navigating from one tab to another as a response to form submit (or any eve.

But as I cannot bind a tabItem tag to a TabItem object I am not sure how to get a handle to the tabitems in the controller bean. 

Is there any code sample for that or any idea?

 

Many thanks in advance

shai 

 

 

Parents
  • 145
    posted

     One option that works for me is with boolean parameters in the tabItem tags like:

     

    <ig:tabItem value="Basic Details" id="basic_details_TabItem"  selected="#{myBean.detailsSelected}" disabled="#{myBean.detailsDisabled}"> 

     

    but as there are about 5 steps I am interested to see a more elegant solution than setting 10 booleans in every listener method.

     

    Thanks again 

    Shai 


Reply Children