");
}
-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
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
--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
, 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
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
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
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
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.
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",
> 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
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
11 matches
Mail list logo