[richfaces-issues] [JBoss JIRA] Created: (RF-5636) dataTable: rowClasses evaluated wrong.

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Sat Jan 10 07:19:04 EST 2009


dataTable: rowClasses evaluated wrong.
--------------------------------------

                 Key: RF-5636
                 URL: https://jira.jboss.org/jira/browse/RF-5636
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski
         Attachments: screen1.jpg, screen2.jpg

see difference for screenshots.
screen 1) 
		<rich:dataTable width="483" id="carList" rows="10" columnClasses="col" rowClasses="#{category.price>40000?'exp':'chip'}"
			value="#{dataTableScrollerBean.allCars}" var="category">

			<h:column>
				<h:outputText value="#{category.make}" />
			</h:column>
			<h:column>
				<h:outputText value="#{category.model}" />
			</h:column>
			<h:column>
				<h:outputText value="#{category.price}" />
			</h:column>
			<h:column>
				<h:outputText value="#{category.mileage}" />
			</h:column>



		</rich:dataTable>

screen 2)
		<h:dataTable width="483" id="carList" rows="10" columnClasses="col" rowClasses="#{category.price>40000?'exp':'chip'}"
			value="#{dataTableScrollerBean.allCars}" var="category">

			<h:column>
				<h:outputText value="#{category.make}" />
			</h:column>
			<h:column>
				<h:outputText value="#{category.model}" />
			</h:column>
			<h:column>
				<h:outputText value="#{category.price}" />
			</h:column>
			<h:column>
				<h:outputText value="#{category.mileage}" />
			</h:column>



		</h:dataTable>

-- 
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