Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13259

DataTable rowClasses with columnGroup is not rendered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.3.0.Final, 5.0.0.Alpha1
    • Fix Version/s: 4.5.11
    • Component/s: component
    • Environment:

      java 6, java 7,
      all browsers
      JBoss AS 7.1.1.Final

    • Workaround Description:
      Hide
      1. Simulate <r:columnGroup> behavior with r:column attribute breakRowBefore set to true
      2. in the reported code it would look like:
        <rich:dataTable id="postsList" value="#{topic.threadsDataModel}" rowClasses="oddRow,noStyle">
        	 <rich:column styleClass="forumpostleftcolumn">...</rich:column>
        	 <rich:column>...</rich:column>
        	 <rich:column styleClass="forumpostleftcolumn" breakRowBefore="true">...</rich:column>
        	 <rich:column">...</rich:column>
        </rich:dataTable>
        
      Show
      Simulate <r:columnGroup> behavior with r:column attribute breakRowBefore set to true in the reported code it would look like: <rich:dataTable id= "postsList" value= "#{topic.threadsDataModel}" rowClasses= "oddRow,noStyle" > <rich:column styleClass= "forumpostleftcolumn" > ... </rich:column> <rich:column> ... </rich:column> <rich:column styleClass= "forumpostleftcolumn" breakRowBefore= "true" > ... </rich:column> <rich:column"> ... </rich:column> </rich:dataTable>

      Description

      This is my page:

      <rich:dataTable id="postsList" value="#{topic.threadsDataModel}" rowClasses="oddRow,noStyle">
            <rich:columnGroup>
      	 <rich:column styleClass="forumpostleftcolumn">...</rich:column>
      	 <rich:column>...</rich:column>
            <rich:columnGroup>
            <rich:columnGroup>
      	 <rich:column styleClass="forumpostleftcolumn">...</rich:column>
      	 <rich:column">...</rich:column>
            <rich:columnGroup>
      </rich:dataTable>
      

      I expect that the styes oddRow and noStyle are rendered inside the rows but nothing happens. Seems that rowClasses attribute cannot be used with rich:columnGroup.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                sviluppatorefico Luca Stancapiano
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: