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

[jira] [Created] (TOBAGO-1194) The component tc:attribute with mode valueIsSet don't work with boolean as String or EL.

Andreas Precht created TOBAGO-1194:
--------------------------------------

             Summary: The component tc:attribute with mode valueIsSet don't work with boolean as String or EL.
                 Key: TOBAGO-1194
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1194
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.5.7
            Reporter: Andreas Precht




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

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

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ 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

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

Posted by "Hudson (JIRA)" <de...@myfaces.apache.org>.
    [ 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

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

Posted by "Hudson (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450791#comment-13450791 ] 

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

Integrated in tobago-trunk #873 (See [https://builds.apache.org/job/tobago-trunk/873/])
    TOBAGO-1194: The component tc:attribute with mode="valueIsSet" doesn't work for facelet tags, some cases. (Revision 1382082)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1382082
Files : 
* /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

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

Posted by "Hudson (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451957#comment-13451957 ] 

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

Integrated in tobago-1.5.x #87 (See [https://builds.apache.org/job/tobago-1.5.x/87/])
    TOBAGO-1194: The component tc:attribute with mode="valueIsSet" doesn't work for facelet tags, some cases. 
 (manually merged from trunk) (Revision 1382759)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1382759
Files : 
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/PopupModalAttribute.java
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/resources/META-INF
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/resources/META-INF/popup.xhtml
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/resources/META-INF/tobago-example-test.taglib.xml
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/attribute/popup-modal.selenium.html
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/attribute/popup-modal.xhtml
* /myfaces/tobago/branches/tobago-1.5.x/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

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

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451885#comment-13451885 ] 

Udo Schnurpfeil commented on TOBAGO-1194:
-----------------------------------------

Example: http://localhost:8080/faces/test/attribute/popup-modal.xhtml
                
> 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