You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ku...@wipro.com on 2006/11/29 14:58:56 UTC

Form not found for locale 'en_US' warning message

 
Hi all,

I am seeing the below warning message whenever form bean is accessed.

WARN  [ValidatorResources] Form 'callcontrolForm' not found for locale
'en_US'

In struts-config.xml I have

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml"/>
<set-property property="stopOnFirstError" value="true" /> </plug-in>


This was a known bug in 1.2.9 version,
http://issues.apache.org/bugzilla/show_bug.cgi?id=38081

But ver 1.3.5 claimed to fix this bug. 

Even after migrating to 1.3.5 version, I am seeing the warning messages
getting printed in the console. 

Do I need to modify some files manually for this??????? 


I am not using the validation framework for struts, but still the
warning message is thrown for all the request made to server. As I am
polling the server frequently console is flooded with this warning
message.


Is it necessary to include validator plug-in in strutsconfig.xml , when
the validation framework is not used?

Your help and guidance on the same is very much appreciated.

Thanks,
Vinodh



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com

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


Re: Form not found for locale 'en_US' warning message

Posted by Niall Pemberton <ni...@gmail.com>.
On 11/29/06, kumar.vinodh@wipro.com <ku...@wipro.com> wrote:
>
> Hi all,
>
> I am seeing the below warning message whenever form bean is accessed.
>
> WARN  [ValidatorResources] Form 'callcontrolForm' not found for locale
> 'en_US'
>
> In struts-config.xml I have
>
> <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> <set-property property="pathnames"
> value="/WEB-INF/validator-rules.xml"/>
> <set-property property="stopOnFirstError" value="true" /> </plug-in>
>
>
> This was a known bug in 1.2.9 version,
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38081
>
> But ver 1.3.5 claimed to fix this bug.

Well the warning was only a bug in certain circumstances (when
rendering only the static javascript) - in other circumstances its
still a valid warning and gets produceda and means you don't have
things configured properly.

> Even after migrating to 1.3.5 version, I am seeing the warning messages
> getting printed in the console.
>
> Do I need to modify some files manually for this???????
>
>
> I am not using the validation framework for struts, but still the
> warning message is thrown for all the request made to server. As I am
> polling the server frequently console is flooded with this warning
> message.

I don't understand - above you have the struts-config.xml showing
you've configured validator - but you say you're not using it? This
doesn't make sense to me.

> Is it necessary to include validator plug-in in strutsconfig.xml , when
> the validation framework is not used?

No don't configure it and don't use any of the "validator" flavour
ActionForms and you shouldn't get the warning message.

Niall

> Your help and guidance on the same is very much appreciated.
>
> Thanks,
> Vinodh

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