On Mon, 07 Jul 2014 05:58:30 -0300, squallmat . <squall...@gmail.com> wrote:

I have two t:form embedded components defined in my java class with the
good ids.

What do you mean by good ids?

When I tried to launch that I got this message error :
"Embedded component(s) sendFilesClientForm, sendFilesCollaboratorForm are
defined within component class atos.smt.livraison.pages.EnvoiFichiers (or a super-class of EnvoiFichiers), but are not present in the component
template (classpath:atos/smt/livraison/pages/EnvoiFichiers.tml)."

You cannot inject a component declared in a template which isn't its own, even if this template is the one from a superclass. In other words, page or class Example can only @InjectComponent components declared inside its corresponding template (Example.tml).

So it seems that embedded components search for the corresponding template definition after rendering preparation,

That's 100% incorrect. Tapestry templates have a strictly static structure. Only rendering is dynamic.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.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