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

Henning Noeth commented on TOBAGO-1748:
---------------------------------------

The solution of this task is:
The rendered attribute is implemented. But also 'rendered' is set deprecated.

Instead of using the rendered attribute write:
{code}<tc:style customClass="#{bean.show ? 'YOURCLASS' : '' }"{code}

Or use the rendered attribute of the parent:
{code}<tc:link label="Link" rendered="#{bean.show}">
  <tc:style customClass="YOURCLASS"/>
</tc:link>
<tc:link label="Link" rendered="#{!bean.show}"/>{code}

> Implement rendered attribute for <tc:style>
> -------------------------------------------
>
>                 Key: TOBAGO-1748
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1748
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.4
>            Reporter: Henning Noeth
>            Assignee: Henning Noeth
>
> {code}<tc:link label="Link" ...>
>   <tc:style height="200px" rendered="#{controller.renderStyle}"/>
> </tc:link>{code}
> The rendered attribute of tc:style has no effect.



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

Reply via email to