2 Replies Latest reply on Nov 16, 2011 7:49 AM by hhb97b

    Tabpanel and bypassUpdates

    hhb97b Newbie

      Hi

       

      I having troubles with the tabpanel. When I change tab the email is updated. I want to prevent this from happening. I have set bypassUpdates to true and immediate to false, but my email is still updated. How can this be?

       

      Here is my code

       

      <h:form id="pageForm">

                  <rich:tabPanel     switchType="ajax"

                                  id="tp"

                                  headerPosition="top"

                                  headerLocation="center"

                                  itemChangeListener="#{frontpageController.onChange}">

                          <rich:tab header="First" name="first"  bypassUpdates="true" immediate="false">

                              <h:inputText value="#{voicemailBean.info.emailAddress}"></h:inputText>

                          </rich:tab>

                          <rich:tab header="Second" name="Second" bypassUpdates="true" immediate="false">

                              <h:inputText value="#{voicemailBean.info.emailAddress}"></h:inputText>

                          </rich:tab>

                  </rich:tabPanel>

      </h:form>

       

      Thx in advanced