[
http://issues.apache.org/jira/browse/TOMAHAWK-523?page=comments#action_12427264
]
Ronald Müller commented on TOMAHAWK-523:
----------------------------------------
ok guys,
here are some results of my investigation so far :
the interface 'org.apache.myfaces.shared_tomahawk.renderkit.JSFAttr'
defines variables for some common tag-attributes as follows :
// UIData attributes
String ROWS_ATTR = "rows";
String VAR_ATTR = "var";
String FIRST_ATTR = "first";
// dataTable (extended) attributes
String ROW_ID = "org.apache.myfaces.dataTable.ROW_ID";
String ROW_STYLECLASS_ATTR =
"org.apache.myfaces.dataTable.ROW_STYLECLASS";
String ROW_STYLE_ATTR =
"org.apache.myfaces.dataTable.ROW_STYLE";
for some reason (i see no obvious), the attributes for row-style etc. are not
mapped to their real attributes (see 2nd section from above).
This causes ValueBinding-class getting troubles (maybe as is can't find
corresponding attributes in the component-class).
Consequently their exists no value-binding (is null) and so the attribute is
not rendered.
If remove using this Interfaces, using fixed values instead ("rowStyleClass")
everything works well and as expected !!
More on this topic - tomorrow.
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