[ 
https://issues.apache.org/jira/browse/TOBAGO-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Udo Schnurpfeil resolved TOBAGO-1737.
-------------------------------------
    Resolution: Fixed

> Dynamic CSS in <tc:style> support inside of <tc:sheet> and <ui:repeat>
> ----------------------------------------------------------------------
>
>                 Key: TOBAGO-1737
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1737
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>             Fix For: 3.1.0
>
>
> Example:
> {code}
> <ui:repeat value="#{bean.entries}" var="entry">
>   <tc:panel>
>     <tc:style customClass="#{entry.author == request.remoteUser ? 'self' : 
> 'notself'}"/>
>   </tc:panel>
> </ui:repeat>
> {code}
> Currently the customClass will only evaluated one, so the style class would 
> be the same for all entries.
> The improvement would be, that the evaluation will be done for each 
> component, to give each component it individual style depending on its data.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to