"If you did private SalesItem salesItem = new SalesItem()" You got me!!!:-P Thank you very much.
On 10/5/2011 3:12 PM, Thiago H de Paula Figueiredo [via Tapestry] wrote: > On Wed, 05 Oct 2011 19:00:05 -0300, okramlee <[hidden email] > </user/SendEmail.jtp?type=node&node=4874465&i=0>> wrote: > > > Hi Thiago, > > Hi! > > > " If a field isn't @SessionState, it is completely thread-safe, not > > being shared between users." > > Yeah, that was what I thought about. But it did share the object > between > > users even though I remove everything and keep salesItem plain there. I > > think I did something wrong in my code. > > If you did private SalesItem salesItem = new SalesItem(), which is a > common newbie error, that is expected. Never, never, never initialize a > page or component field in its initialization. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > </user/SendEmail.jtp?type=node&node=4874465&i=1> > For additional commands, e-mail: [hidden email] > </user/SendEmail.jtp?type=node&node=4874465&i=2> > > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://tapestry.1045711.n5.nabble.com/SessionState-problem-tp4873622p4874465.html > > > To unsubscribe from SessionState problem, click here > <http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4873622&code=b2tyYW1sZWVAaG90bWFpbC5jb218NDg3MzYyMnwtMTUxMjk1MDc4OQ==>. > > -- View this message in context: http://tapestry.1045711.n5.nabble.com/SessionState-problem-tp4873622p4874515.html Sent from the Tapestry - User mailing list archive at Nabble.com.