[
http://issues.apache.org/jira/browse/TOMAHAWK-523?page=comments#action_12423634
]
Ronald Müller commented on TOMAHAWK-523:
----------------------------------------
hi,
i got the same trouble, but without facelets!
i think its not related to facelets.
the behavior is much the same as described by Jason.
here are the facts :
-static values ends up in no attribute to <tr>
rowStyleClass="row0" --> <tr>
-dynamic values with EL-expression ends up in an empty attribute to <tr>
rowStyleClass="#{(index%2==0)?'row0':'row1'" --> <tr style="">
-multiple values (seperated by comma) behave like static (nothing)
rowStyleClass="row0, row1" --> <tr>
all the other attributes are working well.
as a workaround downgrade to myfaces-1.1.1 and use EL-expressions:
rowStyleClass="#{(index%2==0)?'row0':'row1'"
for me this works with 1.1.1. the static variants doesn't work as well !
regards
ronald
> rowStyleClass does not resolve to an EL of var
> ----------------------------------------------
>
> Key: TOMAHAWK-523
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-523
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended Datatable
> Affects Versions: 1.1.4-SNAPSHOT
> Environment: Tomcat, Facelets
> Reporter: James McCarthy
>
> The rowStyleClass does not resolve when the rowStyleClass references an EL
> item identified by var. var="item" rowStyleClass="#{item.status}".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira