RE: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread vikram.g.byali
Could some one help me on this please with some example? Thanks, Vikram _ From: Byali, Vikram G. Sent: Tuesday, January 11, 2011 3:48 PM To: 'user@struts.apache.org' Subject: retaining the values in html:select multiple=true in jsp + collection + struts Hi, I have a

Re: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread Lukasz Lenart
2011/1/12 vikram.g.by...@accenture.com 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/Preparable.html http://struts.apache.org/2.2.1.1/docs/prepare-interceptor.html

Re: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread Maurizio Cucchiara
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 matter 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

Re: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread Lukasz Lenart
2011/1/12 Maurizio Cucchiara maurizio.cucchi...@gmail.com: Lukasz, I'm afraid he is using struts 1. You're right, I missed that out ;-) Kind reagds -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl

RE: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread vikram.g.byali
Lukasz, Yes, I am using Struts 1.3.8. I don't think Interceptor is supported in it. I tried the link you shared, but still it is not working. Could you please share me the right example to fix this ? Best Regards, Vikram -Original Message- From: Maurizio Cucchiara

Re: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread Maurizio Cucchiara
Here it the mail content: Just to confirm, I dont need to place the following META HTTP-EQUIV=Expires CONTENT=-1 META HTTP-EQUIV=Pragma CONTENT=no-cache META HTTP-EQUIV=Cache-Control CONTENT=no-cache In my pages? It is cool not to see these repeated lines in all my pages -Dan

RE: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread vikram.g.byali
Maurizio, Thanks a lot it worked for all the fields except few lists which has a call to AjaxServlet in it. Can you help me with this? -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Wednesday, January 12, 2011 3:06 PM To: Struts Users

Re: retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-12 Thread Dave Newton
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, vikram.g.by...@accenture.com wrote: Maurizio,        Thanks a lot it worked for all the fields except few lists which has a call to

retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-11 Thread vikram.g.byali
Hi, I have a multiple selection box in one of the jsp: TR TD height=30 class=Formblue valign=topstrongSelectnbsp; Levelnbsp;:/strong/TD TD colspan=5 class=para strong html:select

retaining the values in html:select multiple=true in jsp + collection + struts

2011-01-11 Thread vikram.g.byali
Hi, I have a multiple selection box in one of the jsp: TR TD height=30 class=Formblue valign=topstrongSelectnbsp; Levelnbsp;:/strong/TD TD colspan=5 class=para strong html:select