Re: How to instantiate a DynaActionForm?

2003-06-19 Thread Ted Husted
The validator actually goes by the ActionMapping attribute name, which by default is the formbean name. So you can have a base formbean, defined as an DynaActionForm, and then give it different attributes in each mapping. action name=baseForm attribute=loginForm action name=baseForm

Re: How to instantiate a DynaActionForm?

2003-06-19 Thread Julie CARDON
Hi, we found some help in the way to instanciate a DynaActionForm presented by Carl Walker . But actually, we aren't able to put the form in the request. This works only in the session object. Is there anyone to help me? Thanks to answer quickly Julie Cardon

RE: How to instantiate a DynaActionForm?

2003-06-19 Thread Joseph Yang
) -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:44 AM To: Struts Users Mailing List Subject: Re: How to instantiate a DynaActionForm? The validator actually goes by the ActionMapping attribute name, which by default is the formbean name. So

RE: How to instantiate a DynaActionForm?

2003-06-18 Thread Raible, Matt
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12356.html -Original Message- From: Joseph Yang [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:07 AM To: 'Struts Users Mailing List' Subject: How to instantiate a DynaActionForm? Hello, I have two pages: login.jsp and

Re: How to instantiate a DynaActionForm?

2003-06-18 Thread Carl Walker
I have an org.apache.struts.validator.DynaValidatorForm called AccountForm in my struts-config.xml. The code below is similar to that found in the link referenced below, except I call the initialize() method to get the initial= attributes from the form bean definition. // load up

Re: How to instantiate a DynaActionForm?

2003-06-18 Thread Ted Husted
Another approach would be to combine the loginForm and the userProfileForm into a single coarse-grained form. Then you could simply set the additional properties, rather than instantiate another object. http://www.mail-archive.com/[EMAIL PROTECTED]/msg12356.html -Original Message-

RE: How to instantiate a DynaActionForm?

2003-06-18 Thread Joseph Yang
on this? -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:13 PM To: Struts Users Mailing List Subject: Re: How to instantiate a DynaActionForm? Another approach would be to combine the loginForm and the userProfileForm into a single coarse-grained

RE: How to instantiate a DynaActionForm?

2003-06-18 Thread Sandeep Takhar
- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:13 PM To: Struts Users Mailing List Subject: Re: How to instantiate a DynaActionForm? Another approach would be to combine the loginForm and the userProfileForm into a single coarse-grained form. Then you