Got a problem thats been bugging me for a while:

I'm using an action class that extends DispatchAction class.  The methods in
this class use the same ActionForm class (DynaValidatorActionForm).  However,
the validation requirments for each method in the dispatch class are
different.

I understand that if I use the DynaValidatorActionForm, I can map the action
URI to the name property in the validation.xml file.  Is it possible to map
the exact method in my dispacth to the validation.xml file?

For example, if my DispatchAction class URI path mapping is: "/dispatch", and
I have a method named "update1" and "update2" within the dispatch class, can I do this 
in
my validation.xml file?:

<formset>
        <form name="/dispatch.do.update1">
        ......do special validation here
        </form>
        <form name="/dispatch.do.update2">
        ......do special validation here
        </form>
</formset>

Many thanks for your help!
-Burhan




-- 
FreeBSD 4.8-STABLE * http://www.freebsd.org
 5:40PM  up 127 days,  2:09, 11 users, load averages: 0.00, 0.00, 0.00

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

Reply via email to