1 Reply Latest reply on Nov 24, 2011 3:23 AM by schmu

    rich:tabPanel inside rich:dataGrid problem

    schmu

      Hello together

       

      I'm trying to simply insert a rich:tabPanel into a rich:dataGrid. If the switchType of the tabPanel is client, everything is working without problems. But when I switch it to switchType="ajax" then the tabs cannot be changed anymore.

      So, with the following code the tabs cannot be switched:

       

           <rich:dataGrid id="testTabPanel"

                value="#{form.getValues()}"

                var="var"

                columns="1"

                rowKeyVar="key">

                  <rich:tabPanel id="#{key}_tabPanel" switchType="ajax">

                      <rich:tab label="TAB1" id="#{key}_tabPanel_1">

                          Tab 1

                      </rich:tab>

                      <rich:tab label="TAB2" id="#{key}_tabPanel_2">

                          Tab 2

                      </rich:tab>

                      <rich:tab label="TAB3" id="#{key}_tabPanel_3">

                          Tab 3

                      </rich:tab>

                  </rich:tabPanel>

              </rich:dataGrid>

       

      The "TAB1" always will be shown. I already created dynamic IDs for every tab and stuff but it's still not working for me

       

      Does anybody already had this or a similar problem? And how could I solve it??

       

      Thanks in advance,

      Schmu