Re: Doubts in Tapestry

2009-01-22 Thread Sid Ferreira
package fastSupport.data; public class AllertContext { @ApplicationState(create=false) private DataContext dataContext; private boolean dataContextExists; @ApplicationState protected Clientes cliente; private boolean clienteExists; @ApplicationState(create=false) private UsuariosClientes

Re: Doubts in Tapestry

2009-01-22 Thread Thiago H. de Paula Figueiredo
Em Thu, 22 Jan 2009 13:58:54 -0300, Sid Ferreira escreveu: Im sorry but, I readed twice today, more two or tree times before... I can't see a reason to not work. The key sentence is this: "Any other component or page that declares a field of the *same type*, regardless of name, and marks

Re: Doubts in Tapestry

2009-01-22 Thread Sid Ferreira
Im sorry but, I readed twice today, more two or tree times before... I can't see a reason to not work. On Thu, Jan 22, 2009 at 12:19 PM, Thiago HP wrote: > Read http://tapestry.apache.org/tapestry5/guide/appstate.html and you > find out what's wrong. :) > > On Thu, Jan 22, 2009 at 12:12 PM, Sid

Re: Doubts in Tapestry

2009-01-22 Thread Thiago HP
Read http://tapestry.apache.org/tapestry5/guide/appstate.html and you find out what's wrong. :) On Thu, Jan 22, 2009 at 12:12 PM, Sid Ferreira wrote: > Seen today your mail and followed your words. A lot of changes later I just > have an ASO problem... > My dispatcher > (http://wiki.apache.org/t

Re: Doubts in Tapestry

2009-01-22 Thread Sid Ferreira
Seen today your mail and followed your words. A lot of changes later I just have an ASO problem... My dispatcher (http://wiki.apache.org/tapestry/Tapestry5HowToControlAccessbased) sets the objects in ASM (this.asm.set() ) successfully. But my meta-class wich has @ApplicationState(create=false) to t

Re: Doubts in Tapestry

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 10:59:41 -0300, Sid Ferreira escreveu: 1) Create a MyContextService, wich has an ApplicationState object Tapestry-IoC services cannot use the @ApplicationState annotation. If they need to access ASOs, they need to use the ApplicationStateManager. 2) Create a @Privat