[ 
http://issues.apache.org/jira/browse/TOMAHAWK-523?page=comments#action_12425515 
] 
            
Mike Kienenberger commented on TOMAHAWK-523:
--------------------------------------------

> you' re mike. but the itention of this bug-report is to discuss and determine 
> that 
> 1.) it is is definitly a bug (no misconfiguration or something like that)

Yes, I'd say it's a bug.

> 2.) speeding up finding this bug (appropriate classes, ...) with some 
> (little) input from one of the developers 

Set a breakpoint on the code in UIComponent (and also in the JSP tag if you're 
not using facelets) that sets generic attributes on components.

Set a breakpoint on the code in the html renderer for the dataTable that reads 
the generic attribute and generates styling html attributes.

Trace through and see where it loses or corrupts the value.


Alternately, write concrete attributes on the Html subclass of dataTable 
(instance variable, getters and setters for the component and jsp tag) for 
rowStyleClass and replace the generic attribute references with this instead.

This needs to be done eventually anyway to provide transparent facelets support 
and to match up with best JSF design practices.


> 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

        

Reply via email to