tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Zeigler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-103) provide access to component parameters from within mixins
Date Mon, 06 Jul 2009 17:17:14 GMT

    [ https://issues.apache.org/jira/browse/TAP5-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727625#action_12727625
] 

Robert Zeigler commented on TAP5-103:
-------------------------------------

That's only true if the user provides an explicit binding. Often, the user will rely on component-provided
defaults, and a mixin may want to alter those defaults, or at least have clean access to the
values.  

> provide access to component parameters from within mixins
> ---------------------------------------------------------
>
>                 Key: TAP5-103
>                 URL: https://issues.apache.org/jira/browse/TAP5-103
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Kristian Marinkovic
>
> A mixin can't access the parameters of a component because the Bindings property of the
InternalComponentResourcesImpl class is private and the respective interface does not provide
a access method. 
> I was trying to create a mixin that would render only the value of a form element  (without
the tags) when it was in a certain state. There also might be use cases where mixins are used
to collect data from the components they are attached and therefore also needs access to the
components parameters.
> see threads:
> http://www.nabble.com/Antwort%3A--T5--how-to-read-the-value-of-a-component-parameter-within-a-mixin-tf4487995.html
> http://www.nabble.com/-T5--how-to-read-the-value-of-a-component-parameter-within-a-mixin-tf4487597.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message