Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-917

t:columns example is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
    • 1.1.7
    • Columns
    • None

    Description

      <t:datatable value="#

      {rows}" var="row">
      <t:columns value="#{cols}" var="column">
      <f:facet name="header" value="#{column.name}"/>
      <h:outputText value="#{row.columnValue}"/>
      </t:columns>
      </t:datatable>

      should be

      <t:dataTable value="#{rows}

      " var="row">
      <t:columns value="#

      {cols}

      " var="column">
      <f:facet name="header">
      <h:outputText value="#

      {column.name}

      "/>
      </f:facet>
      <h:outputText value="#

      {row.columnValue}

      "/>
      </t:columns>
      </t:dataTable >

      dataTable spelled wrong. facet doesn't have value attribute.

      Attachments

        Activity

          People

            mkienenb Mike Kienenberger
            mkienenb Mike Kienenberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: