[richfaces-issues] [JBoss JIRA] Commented: (RF-10545) rich:column ignores style attribute
Marc-Christian Schroeer (JIRA)
jira-events at lists.jboss.org
Thu Feb 17 09:37:13 EST 2011
[ https://issues.jboss.org/browse/RF-10545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583012#comment-12583012 ]
Marc-Christian Schroeer commented on RF-10545:
----------------------------------------------
Nick,
unfortunately the background-color attribute is dynamically generated from entries in a database. Therefore using css classes is not an option. For now I will use <span>-tags within the cells to get the desired effect. Using inline styles on a per cell basis would look nicer, but I really want to switch from PrimeFaces to RichFaces, so if this feature does not fit into the release plan, I will use this workaround.
Continue the great work,
Marc
> rich:column ignores style attribute
> -----------------------------------
>
> Key: RF-10545
> URL: https://issues.jboss.org/browse/RF-10545
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.0.0.Milestone6
> Environment: Tomcat 7.0.6, MyFaces 2.0.4, RichFaces 4.0.0-SNAPSHOT
> Reporter: Marc-Christian Schroeer
> Assignee: Nick Belaevski
> Fix For: 4.Next
>
>
> The "style"-attribute is ignored on rich:column tags.
> For example:
> <rich:column style="background-color: #{courseRegistration.course.displayColor}; color: #{pms:isUseWhite(courseRegistration.course) ? 'white' : 'black'};" styleClass="talign">
> ...
> </rich:column>
> does not apply the styles to the cell.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list