How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread David Thielen
a.. From: Ted Husted b.. Subject: Re: Pre populate c.. Date: Mon, 11 Jun 2001 08:20:16 -0700 Many times pre-processing and post-processing are related, and it can be convenient to handle both

Re: How to pre-populate - Husted post doesn't work (or I'm implementingit wrong)

2003-09-02 Thread Adam Hardy
: Pre populate c.. Date: Mon, 11 Jun 2001 08:20:16 -0700 Many times pre-processing and post-processing are related, and it can be convenient to handle both in the same Action class. A good way to implement

Re: How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread Mark Lowe
the action class. Any ideas? Also, shouldn't the scope below be session so the same form is used? thanks - dave -- -- a.. From: Ted Husted b.. Subject: Re: Pre populate c.. Date: Mon, 11 Jun 2001 08:20:16 -0700

RE: How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread Hue Holleran
Hi David, Try the following explanation: http://marc.theaimsgroup.com/?l=struts-userm=106123062505746w=2 -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 23:55 To: Struts-Users Subject: How to pre-populate - Husted post doesn't work (or I'm

AW: How to pre-populate - Husted post doesn't work (or I'm implementing it wrong)

2003-09-02 Thread sem . Gottofrey
Hi, didn't you forgot the .do? http://localhost/account/setup/pre.do Robert -Ursprüngliche Nachricht- Von: David Thielen [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 2. September 2003 00:55 An: Struts-Users Betreff: How to pre-populate - Husted post doesn't work (or I'm

Pre-populate DynaActionForm

2003-06-13 Thread Joseph Yang
, put this form in request, then it's done Now I want to do the same thing but use DynaActionForm for my clientInfoForm, what should I do to pre-populate it? (there will be no setters any more) Thanks - To unsubscribe, e-mail

RE: Pre-populate DynaActionForm

2003-06-13 Thread Wendy Smoak
Joseph wrote: Now I want to do the same thing but use DynaActionForm for my clientInfoForm, what should I do to pre-populate it? (there will be no setters any more) Look at the API docs for DynaActionForm, there are several set methods. Or use BeanUtils.copyProperties to copy the values over

HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Iain Sanderson
Newbie question: I've managed to use Struts forms as a means of initial data entry ( registration forms etc) but have got stuck on how to use a form to update data that already exists in a database. For example, a form where a user can update their user details (address, email etc) and then

Re: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread David Graham
will be prepopulated with data for the edit screen. David From: Iain Sanderson [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: HOWTO pre-populate forms with data, then update ? Date: Thu, 23 Jan 2003 15:20:40 -0500 Newbie question: I've

Re: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Iain Sanderson
Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject:Re: HOWTO pre-populate forms with data, then update ? Traditionally you do this: 1. GetMyFormAction determines if it's add or edit from a query string attribute. 2. For edit go get the info from db using the record's

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Karr, David
putting most of this bean data into the session scope. -Original Message- From: Iain Sanderson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 12:21 PM To: [EMAIL PROTECTED] Subject: HOWTO pre-populate forms with data, then update ? Newbie question: I've managed to use

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Iain Sanderson
] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: HOWTO pre-populate forms with data, then update ? In general, Struts applications will use prepare actions to prepare the data for a form, and process actions to process the submitted data for a form. In your prepare action code

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Hajratwala, Nayan (N.)
, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 3:48 PM To: Struts Users Mailing List Subject: RE: HOWTO pre-populate forms with data, then update ? In general, Struts applications will use prepare actions to prepare the data for a form, and process actions to process

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Iain Sanderson
Nayan, Are you accessing the business logic ( or database) in the reset method to determine the initial values? Iain Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: HOWTO pre-populate forms

Re: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Eric Rizzo
Iain Sanderson wrote: David, Thanks for your reply. How do you put the info into the form bean? I use a action called RegistrationUpdateOpenAction to get the data from the database and forward to the view jsp (registrationUpdate.jsp), but I don't know how to put that data into the form bean

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Alberto Corona
ObjectWave Corp. -Original Message- From: Iain Sanderson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:43 PM To: Struts Users Mailing List Subject: Re: HOWTO pre-populate forms with data, then update ? David, Thanks for your reply. How do you put the info into the form bean

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Hajratwala, Nayan (N.)
, 2003 3:59 PM To: Struts Users Mailing List Subject: RE: HOWTO pre-populate forms with data, then update ? Nayan, Are you accessing the business logic ( or database) in the reset method to determine the initial values? Iain Please respond to Struts Users Mailing List [EMAIL PROTECTED

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Iain Sanderson
PROTECTED]] Sent: Thursday, January 23, 2003 3:59 PM To: Struts Users Mailing List Subject: RE: HOWTO pre-populate forms with data, then update ? Nayan, Are you accessing the business logic ( or database) in the reset method to determine the initial values? Iain Please respond to Struts Users

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Iain Sanderson
Alberto, Perfect. And thanks, I'll give it a try. I'm sure this is what I needed to do. Iain. Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: HOWTO pre-populate forms with data, then update ? You can

Re: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread David Graham
pre-populate forms with data, then update ? Date: Thu, 23 Jan 2003 15:43:22 -0500 David, Thanks for your reply. How do you put the info into the form bean? I use a action called RegistrationUpdateOpenAction to get the data from the database and forward to the view jsp (registrationUpdate.jsp

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Karr, David
Action classes. You define action-mapping entries and forwards which navigate between them. -Original Message- From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 12:57 PM To: 'Struts Users Mailing List' Subject: RE: HOWTO pre-populate forms with data

RE: HOWTO pre-populate forms with data, then update ?

2003-01-23 Thread Karr, David
[mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 1:21 PM To: [EMAIL PROTECTED] Subject: Re: HOWTO pre-populate forms with data, then update ? Struts hands you a form bean in your execute method. You cast that variable to your specific form type and use the setters to move data

Instantiating ActionForm to pre-populate

2003-01-17 Thread Charlie Toohey
I was searching around and found a very long thread in the struts-dev mailing list (of which I am not a member) about how to instantiate both ActionForm and DynaActionForm objects in order to pre-populate a form (see below for a snippet of that thread). My questions is, why go to all

RE: Instantiating ActionForm to pre-populate

2003-01-17 Thread Wendy Smoak
Charlie wrote: My questions is, why go to all the trouble of instantiating the form yourself in your Action, when the ActionServlet will do this for you if you specify the form-bean name in the struts-config.xml mapping for that Action I think a major reason that people are under this

(sigh!) another pre-populate question

2002-10-15 Thread Howard Miller
Sorry if I keep asking variatons on the same question. I have a JSP called dosomething and an associated action called dosomething Action. I want to pre-load the form, but this page can be called from all over the place, so my previous page calls the action for the dosomething page directly,

RE: (sigh!) another pre-populate question

2002-10-15 Thread Chappell, Simon P
PROTECTED] Subject: (sigh!) another pre-populate question Sorry if I keep asking variatons on the same question. I have a JSP called dosomething and an associated action called dosomething Action. I want to pre-load the form, but this page can be called from all over the place, so my previous

RE: (sigh!) another pre-populate question

2002-10-15 Thread Howard Miller
Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 -Original Message- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:27 PM To: [EMAIL PROTECTED] Subject: (sigh!) another pre-populate

RE: (sigh!) another pre-populate question

2002-10-15 Thread Chappell, Simon P
. (608) 935-4526 -Original Message- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:44 PM To: [EMAIL PROTECTED] Subject: RE: (sigh!) another pre-populate question Simon (we meet again).. Sounds very interesting, but I'm not quite

RE: (sigh!) another pre-populate question

2002-10-15 Thread Howard Miller
: Tuesday, October 15, 2002 3:44 PM To: [EMAIL PROTECTED] Subject: RE: (sigh!) another pre-populate question Simon (we meet again).. Sounds very interesting, but I'm not quite there: Firstly I'm not entirely sure what you mean by separating view and edit pages. I'm actually trying

Re: pre-populate nightmare

2002-10-13 Thread Howard Miller
a pre-populate thing to work for about two weeks now and am going crazy can somebody sanity check what I am doing. Much appreciated!! Its a master detail type of thing. I show a list of options a user can edit on one page, and the details of the item to edit on the next page. As the master

pre-populate nightmare

2002-10-13 Thread Howard Miller
Hi, I have been trying to get a pre-populate thing to work for about two weeks now and am going crazy can somebody sanity check what I am doing. Much appreciated!! Its a master detail type of thing. I show a list of options a user can edit on one page, and the details of the item to edit

SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread Hohlen, John
I was wondering what the overall philosophy is in the Struts Users community in regards to pre-populating action forms? I sent a message out late last week asking for help on how to manually instantiate and pre-populate an action form (prior to forwarding to a JS) in Struts 1.1. That's when I

Re: SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread David Graham
: Proper Way To Pre-populate ActionForms Date: Mon, 30 Sep 2002 08:22:29 -0500 I was wondering what the overall philosophy is in the Struts Users community in regards to pre-populating action forms? I sent a message out late last week asking for help on how to manually instantiate and pre-populate

RE: SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread Miguel Angel Mulero Martinez
Me too. -Mensaje original- De: David Graham [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 30 de septiembre de 2002 15:34 Para: [EMAIL PROTECTED] Asunto: Re: SURVEY: Proper Way To Pre-populate ActionForms I do the same as Eddie. Put an action in front of the form that sets its initial

RE: SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread Taylor, Jason
it undesirable? -JT -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:43 AM To: Struts Users Mailing List Cc: '[EMAIL PROTECTED]' Subject: Re: SURVEY: Proper Way To Pre-populate ActionForms The struts-example app (which uses

Re: SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread Craig R. McClanahan
) [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: SURVEY: Proper Way To Pre-populate ActionForms I was wondering what the overall philosophy is in the Struts Users community in regards to pre-populating action forms? I sent a message out late last week asking for help on how

RE: SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread Craig R. McClanahan
On Mon, 30 Sep 2002, Taylor, Jason wrote: Date: Mon, 30 Sep 2002 08:54:46 -0700 From: Taylor, Jason [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: SURVEY: Proper Way To Pre-populate ActionForms My

RE: SURVEY: Proper Way To Pre-populate ActionForms

2002-09-30 Thread Taylor, Jason
To: Struts Users Mailing List Subject: RE: SURVEY: Proper Way To Pre-populate ActionForms On Mon, 30 Sep 2002, Taylor, Jason wrote: Date: Mon, 30 Sep 2002 08:54:46 -0700 From: Taylor, Jason [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing

RE: How to pre-populate forms without being able to get direct accessto their names or scope. Am I missing something?

2002-07-02 Thread Alex Paransky
http://www.myprofiles.com/member/profile/apara_personal -Original Message- From: Karim Saloojee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:04 AM To: [EMAIL PROTECTED] Subject: How to pre-populate forms without being able to get direct access to their names or scope. Am I

Q: How to pre-populate the form with specific values from database...

2002-06-07 Thread Alex Paransky
I have an ActionForm which I would like to pre-populate before struts populates it with values from the request. The pre-population of the form depends on one parameter in the request. I get the parameter inside of the reset(...) method on the form, and proceed to pre-populate the form

Re: pre-populate and request scope problem in struts.

2001-08-21 Thread Peter Alfors
anyone help me to spot it. I am using the following technique for pre-populate: 1- in the Action object of 'fromJSP' , I create an objetc of the Form objetc of the 'toJSP' 2-I then set all the properties of the Form objetc of the 'toJSP' here by calling the setters of this Form object

Re: How to pre-populate an actionForm in the perform method?

2001-08-05 Thread Craig R. McClanahan
On Thu, 2 Aug 2001, Hartmut Bernecker wrote: Hello, when a URL (myUrl.do) is invoced, the ActionServlet instantiates a myForm (according to the struts-config.xml), forwards control to a myAction object; the perform() method of myAction calls the reset() method of the myForm object and

How to pre-populate an actionForm in the perform method?

2001-08-02 Thread Hartmut Bernecker
Hello, when a URL (myUrl.do) is invoced, the ActionServlet instantiates a myForm (according to the struts-config.xml), forwards control to a myAction object; the perform() method of myAction calls the reset() method of the myForm object and then forwards to a JSP page. Would some of you give me

RE: How to pre-populate an actionForm in the perform method?

2001-08-02 Thread devon . bowen
when a URL (myUrl.do) is invoced, the ActionServlet instantiates a myForm (according to the struts-config.xml), forwards control to a myAction object; the perform() method of myAction calls the reset() method of the myForm object and then forwards to a JSP page. It is the JSP page itself

Pre-populate text fields

2001-07-02 Thread Kent Roylance
I need help knowing how to prepopulate a html:text tag without it being set to null when the jsp is compiled and instantiated. In the calling action class, I prepopulate the form with the right information, but when the jsp is displayed the input fields get set to null(empty). I can display

Pre populate

2001-06-11 Thread Kiet Nguyen
I need to pre-populate my form and do some business processes prior to load a page. Where would be the best place for this. I don't want to put it in the peform method of the from page. And doing business process at the form bean does not seen appropriate. thanks

RE: Pre populate

2001-06-11 Thread Upadhye, Sujit (GEAE, Foreign National)
]] Sent: Monday, June 11, 2001 10:06 AM To: Struts-User (E-mail) Subject: Pre populate I need to pre-populate my form and do some business processes prior to load a page. Where would be the best place for this. I don't want to put it in the peform method of the from page. And doing business process

Re: Pre populate

2001-06-11 Thread Ted Husted
, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Kiet Nguyen wrote: I need to pre-populate my form and do some business processes prior to load a page. Where would be the best place for this. I don't want to put