I think you are asking two different things.

You can  use the PropertyConduit service to create PropertyConduit
instances; these allow you to dynamically read and update an
expression on any object; it doesn't even have to be a component.

So propertyConduitSource.create(foo.getClass(), "stuff").set(foo,
"mojo") will create a PC for the "stuff" property and update it.

On Tue, Jan 27, 2009 at 4:15 PM, manuel aldana <ald...@gmx.de> wrote:
> hi,
>
> @Property is used, so setters/getters are generated in runtime. As an
> example take PageLink, it is usually set through .tml file (with
> t:page="xxx"). How is it possible to set @Property fields programmatically
> in a consise and short way?
>
> Or is it always better to use .tml templates for setting @Property fields?
>
> --
> manuel aldana
> ald...@gmx.de
> software-engineering blog: http://www.aldana-online.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to