Re: @SessionState error

2009-06-01 Thread Howard Lewis Ship
@SessionState is meant for data holding POJOs, not simple types. On Mon, Jun 1, 2009 at 2:04 PM, Thibaut Gadiolet wrote: > Hi folks, > > As soon as I put the annotation @SessionState in my application, I get an > error. > > *here is a sample of code from home.java* > > *   �...@sessionstate >    

Re: @SessionState error

2009-06-01 Thread Thibaut Gadiolet
Thank you so much ! It works perfectly right now ! On Mon, Jun 1, 2009 at 5:06 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Mon, 01 Jun 2009 18:04:01 -0300, Thibaut Gadiolet < > thibaut.gadio...@gmail.com> escreveu: > > Hi folks, >> > > Hi! > > @SessionState >>priv

Re: @SessionState error

2009-06-01 Thread Thiago H. de Paula Figueiredo
Em Mon, 01 Jun 2009 18:04:01 -0300, Thibaut Gadiolet escreveu: Hi folks, Hi! @SessionState private String userName; Use @SessionState(create = false). This prevents Tapestry of trying to instantiate a String when userName wasn't set yet. -- Thiago H. de Paula Figueiredo Inde

@SessionState error

2009-06-01 Thread Thibaut Gadiolet
Hi folks, As soon as I put the annotation @SessionState in my application, I get an error. *here is a sample of code from home.java* *@SessionState private String userName; public String getUserName() { return userName; } public void setUserName(String userName) {