Hi,
With this DynaValidatorActionForm, you can have individual action mappings
validation in the validation.xml file
Regards,
Nuwan
----- Original Message -----
From: "Chris Searle" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, November 28, 2006 9:16 AM
Subject: Re: File upload using DynaActionForm/SynaValidatorForm
Mano Chinthaka Dasanayaka wrote:
Try Using
<form-bean name="uploadFile"
type="org.apache.struts.validator.DynaValidatorActionForm">
<form-property name="title" type="java.lang.String"/>
<form-property name="revdate" type="java.lang.String"/>
<form-property name="revinfo" type="java.lang.String"/>
<form-property name="documentfile"
type="org.apache.struts.upload.FormFile"/>
</form-bean>
"org.apache.struts.validator.DynaValidatorActionForm"
Ah - now that was it. I will now have to go do some reading on what the
difference is between DynaValidatorForm and DynaValidatorActionForm -
since the app uses mostly DynaValidatorForm elsewhere. But - it did
solve this issue. Many thanks.
--
Chris Searle
[EMAIL PROTECTED]
---------------------------------------------------------------------
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]