struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: retaining the values in html:select multiple="true" in jsp + collection + struts
Date Wed, 12 Jan 2011 12:41:31 GMT
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.byali@accenture.com> wrote:
> 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.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="true" in jsp +
> collection + struts
>
> 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
>
>
>
> 2011/1/12  <vikram.g.byali@accenture.com>:
>> 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 [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="true" in jsp +
>> 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  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 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 <lukasz.lenart@googlemail.com>:
>>> 2011/1/12 <vikram.g.byali@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/Pr
>> eparable.html
>>> http://struts.apache.org/2.2.1.1/docs/prepare-interceptor.html
>>>
>>>
>>> Regards
>>> --
>>> Łukasz
>>> + 48 606 323 122 http://www.lenart.org.pl/
>>> Kapituła 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


Mime
View raw message