0 Replies Latest reply on Jun 25, 2008 9:47 AM by mo bo

    [rich:scrollableDataTable] renders the columns twice?!

    mo bo Newbie

      Hi there,

      i´ve got a problem with the scrollableDT . Since i added Facelets to my project i got the columns in my table twice with the same content when its rendered.

      before facelets, i´ve got the same problem but in another context.

      after showing a searchresult and going back in browser an searching with the same creterias the problem occurs again.

      <rich:scrollableDataTable selection="#{personSearch.selection}"
       height="350px" width="500px" id="result"
       var="person" value="#{personSearch.result}"
       binding="#{personSearch.table}"
       >
      
       <rich:column id="salutation">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Anrede" />
       </f:facet>
       <h:outputText style="padding-left:5px"
       value="#{person.salutation}" />
       </rich:column>
       <rich:column id="givenname">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Vorname" />
       </f:facet>
       <h:outputText style="padding-left:5px"
       value=" #{person.givenName}" />
       </rich:column>
       <rich:column id="famname">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Nachname" />
       </f:facet>
       <h:outputText style="padding-left:5px"
       value="#{person.familyName}" />
       </rich:column>
       <rich:column id="birthday">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Geburtstag" />
       </f:facet>
       <h:outputText style="padding-left:5px"
       value="#{person.dateOfBirth}" />
       </rich:column>
       </rich:scrollableDataTable>


      any ideas?