struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: ValidatorActionForm and JavaScript
Date Tue, 07 Jun 2005 19:34:05 GMT
Appears that either the generated ActionForm or DynaActionForm form name (as 
evideenced by <form name = "myFormName_required") specification is unknown 
by the validator. Take a look at your struts-config.xml to determine the 
form name and substitute for unknown 'myFormName_required'

in other words
<action   	path="/WhateverPath" name="YourForm"
has an entry "YourForm" in
<form-beans>
  	<form-bean
  		name='YourForm'
  		type='com.arIsThePlaceToBe.struts.action.YourAction'
    ...
Conoces?
Martin-
----- Original Message ----- 
From: "Lucas Bern" <lucjb@yahoo.com.ar>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, June 07, 2005 3:04 PM
Subject: ValidatorActionForm and JavaScript


> Hi all
> I have a problem with validator. I'm trying to validate a form depending 
> on the action, so I'm using the ValidatorActionForm as superclass of my 
> form...
> I made everything as specified in the documentation, but, the java script 
> code generated by validator produces an error
>
> "myFormName_required undefined"
>
> I think that the java script code generated by validator is using the name 
> attirbute of the form html tag, but it shoud be the action attribute of 
> the form html tag...
>
> help??
>
> Thanks
> Lucas
>
>
> Matthias Wessendorf <mailings@matthias-wessendorf.de> escribió:
> Hi all,
>
> perhaps this question has been asked allready,
> but let me ask it again...
>
> Is anybody in Stuttgart (Germany) at ApacheCon Europe 18->22 July.
>
> Thanks,
> Matthias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
> ---------------------------------
> 1GB gratis, Antivirus y Antispam
> Correo Yahoo!, el mejor correo web del mundo
> Abrí tu cuenta aquí 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message