RE: Can DispatchAction have a default action?

2002-06-11 Thread Kevin Henrikson
> Why do you have two action mappings for the same DispatchAction? To get around the validation. > > You can just have one action mapping like, > >type="org.apache.struts.validator.DynaValidatorForm" > > > > >type="com.example.InputAction" > name="InputForm"

Re: Can DispatchAction have a default action?

2002-06-11 Thread Raffy_Lata
uot; <[EMAIL PROTECTED]> cc: Subject: Can DispatchAction have a default action? This is more of a DispatchAction question but I'm using DynaValidatorForm as well. The page is very simple. A single field that is required. Currently I have defined two action mappings in struts-conf

Can DispatchAction have a default action?

2002-06-11 Thread Kevin Henrikson
This is more of a DispatchAction question but I'm using DynaValidatorForm as well. The page is very simple. A single field that is required. Currently I have defined two action mappings in struts-config.xml One to edit/view the field (load it from the database) and a second to act as t