RE: input form

2004-10-05 Thread Robin Mannering
"); } -Original Message- From: Robin Mannering [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 17:55 To: Struts Users Mailing List Subject: RE: input form Hi All, Just chewing over this problem myself since it was brought up. The solution is here I believe, yet to implem

RE: input form

2004-10-05 Thread Freddy Villalba A.
Thanx Allen! Your explanations is clear enough. -Mensaje original- De: Fogleson, Allen [mailto:[EMAIL PROTECTED] Enviado el: martes, 05 de octubre de 2004 18:30 Para: 'Struts Users Mailing List' Asunto: RE: input form Freddy, You want to use the formName that you gave in

RE: input form

2004-10-05 Thread Robin Mannering
--Original Message- From: Fogleson, Allen [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 17:32 To: 'Struts Users Mailing List' Subject: RE: input form Wendy, True enough, the original question though revolved around prepopulating the form from the DB before getting to the view of th

RE: input form

2004-10-05 Thread Fogleson, Allen
, October 05, 2004 12:05 PM To: Struts Users Mailing List Subject: Re: input form From: "Freddy Villalba A." <[EMAIL PROTECTED]> > I have a similar question: when you say create the action form and put it > into request scope... I suppose you refer to the same ActionForm th

RE: input form

2004-10-05 Thread Fogleson, Allen
send it to you direct, just let me know. -Original Message- From: Freddy Villalba A. [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 11:28 AM To: Struts Users Mailing List Subject: RE: input form Hi, Allen... I have a similar question: when you say create the action form and put it into

Re: input form

2004-10-05 Thread Wendy Smoak
From: "Freddy Villalba A." <[EMAIL PROTECTED]> > I have a similar question: when you say create the action form and put it > into request scope... I suppose you refer to the same ActionForm that will > be used when, say, saving that prepopulated form again (the changes you've > made). Struts will

RE: input form

2004-10-05 Thread Freddy Villalba A.
ng List' Asunto: RE: input form Anna, What I would do is start with an action (lets call it PopulateCreateAction) that gets the collection from the DB, creates a new ActionForm and populates that action form with the collections. I would place that in the request scope and then do a standa

Re: input form

2004-10-04 Thread Wendy Smoak
From: "Anna Kerekes" <[EMAIL PROTECTED]> > I have a jsp (create.jsp), a form-bean (CreateMessageForm.java), > and an action (CreateMessageAction.java). > Currently, the user inputs their info into create.jsp, hits 'submit', > and the action gets the info from the form-bean > and does stuff with it.

Re: input form

2004-10-04 Thread Shyam Anand
Hello, Your CreateMessageAction class should extend DispatchAction class, and then you should be able to accomplish your requirement. See this link: http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html You can have different methods in your DispatchAction class like "get",

RE: input form

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Hello, > > I have a jsp (create.jsp), a form-bean (CreateMessageForm.java), and > an action (CreateMessageAction.java). > > Currently, the user inputs their info into create.jsp, hits 'submit', > and the action gets the info from the form-bean and does stuff with > it. Instead, I would like

RE: input form

2004-10-04 Thread Fogleson, Allen
Anna, What I would do is start with an action (lets call it PopulateCreateAction) that gets the collection from the DB, creates a new ActionForm and populates that action form with the collections. I would place that in the request scope and then do a standard action forward to the create.jsp. Y