On Wed, 14 Sep 2011 17:53:38 -0300, Josh Canfield <joshcanfi...@gmail.com>
wrote:
Hey Thiago.
Hi, Josh!
You can't use @Component and declare the component in the template at
the> same time. One or other, not both.
I don't understand what you mean by this. You have to have the
component in the template, you can leave off the t:type though.
Well, I should have said that you shouldn't use @Component and component
definition parameters for *the same component instance at the same time*
instead of you can't. If you use @Component, you're at least supposed to
define the component type and parameters in the annotation itself, leaving
just the t:id in the template. Defining parameters for the same component
instance in two different places is a recipe for confusion.
--
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