Re: SessionAttribute and SessionState is null in onValidate method

2019-06-18 Thread Ric 2000
Hi Cezary, first thanks! I provided no code, because it is rather straight forward, just an @SessionAttribute annotated private field, which is a bean implementing Serializable. Then this @SetupRender method constructing the bean and filling it's properties, a form and an onValidate and an onSucces

Re: SessionAttribute and SessionState is null in onValidate method

2019-06-18 Thread Cezary Biernacki
Hi Ric, I suspect that a server-side session is not established for some reason, e.g. the browser does not send back the JSESSIONID cookie or something invalidates the session. It is hard to tell without any source code examples. You can try verify what is happening by putting breakpoints in relev

SessionAttribute and SessionState is null in onValidate method

2019-06-18 Thread Ric 2000
Dear Tapestry users, I face the following problem: In a page I use a simple bean annotated as SessionState or SessionAttribute (problem is the same on both). It is initialized in the SetupRender method of the page and in other methods, called from within the SetupRender method, the object is in co