Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.7
    • Component/s: Extended Datatable
    • Labels:
      None
    • Environment:
      Microsoft Windows XP Professional Version 2002 Service Pack 2, Microsoft Internet Explorer Version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519, IBM Rational Software Development Platform Version: 6.0.1 Build id: 20050725_1800, WebSphere Application Server v6.0

      Description

      I am using <t:dataTable> and I am using the attribute columnClasses. According to (http://myfaces.apache.org/tomahawk/tlddoc/t/dataTable.html) columnClasses - A comma separated list of CSS class names to apply to td elements in each column.

      But this does not happen, when I define the columnClasses styles to be applied in each column only the very first class is rendered for all columns.

      This is how I did it:
      <t:dataTable id="myDetailDataTable" var="row" value="#

      {myDetailList.rows}

      " cellspacing="0" columnClasses="columnClassLock,columnClassUnlock" headerClass="headerClassTopLock" rowClasses="rowOdd,rowEven" styleClass="dataTable">
      <t:columns value="#

      {myDetailList.columns}

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

      {currentColumn.name}

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

      {myDetailList.columnValue[currentColumn.name]} " style="#{myDetailList.columnValue[currentColumn.label]}" rendered="#{not myDetailList.columnValue[currentColumn.render]}" escape="false"/>
      <h:inputText value="#{myDetailList.columnValue[currentColumn.name]}

      " style="#

      {myDetailList.columnValue[currentColumn.label]}

      " rendered="#

      {myDetailList.columnValue [currentColumn.render]}

      " size="6" maxlength="15">
      <f:converter converterId="javax.faces.BigDecimal"/>
      </h:inputText>
      </t:columns>
      </t:dataTable>

        Activity

        Leonardo Uribe made changes -
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Fix Version/s 1.1.7 [ 12313398 ]
        Leonardo Uribe made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        David Brainard made changes -
        Attachment HtmlTableRenderer.patch [ 12368410 ]
        David Brainard made changes -
        Attachment HtmlTableRenderer.patch [ 12368408 ]
        David Brainard made changes -
        Attachment HtmlTableRenderer.patch [ 12368408 ]
        David Brainard made changes -
        Attachment 1.1.7 nightly snapshot.zip [ 12367721 ]
        David Brainard made changes -
        Attachment 1.1.6.zip [ 12367722 ]
        David Brainard made changes -
        Attachment 1.1.6.zip [ 12367722 ]
        David Brainard made changes -
        Attachment 1.1.7 nightly snapshot.zip [ 12367721 ]
        David Brainard made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        lea vogt created issue -

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            lea vogt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development