struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Galbreath" <mark_galbre...@qat.com>
Subject RE: RE : RE : Forms
Date Wed, 14 May 2003 21:12:05 GMT
That's okay; Andrew is a bad Aussie.

-----Original Message-----
From: Emmanuel Potvin [mailto:mailing-list@machine.dnsalias.org] 
Sent: Wednesday, May 14, 2003 3:19 PM
To: 'Struts Users Mailing List'; andrew.david.hill@gridnode.com
Subject: RE : RE : Forms


Hey! Thanks! This trick is so easy that I feel ashamed to not thought it...
And sorry for my bad english...

-----Message d'origine-----
De : Andrew Hill [mailto:andrew.david.hill@gridnode.com] 
Envoyé : 14 mai, 2003 15:07
À : Struts
Objet : RE: RE : Forms


Ahhh! (understanding finally dawns)
Yeh. Sorry mate.
My brain seems to be on the fritz (its 3am over here) after another long day
in front of the computer.

My earlier suggestion is one way to do it, a better , which now I come to
think of it is what I am actually doing in my own app, is to pass a
parameter in the url specifying whether you want fields reset or not, and
then check for this parameter in your reset() (haha! spelt it right that
time!) method and act accordingly.

-----Original Message-----
From: Emmanuel Potvin [mailto:mailing-list@machine.dnsalias.org]
Sent: Thursday, 15 May 2003 03:01
To: 'Struts Users Mailing List'; andrew.david.hill@gridnode.com
Subject: RE : Forms


I maybe don't understand because I can't imagine my site without this
modification.

Here is an example of why I want this:

I have a web application who administer suppliers with many properties like
name, location, etc... When I'm in my detail page where I modify their
properties, everything is ok, but if I change my current page to modify
something else and I recome back to my detail page, I only want to recall my
action openSupplier.do without parameter and let him reopen the supplier
form stored in my session.

Maybe I'm not clear, or maybe I use a bad method on my entire site...

-----Message d'origine-----
De : Andrew Hill [mailto:andrew.david.hill@gridnode.com]
Envoyé : 14 mai, 2003 14:50
À : Struts Users Mailing List
Objet : RE: Forms


Not sure why you would want to do this, I suspect you have misunderstood the
purpose of the rest method, but one way to implement what your asking is to
create your own ActionMapping class with a property for switching on and off
resseting, and override the request processor to check for this.


-----Original Message-----
From: Emmanuel Potvin [mailto:mailing-list@machine.dnsalias.org]
Sent: Thursday, 15 May 2003 02:43
To: Struts list
Subject: Forms


Hi,

when I use my form in a session scope, can I tell the server to not reset it
after every request who don't use it and leave it the same since I replace
it by another form?

Manu


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


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


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



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


Mime
View raw message