tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Programmatically adding a binding to a component?
Date Thu, 01 Sep 2005 20:26:14 GMT
It's just as well you can't; you don't want to be adding bindings
directly.  The various setter methods exist for the framework, you
should treat components as immutable. This is why its going to be good
for everyone to break the inheretance requirement ... the IComponent
that will be exposed to your peer code will be entirely immutable.

On 9/1/05, Chris Norris <CNorris@widen.com> wrote:
> Is there a way to add a binding to a component programmatically?  I see
> that there is a setBinding() method in AbsractComponent, but I can't
> really figure out how to manually construct an IBinding instance.

Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

View raw message