[
https://issues.apache.org/jira/browse/TAPESTRY-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568265#action_12568265
]
Kevin Menard commented on TAPESTRY-1764:
----------------------------------------
Aforementioned thread: http://markmail.org/message/5gax6ms2tx5o3jbh
For the time being, I've got a binding that does what I immediately need. I
think letting mixins act as filters as described though could be a very
powerful mechanism. I'm even envisioning a follow-up to expansions that would
make use of this, like so:
${someVar|newlines:mode=para|capitalize|truncate:max=400}
Obviously, another issue for another day and syntax subject to change. I'm
just trying to further define what I'd like to do.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]