> -----Original Message-----
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 12:38 PM
> To: Struts Users Mailing List
> Subject: Re: Validator is using action uri for form name
> instead of form
> name
>
>
> Sounds like you are mixing up DynaValidatorForm and
> DynaValidatorActionForm.
Nope, the DynaValidator's aren't anywhere near my code. This is all
ValidatorActionForm, or rather a child of it.
>
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
>
> ----- Original Message -----
> From: "Jim Barrows" <[EMAIL PROTECTED]>
> To: "Struts User List (E-mail)" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 18, 2004 3:34 PM
> Subject: Validator is using action uri for form name instead
> of form name
>
>
> I have 4 forms in validation.xml. 3 of them work correctly.
> 1 works..
> oddly. Struts is apprently thinking that that the form name is
> /requestaccess, not AccessRequestForm. Now, first thought is that
> struts-config is fubar, but:
> <action
> input="/english/investors/sections/general/pages/requestaccess.jsp"
> name="RequestAccessForm"
> path="/requestaccess"
> type="com.sssc.onlineaccess.actions.investors.RequestAccessAction"
> name="RequestAccessForm" validate="true">
> <forward name="next"
> path="../website/english/investors/sections/general/pages/than
> kyou.html"
> redirect="true"/>
> </action>
> That looks right to me.
> Second thought was... what's wrong with validation.xml
> <form name="RequestAccessForm">
> <field property="name" depends="required">
> <arg0 key="RequestAccessForm.name" />
> </field>
> <field property="title" depends="required">
> <arg0 key="RequestAccessForm.title" />
> </field>
> <field property="company" depends="required,mask">
> <arg0 key="RequestAccessForm.company" />
> <var>
> <var-name>mask</var-name>
> <var-value>${AlphaWhite}</var-value>
> </var>
> </field>
> blah
> </form>
> Looks right to me.
> So, I traced the code, all the way through the validation
> code, and struts
> thinks the form name is /requestaccess. Change the
> validation.xml form name
> to /requestaccess and it works.
> So, given my talent for breaking things in new and unique
> ways, how is this
> happening? What could I have possible fat fingered to get
> this kind of
> behavior?
>
> ---------------------------------------------------------------------
> 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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]