1 Reply Latest reply on Sep 7, 2011 4:41 PM by monrealis

    tabPanel: setting immediate=true breaks commandButton inside


      Hi All,

      I am setting the immediate attribute of tabPanel to true because I want to be able to change tabs without invoking the validation phase. I notice that when I do that the commandButtons that I have inside the tabs stop working. For example:

      Given the following tabPanel

      <rich:tabPanel switchType="ajax" immediate="true">
       <rich:tab name="tab1" label="Tab 1">
       <h:commandButton action="#{myBean.sayHello}" value="Submit" />

      And the Bean :
      public class MyBean {
       public String sayHello(){
       return null;

      The sayHello method is not called unless I remove the immediate attribute of the tabPanel.

      I may be misinterpreting the semantics of the immediate attribute, so I am not sure if this is the expected behavior or if it is a little bug :)