With a read-only binding, there is simply no place to put an updated value.

You may need to rethink how your component and mixins interoperate.

Perhaps the component sets a read/write property from a (read-only)
parameter and the mixin is bound to that property, not the parameter itself.

On Wed, Mar 13, 2013 at 8:48 AM, Steve Eynon <steve.ey...@alienfactory.co.uk
> wrote:

> There is no way that I found.  :(
>
>
> On 13 March 2013 16:52, Lance Java <lance.j...@googlemail.com> wrote:
> > In a mixin, I can change the value of a component parameter using
> > @BindParameter to get a mirror of the parameter and then updating the
> > mirrored value.
> >
> > This is fine with the prop: and var: bindings since they are read/write
> > bindings. If I try this with a parameter which is bound to symbol: or
> > literal: the update fails with "Binding %s is read-only" (originating
> from
> > AbstractBinding).
> >
> > Is there any way that I can change a component parameter that is bound to
> > literal: or symbol: from a mixin?
> >
> >
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/Read-only-bindings-How-do-I-set-their-value-from-a-mixin-tp5720446.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to