[richfaces-issues] [JBoss JIRA] Created: (RF-6690) columnGroup: "rowClasses" attribute dowsn't work with several css classes.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Fri Apr 3 08:42:43 EDT 2009


columnGroup: "rowClasses" attribute dowsn't work with several css classes.
--------------------------------------------------------------------------

                 Key: RF-6690
                 URL: https://jira.jboss.org/jira/browse/RF-6690
             Project: RichFaces
          Issue Type: Bug
         Environment: IE6, IE7, IE8, FF2, FF3.0.7, Safari 3.1, Opera 9.62, Chrome 1.0.154.43(3.3.1.BETA2)
            Reporter: Mikhail Vitenkov
            Assignee: Nick Belaevski
            Priority: Minor


#1. Add rich:columnGroup:
<h:form>
		<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="#{columnGroup.rows}"
			id="capTable" reRender="ds">
			<f:facet name="header">
				<h:outputText value="States" />
			</f:facet>
			<rich:column colspan="3">
				<f:facet name="header">State Flag</f:facet>
				<h:graphicImage value="#{cap.stateFlag}" />
			</rich:column>
			<rich:columnGroup id="columnGroupID" 
			rowClasses="row1,row2">
				<rich:column>
					<h:outputText value="#{cap.state}" />
				</rich:column>
				<rich:column>
					<h:outputText value="#{cap.name}" />
				</rich:column>
				<rich:column>
					<h:outputText value="#{cap.timeZone}" />
				</rich:column>
			</rich:columnGroup>
			<f:facet name="footer">
				<rich:datascroller id="ds" renderIfSinglePage="false"></rich:datascroller>
			</f:facet>
		</rich:dataTable>
	</h:form>
#2. Define classes following way:
<style type="text/css">
.row1{background-color: #bde6bf;}
.row2{background-color: #e6bde3;}
</style>
#3. Navigate to the tested page.
#4. Verify row style displaying.

Actual behavior:
Only the 1st style class is applied for all rows in rich:columnGroup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list