Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 86577 invoked from network); 12 Jan 2011 12:42:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 12:42:04 -0000 Received: (qmail 13316 invoked by uid 500); 12 Jan 2011 12:42:02 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 12956 invoked by uid 500); 12 Jan 2011 12:41:58 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 12948 invoked by uid 99); 12 Jan 2011 12:41:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 12:41:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davelnewton@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-ew0-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 12:41:53 +0000 Received: by ewy20 with SMTP id 20so182257ewy.35 for ; Wed, 12 Jan 2011 04:41:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=sOGwQURKBNMBdip0+eYJNQStQWgfQGiZ9xr0ji3IZNw=; b=ST9TnRqZOLi6NTSMbs4tsLeGJyy7qtaMbo9uqyiACkMDkH78J6xoxag0RfZLwI+9RW h/W97tkLP8vOwGn57m4xneHIfFqFx2J3dLHmNjf0URobhD5GFKDWUsuRoRP6fR3KhBal XY1l9luv4mR4N51ZxKpRJYmPm5RN7gOU1RG9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WW5dtM2OzGy0KM1SeKG+5i1mZVnQjDqYx4MWUr58YmXoktmlSuxBHdvLAxi442oT+m SMmBlNnL9apTamaNKtq/s+Rt2I7PyyNX4AvopeMC/39KMhjkjuew9PgRi+dRtUR45OlN SH0dcTOOMRNDjMrk/rAcszpdq2ab4qa/xQNp4= MIME-Version: 1.0 Received: by 10.213.104.132 with SMTP id p4mr1002686ebo.94.1294836091591; Wed, 12 Jan 2011 04:41:31 -0800 (PST) Received: by 10.213.34.83 with HTTP; Wed, 12 Jan 2011 04:41:31 -0800 (PST) In-Reply-To: <9E8E18184E56D844804A6DF19B414D76059F086BA2@INDXM3121.dir.svc.accenture.com> References: <9E8E18184E56D844804A6DF19B414D76059F0868A3@INDXM3121.dir.svc.accenture.com> <9E8E18184E56D844804A6DF19B414D76059F086A4C@INDXM3121.dir.svc.accenture.com> <9E8E18184E56D844804A6DF19B414D76059F086BA2@INDXM3121.dir.svc.accenture.com> Date: Wed, 12 Jan 2011 07:41:31 -0500 Message-ID: Subject: Re: retaining the values in html:select multiple="true" in jsp + collection + struts From: Dave Newton To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable No; you'd need to re-load the contents/selections either in page load, like normal, or on document ready via Ajax. Dvae On Wednesday, January 12, 2011, wrote: > Maurizio, > > =A0 =A0 =A0 =A0Thanks a lot it worked for all the fields except few list= s which has > a call to AjaxServlet in it. =A0Can you help me with this? > > -----Original Message----- > From: Maurizio Cucchiara [mailto:maurizio.cucchiara@gmail.com] > Sent: Wednesday, January 12, 2011 3:06 PM > To: Struts Users Mailing List > Subject: Re: retaining the values in html:select multiple=3D"true" in jsp= + > collection + struts > > Here it the mail content: > > Just to confirm, =A0I dont need to place the following > > =A0 > =A0 > =A0 > > In my pages? It is cool not to see these repeated lines > in all my pages > > -Dan > > > > 2011/1/12 =A0: >> Lukasz, >> >> =A0 =A0Yes, I am using Struts 1.3.8. =A0I don't think Interceptor is sup= ported > in >> it. =A0I tried the link you shared, but still it is not working. =A0Coul= d you >> please share me the right example to fix this ? >> >> Best Regards, >> Vikram >> -----Original Message----- >> From: Maurizio Cucchiara [mailto:maurizio.cucchiara@gmail.com] >> Sent: Wednesday, January 12, 2011 2:13 PM >> To: Struts Users Mailing List; lukasz.lenart@gmail.com >> Subject: Re: retaining the values in html:select multiple=3D"true" in js= p + >> collection + struts >> >> Lukasz, >> I'm afraid he is using struts 1. >> Anyway, I think that when user goes back using the browser's arrow, >> the page is loaded from cache. So It shouldn't be a =A0matter of Struts. >> >> My suggest is that you should find a way to avoid http caching [1] (I >> don't know if it works, I usually use header-based approach). >> >> > http://mail-archives.apache.org/mod_mbox/struts-user/200307.mbox/%3CLaw11= -OE >> 35m2gYMxwMf0005986b@hotmail.com%3E >> >> >> >> 2011/1/12 Lukasz Lenart : >>> 2011/1/12 >>>> Could some one help me on this please with some example? >>> >>> Please read a bit about Preparable interface >>> >> > http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2= /Pr >> eparable.html >>> http://struts.apache.org/2.2.1.1/docs/prepare-interceptor.html >>> >>> >>> Regards >>> -- >>> =A3ukasz >>> + 48 606 323 122 http://www.lenart.org.pl/ >>> Kapitu=B3a Javarsovia http://javarsovia.pl >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >>> For additional commands, e-mail: user-help@struts.apache.org >>> >>> >> >> >> >> -- >> Maurizio Cucchiara >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> >> > > > > -- > Maurizio Cucchiara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org< --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org