1 Reply Latest reply on Jun 22, 2007 3:13 PM by jgilbert

    Facelets Templating not working with rich:dataTable

    jgilbert

      Has anyone seen this happen? Is it a bug? Is there a workaround?

      The important parts of my template are below. I am trying to insert the headers and columns, but they do not show up. I tried inserting content outside of the dataTable and it works properly.

      This also works properly when I use a regular h:dataTable.

      Any ideas?

      <ui:composition ...>
       <h:form>
       <rich:dataTable ...>
       <f:facet name="header">
       <rich:columnGroup>
       <ui:insert name="headers" />
       <h:column>
       <h:outputText value="#{msg.Action}" />
       </h:column>
       </rich:columnGroup>
       </f:facet>
      
       <ui:insert name="columns" />
      
       <h:column>
       <h:commandLink value="#{msg.View}" action="#{editor.view}">
       <f:param name="id" value="#{row.id}" />
       </h:commandLink>
       </h:column>
       </rich:dataTable>
       </h:form>
      </ui:composition>