You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Created) (JIRA)" <ji...@apache.org> on 2011/10/03 17:45:35 UTC

[jira] [Created] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
----------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-1680
                 URL: https://issues.apache.org/jira/browse/TAP5-1680
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.3, 5.2
            Reporter: Howard M. Lewis Ship


<t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>

this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.

I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119464#comment-13119464 ] 

Howard M. Lewis Ship commented on TAP5-1680:
--------------------------------------------

Verified that the simple informal parameter gets ignored, and the mixin formal parameter takes over.
                
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Howard M. Lewis Ship (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-1680:
------------------------------------------

    Assignee: Howard M. Lewis Ship
    
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Howard M. Lewis Ship (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1680.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3
    
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>             Fix For: 5.3
>
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119720#comment-13119720 ] 

Hudson commented on TAP5-1680:
------------------------------

Integrated in tapestry-trunk-freestyle #558 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/558/])
    TAP5-1680: A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178584
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/ComponentAssemblerImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/EmbeddedComponentAssembler.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/EmbeddedComponentAssemblerImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/PageloadMessages.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/internal/pageload/PageloadStrings.properties
* /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/ParameterTests.groovy
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/mixins/AltTitle.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/MixinVsInformalParameter.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/MixinVsInformalParameter.tml

                
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119720#comment-13119720 ] 

Hudson commented on TAP5-1680:
------------------------------

Integrated in tapestry-trunk-freestyle #558 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/558/])
    TAP5-1680: A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178584
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/ComponentAssemblerImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/EmbeddedComponentAssembler.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/EmbeddedComponentAssemblerImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/pageload/PageloadMessages.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/internal/pageload/PageloadStrings.properties
* /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/ParameterTests.groovy
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/mixins/AltTitle.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/MixinVsInformalParameter.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/MixinVsInformalParameter.tml

                
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119464#comment-13119464 ] 

Howard M. Lewis Ship commented on TAP5-1680:
--------------------------------------------

Verified that the simple informal parameter gets ignored, and the mixin formal parameter takes over.
                
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Howard M. Lewis Ship (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1680.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3
    
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>             Fix For: 5.3
>
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TAP5-1680) A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component

Posted by "Howard M. Lewis Ship (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-1680:
------------------------------------------

    Assignee: Howard M. Lewis Ship
    
> A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1680
>                 URL: https://issues.apache.org/jira/browse/TAP5-1680
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: mixins, parameters
>
> <t:actionlink t:id="foo" title="Link Title" t:mixins="tapx/confirm" confirm.title="Oh really?"/>
> this will not work as expected (I need to experiment to see which version of title is bound to the mixin's parameter), but because title is not a formal parameter, there's no way to bind it on ActionLink in the presence of a mixin that has a formal paramater with this name.
> I suspect the solution will end up being actionlink.title="Link Title".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira