You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2012/09/10 15:48:07 UTC

[jira] [Resolved] (TOBAGO-1194) The component tc:attribute with mode="valueIsSet" doesn't work for facelet tags, some cases.

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

Udo Schnurpfeil resolved TOBAGO-1194.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0
                   1.5.8
                   1.6.0-beta-3
    
> The component tc:attribute with mode="valueIsSet" doesn't work for facelet tags, some cases.
> --------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1194
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1194
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.5.7
>            Reporter: Andreas Precht
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.6.0-beta-3, 1.5.8, 1.6.0
>
>
> Example:
> Having a facelets tag: popup.xhtml in a lib named "x"
>      <tc:popup>
>         <tc:attribute name="modal" value="${modal}" mode="valueIfSet"/>
>       </tc:popup>
> Using this tag like this works:
>       <x:popup modal="#{bean.modal}"/>
> Problem 1: This will not be evaluated correctly:
>       <x:popup modal="#{false}"/>
> Problem 2: This also doesn't work (Error: Could not set property modal of component j_id146 to value : false with type : java.lang.String):
>       <x:popup modal="false"/>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira