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 (Commented) (JIRA)" <ji...@apache.org> on 2011/10/03 20:19:35 UTC

[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

    [ 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