RE: Value not persisting in domain object

2013-09-14 Thread Martin Gainty
javaee/5/api/javax/servlet/http/HttpSession.html > > > > Martin > > > > > > > > > Date: Thu, 12 Sep 2013 16:58:45 -0400 > > > Subject: Re: Value not persisting in domain object > > > From: smaz19...@gmail.com > > > To: user@struts.apa

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 Pau

Re: Value not persisting in domain object

2013-09-14 Thread Srineel Mazumdar
:44 AM, Martin Gainty wrote: > session.invalidate() > > http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSession.html > > Martin > > > > > Date: Thu, 12 Sep 2013 16:58:45 -0400 > > Subject: Re: Value not persisting in domain object > > From: sm

RE: Value not persisting in domain object

2013-09-13 Thread Martin Gainty
session.invalidate() http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSession.html Martin > Date: Thu, 12 Sep 2013 16:58:45 -0400 > Subject: Re: Value not persisting in domain object > From: smaz19...@gmail.com > To: user@struts.apache.org > > Hi Umes

Re: Value not persisting in domain object

2013-09-12 Thread Srineel Mazumdar
ire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie > de ceci est interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire.

RE: Value not persisting in domain object

2013-09-04 Thread Martin Gainty
ntenu fourni. Date: Mon, 2 Sep 2013 20:15:30 -0400 Subject: Re: Value not persisting in domain object From: smaz19...@gmail.com To: user@struts.apache.org Hi Umesh and Paul, I have attached the code. Cart.java is my domain class where itemlist will have all the items added in the cart. AddIte

Re: Value not persisting in domain object

2013-09-02 Thread Srineel Mazumdar
Hi Umesh and Paul, I have attached the code. Cart.java is my domain class where itemlist will have all the items added in the cart. AddItemToCartAction will add to itemList and UpdateCartQuantitiesAction will fetch it from itemList. I agree to what Paul ..but can you suggest a workaround?? This i

Re: Value not persisting in domain object

2013-09-01 Thread Paul Benedict
Every Action class is instantiated per request. If you're updating a collection in one action, it will, of course, not be around in the next collection. It sounds like you need to stuff your shopping cart into the session. On Sun, Sep 1, 2013 at 8:39 PM, Srineel Mazumdar wrote: > Hi All, > > Can

Re: Value not persisting in domain object

2013-09-01 Thread umeshawasthi
Re: Value not persisting in domain object Hi All, Can anyone please help ? Thanks.. On Fri, Aug 30, 2013 at 10:23 PM, Srineel Mazumdar wrote: > Yes.. the same collection. > > > On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict wrote: > >> Are you retrieving the same collection

Re: Value not persisting in domain object

2013-09-01 Thread Srineel Mazumdar
Hi All, Can anyone please help ? Thanks.. On Fri, Aug 30, 2013 at 10:23 PM, Srineel Mazumdar wrote: > Yes.. the same collection. > > > On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict wrote: > >> Are you retrieving the same collection? >> >> >> On Wed, Aug 28, 2013 at 8:22 AM, Srineel Mazumdar >

Re: Value not persisting in domain object

2013-08-30 Thread Srineel Mazumdar
Yes.. the same collection. On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict wrote: > Are you retrieving the same collection? > > > On Wed, Aug 28, 2013 at 8:22 AM, Srineel Mazumdar >wrote: > > > Hi, > > > > I am creating a shopping cart application in Struts 2. I am updating a > list > > in Cart

Re: Value not persisting in domain object

2013-08-28 Thread Paul Benedict
Are you retrieving the same collection? On Wed, Aug 28, 2013 at 8:22 AM, Srineel Mazumdar wrote: > Hi, > > I am creating a shopping cart application in Struts 2. I am updating a list > in Cart domain object when the user selects some items in shopping list > using checkboxes and clicks Next. In