Tuesday 29 November 2011

How to nest forms in Tabs if a Tab is conditionally disabled/rendered

If a tab is conditionally disabled or rendered then the solution proposed on PrimeFaces: How to nest a form in each Tab (hint: this is a lie) won't work. To be more concrete the following will not work:

  
    
      ...
    
    
       ... 
    
  

or

  
    
      ...
    
    
       ... 
    
  

Soluton

For the moment I have removed disabled/rendered on tabs (I have moved it in the nested h:PanelGrid and p:CommandButton) of the Tab and it seems to work... i.e. getObject() of the Converter is called!

Update on 15 Dec 2011:Should try with

No comments:

Post a Comment