You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dan Adams <da...@ifactory.com> on 2005/09/20 23:29:01 UTC

@Bean initializers

Is there any way of initializing bean properties with something
non-trivial (such as an object from the calling class or something)?

-- 
Dan Adams
Software Engineer
Interactive Factory


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


Re: Bean initializers

Posted by Kent Tong <ke...@cpttm.org.mo>.
Dan Adams <dan <at> ifactory.com> writes:

> 
> Is there any way of initializing bean properties with something
> non-trivial (such as an object from the calling class or something)?
 
You can't do that with annotations. Use <bean> and <set> instead in 
your .page file.

--
Author of a book for learning Tapestry (www.agileskills2.org/EWDT)


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