RE: Mandatory use of form rather than request object

2004-01-13 Thread Shishir K. Singh
3:33 AM To: Struts Users Mailing List Subject: RE: Mandatory use of form rather than request object Hi , Can you elaborate a bit? The situation in my mind is, a jsp page with a list of records, but no form at all. Like Orange Of course the a links are generate by struts. Then how couldthe fo

RE: Mandatory use of form rather than request object

2004-01-13 Thread Patrick Cheng
the hidden value to the id, and call the form submit. Rgds, Patrick. -Original Message- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 3:08 PM To: Struts Users Mailing List Subject: RE: Mandatory use of form rather than request object forgive mebut

RE: Mandatory use of form rather than request object

2004-01-13 Thread Richard Hightower
Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 7:41 PM To: Struts Subject: RE: Mandatory use of form rather than request object Yeh, your right though. Taking it out is a bit drastic and the request object tends to be needed for various other things as well so

RE: Mandatory use of form rather than request object

2004-01-13 Thread Richard Hightower
PROTECTED] Sent: Monday, January 12, 2004 11:25 AM To: Struts Users Mailing List Subject: Re: Mandatory use of form rather than request object This precludes you from storing data in the request scope, though - so you're left with only storing things in the session scope, which I wouldn't cons

RE: Mandatory use of form rather than request object

2004-01-13 Thread Richard Hightower
sMentoring -Original Message- From: Patrick Cheng [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 7:34 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Mandatory use of form rather than request object Hi, I understand that the request.getParameter should not be

RE: Mandatory use of form rather than request object

2004-01-12 Thread Andrew Hill
best check that your company doesnt have an OHS policy against it first ;-> ) -Original Message- From: Patrick Cheng [mailto:[EMAIL PROTECTED] Sent: Tuesday, 13 January 2004 10:34 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Mandatory use of form rather than request obj

RE: Mandatory use of form rather than request object

2004-01-12 Thread Patrick Cheng
ll [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 10:09 AM To: Struts Users Mailing List Subject: RE: Mandatory use of form rather than request object No. He would provide setters in the form for anything that needs to be passed along in request scope. This has the dual advantages of t

RE: Mandatory use of form rather than request object

2004-01-12 Thread Andrew Hill
January 2004 02:25 To: Struts Users Mailing List Subject: Re: Mandatory use of form rather than request object This precludes you from storing data in the request scope, though - so you're left with only storing things in the session scope, which I wouldn't consider ideal. Right

Re: Mandatory use of form rather than request object

2004-01-12 Thread Brice Ruth
This precludes you from storing data in the request scope, though - so you're left with only storing things in the session scope, which I wouldn't consider ideal. Right? Richard Hightower wrote: Create a superclass that overides the execute method and calls an abstract execute method that does

RE: Mandatory use of form rather than request object

2004-01-12 Thread Richard Hightower
Create a superclass that overides the execute method and calls an abstract execute method that does not pass the request object. The subclasses overide the execute method without the request object being passed. Also look into the ProcessAction, which is part of the scaffold. You can get the scaf

RE: Mandatory use of form rather than request object

2004-01-12 Thread Shishir K. Singh
model. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: RE: Mandatory use of form rather than request object Hi, Its a good idea to use just form.getAttribute than use request.getparameter..I

RE: Mandatory use of form rather than request object

2004-01-12 Thread shirishchandra.sakhare
Hi, Its a good idea to use just form.getAttribute than use request.getparameter..I think that is major advantage with struts...You should no longer be using this syntax.The form should be a complete container as far as actions are concerned.The advantage is that just by looking at the form you s