You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Nick Westgate (JIRA)" <de...@tapestry.apache.org> on 2007/09/21 09:37:50 UTC

[jira] Commented: (TAPESTRY-1764) provide access to component parameters from within mixins

    [ https://issues.apache.org/jira/browse/TAPESTRY-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529328 ] 

Nick Westgate commented on TAPESTRY-1764:
-----------------------------------------

It would be nice if the core component library could be made more malleable in this way (and in general).
With parameters etc declared private and no accessors it's very hard to modify their behaviour, e.g. with mixins.

Cheers,
Nick.

> provide access to component parameters from within mixins
> ---------------------------------------------------------
>
>                 Key: TAPESTRY-1764
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1764
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.6
>            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.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org