On Mon, 08 Nov 2010 10:19:09 -0200, Anton Mezerny <anton.meze...@gmail.com> wrote:

Didn't understand how it works. Does Tapestry make assignment from
defaultBeanBlockSource to beanBlockSource field (which is annotated with
@Parameter) if it is empty?

Tapestry will invoke the defaultBeanBlockSource() and use the return value as the initial one for the beanBlockSource parameter if it wasn't bound or null was passed to it.

There is no any usages of defaultBeanBlockSource
or getDefaultBeanBlockSource in component code. This implicit logic is very unusual for me.

Tapestry and Tapestry-IoC have a lot of implicit logic, also known as convention over configuration.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to