Yes.
Basically you create a form in struts-config.xml.
Then you reference that form in your <action> instead of the ActionForm you coded.
The issue is keeping the JSP form and your declared DynaForm in SYNCH. But it is not 
that big of a deal. I do not use ActionFOrms at all in my application. I do not really 
need to.

You can also validate against DynaForms, and there are heaps of postings in the 
archives to see about validation issues with DynaForms. But try them out first, and 
see how it goes.
The source code examples in the stuts_src.tar worked very well for me. Was not too 
difficult to understand.

-----Original Message-----
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:52 AM
To: Struts Users Mailing List
Subject: Re: New to Struts


Ah, thanks Mick,

So is the DynaForm the one which allows you not to create Forms
declaratively using
xml?

Currently I write a form for each action and implement a validate method in
the form.
I was under the impression that there's a way to validate declaritively too.
Is this possible and
if so, with what component?

thanks,
brian

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 10:29 AM
Subject: RE: New to Struts


> I love DynaForms. But you don't _need_ DynaForms to use Validation.
>
> But, I like being able to declare all my forms, and _not_ creating an
ActionForm class for each form I create.
>
>
> -----Original Message-----
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: New to Struts
>
>
> Hi all,
> I'm relatively new to struts, have used Forms before and am thinking of
switching to use
> DynamicActions instead of normal Actions to get the use of the Validator
package. Can
> people tell me if this is a worthwhile endevour and also, is there a good
resource on how
> to make this change.
> cheers,
> Brian
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to