4 Replies Latest reply on Mar 15, 2013 4:12 AM by semubiz

    problem with extendedDataTable in TabPanel

    Tao Liu Newbie

      Problem with extendedDataTable in tabPanel, it shows no table in the page, but html code was generated,

       

       

      <h:form prependId="false">
                              <rich:tabPanel switchType="client">
                                  <rich:tab header="Tab1">
                                      <rich:extendedDataTable value="#{myRichBean.mydata}" var="data">
                                          <rich:column>
                                              <f:facet name="header">
                                                  column
                                              </f:facet>
                                          </rich:column>
                                          <rich:column>
                                              <f:facet name="header">
                                                  column2
                                              </f:facet>
                                              <a4j:commandLink value="#{data.id}"/>
                                          </rich:column>
                                          <rich:column>
                                              <f:facet name="header">
                                                  column2
                                              </f:facet>
                                              <h:outputText value="#{data.name}"/>
                                          </rich:column>
                                          <rich:column>
                                              <f:facet name="header">
                                                  column2
                                              </f:facet>
                                              <h:outputText value="#{data.value}"/>
                                          </rich:column>
                                      </rich:extendedDataTable>
                                  </rich:tab>
                                  <rich:tab header="Tab2">
                                      <rich:extendedDataTable id="bills" value="#{myRichBean.anotherMydata}" var="bill">
                                          <rich:column>
                                              <f:facet name="header">
                                                  column3
                                              </f:facet>
                                              <h:outputText value="#{bill.id}"/>
                                          </rich:column>
                                          <rich:column>
                                              <f:facet name="header">
                                                  column3
                                              </f:facet>
                                              <h:outputText value="#{bill.name}"/>
                                          </rich:column>
                                          <rich:column>
                                              <f:facet name="header">
                                                  column3
                                              </f:facet>
                                              <h:outputText value="#{bill.value}"/>
                                          </rich:column>
                                      </rich:extendedDataTable>
                                  </rich:tab>
                              </rich:tabPanel>
                          </h:form>
      

       

      richfaces version: richfaces-4.1.0 M2

       

      here is the screensnap: