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

Hudson commented on TOBAGO-1194:
--------------------------------

Integrated in tobago-trunk #874 (See 
[https://builds.apache.org/job/tobago-trunk/874/])
    TOBAGO-1194: The component tc:attribute with mode="valueIsSet" doesn't work 
for facelet tags, some cases.
 fixing case 2: string literal for boolean: e.g. modal="false" (Revision 
1382752)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1382752
Files : 
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/PopupModalAttribute.java
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/resources/META-INF
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/resources/META-INF/popup.xhtml
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/resources/META-INF/tobago-example-test.taglib.xml
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/attribute/popup-modal.selenium.html
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/attribute/popup-modal.xhtml
* 
/myfaces/tobago/trunk/tobago-extension/tobago-facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java

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

Reply via email to