[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    RE: form fields resetted when using BACK button in IE
From:       Frédéric FACHINETTI <fachinet () osb ! pf>
Date:       2004-05-28 21:57:09
Message-ID: 1085781429.18983.51.camel () flinux90 ! osb ! pf
[Download RAW message or body]

Thank you Jerry for your answer.
Turning off caching in IE doesn't seems to work.
I think it's because when I'm using the back button, the
Action for generating the form is executed again :

http://myhost:8080/jetspeed/portal/template/content?ActionToDo=form&js_peid=P-fc52a52356-10000&TableName=site&AdvancedForm=N


So a new form is generated and the cache is not used.

Maybe I should go for your second solution.

Fred

On Fri, 2004-05-28 at 11:21, Jerry Lee wrote:
> You can turn off caching on IE.
> But then again, that brings another can of worms into the mix.
> 
> Goto:
> 
> Tools/Internet Options/
> 
> Click settings under "Temporary Internet Files"
> 
> Click "Never" or "Every time you start Internet Explorer" radio button, click ok, \
> then ok again. 
> That should do it.
> 
> Only other option is to have that back button repost a form with the previous \
> values back to the first page and have that page grab the posted form values.  <- \
> that's a better solution but not sure how much more coding you want to do :) 
> 
> 
> -j-
> 
> 
> -----Original Message-----
> From: Frédéric FACHINETTI [mailto:fachinet@osb.pf] 
> Sent: Friday, May 28, 2004 1:53 PM
> To: Jetspeed Users List
> Subject: form fields resetted when using BACK button in IE
> 
> 
> Hi everyone,
> 
> I've made a portlet to query a database.
> First, it displays a form with text input fields to specify 
> criteria for the query.
> 
> When submit button is  pressed, a result page is displayed.
> 
> The problem is that when I go back using the back 
> button of Internet Explorer or using a link I made
> on the result page (HREF="javascript:history.back(1)"),
> the fields I filled are resetted and I have to fill them again.
> 
> Going back under Mozilla browser keeps the fields unchanged which is the behaviour \
> I want. 
> Anyone has an idea of how to do it or maybe there is a setting for IE ?
> 
> Thanks in advance.
> 
> 
> Fred
> 
> 
> 
> O.S.B
> Oceanienne de Services Bancaires
> 
> BP 9178 Motu Uta
> 98715 Papeete
> Tahiti - Polynesie Francaise
> 
> Site : http://www.osb.pf
> Tel : (689) 54 08 00
> Fax : (689) 41 34 08
> **********************************************************************
> Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a \
> l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez \
> ce message par erreur, merci de le detruire et d'en  avertir immediatement \
> l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute \
> diffusion ou toute publication, totale ou partielle, est interdite,  sauf \
> autorisation expresse.  L'Internet ne permettant pas d'assurer l'integrite de ce \
> message,  l'OSB decline toute responsabilite au titre de ce message, dans 
> l'hypothese ou il aurait ete modifie ou infeste par un virus.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



O.S.B
Oceanienne de Services Bancaires

BP 9178 Motu Uta
98715 Papeete
Tahiti - Polynesie Francaise

Site : http://www.osb.pf
Tel : (689) 54 08 00
Fax : (689) 41 34 08
**********************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le detruire et d'en 
avertir immediatement l'expediteur.
Toute utilisation de ce message non conforme a sa destination,
toute diffusion ou toute publication, totale ou partielle, est interdite, sauf \
autorisation expresse.  L'Internet ne permettant pas d'assurer l'integrite de ce \
message,  l'OSB decline toute responsabilite au titre de ce message, dans 
l'hypothese ou il aurait ete modifie ou infeste par un virus.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic