You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2017/05/04 16:49:04 UTC

[jira] [Commented] (TOBAGO-1737) Dynamic CSS in support inside of and

    [ https://issues.apache.org/jira/browse/TOBAGO-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997055#comment-15997055 ] 

Hudson commented on TOBAGO-1737:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #876 (See [https://builds.apache.org/job/Tobago%20Trunk/876/])
TOBAGO-1737: Dynamic CSS in <tc:style> support inside of <tc:sheet> and <ui:repeat>
fix null handling (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1793828])
* (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/CustomClass.java
* (edit) tobago-trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/renderkit/css/CustomClassUnitTest.java


> 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)