RE: Value not persisting in domain object

2013-09-14 Thread Martin Gainty
then take what that one item out of the map.. map.remove("ShoppingCart"); OR you can remove the ShoppingCart from httpSessionhttpSession.removeAttribute("ShoppingCart"); Martin __ > Date: Sat, 14 Sep 2013 08:28:54 -0400 > Subject: Re: Value not p

Re: Value not persisting in domain object

2013-09-14 Thread jlmagc
session.setAttribute(“ShoppingCart“,null) Sent via BlackBerry from T-Mobile -Original Message- From: Srineel Mazumdar Date: Sat, 14 Sep 2013 08:28:54 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: Value not persisting in domain object Hi Paul, As per

Re: Value not persisting in domain object

2013-09-14 Thread Srineel Mazumdar
Hi Paul, As per Oracle : *invalidate *() Invalidates this session then unbinds any objects bound to it. My target is to remove only the cart object. Thanks, Srineel On Fri, Sep 13, 2013 at 7:44 AM,

Re: TextProvider, Validation and ModelDriven

2013-09-14 Thread Lukasz Lenart
2013/9/13 Christoph Nenning : > when an application uses a custom TextProvider it seems not to be used for > validation errors. And if an Action is ModelDriven it behaves different > again. > > Here is a sample app for that: > https://github.com/wolpi/struts2-samples/tree/master/modeldriven-and-tex