On 7 Jul 2014, at 11:01 pm, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote:
> On Mon, 07 Jul 2014 09:41:35 -0300, squallmat . <squall...@gmail.com> wrote: > >> here's my code to be more clear : >> >> In EnvoiFichiers.java : >> ..... >> // Client sending files form >> @Component(id = "sendFilesClientForm") >> private Form formClient; > > If you use @Component, you're declaring the component in the class, not in > the template. If you want to just inject the component, you should use > @InjectComponent instead. Otherwise, you should remove the parameters from > the template and pass them using the @Component annotation. From your > template, it seems you should be using @InjectComponent. Good point Thiago. @Component works, but it's not really the right annotation to use if you're not actually declaring the component . I'll have to fix that in the JumpStart examples where this misuse has crept in over time. Geoff