Here's a puzzler...

I've extended AbstractTextField and I want to set the translate
@Parameter from within my subclass. Given this parameter is private in
the superclass, how may I do it?

I went as far as making a mixin to set a bound translate parameter on
setupRender, e.g.

    @BindParameter
    private FieldTranslator<Object> translate;

But that gave this error:

    Failure writing parameter 'translate' of component
    Binding InvariantBinding[default translator, parameter value is read-only.

Due to the defaultTranslate in AbstractTextField being a Binding.

    final Binding defaultTranslate() {...}

Anyone any ideas?

Steve.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to