Hello All,

I have defined two formsets in my validation.xml file.  One is the default 
and the other one is for the country PK & language en.  I have defined 
validations for FormSelectCountry in the default formset (and its not 
redefined in the other formset).  Now whenever in my application the locale 
is set ot en_US, the link to FormSelectCountry works fine.  But if locale is 
set to en_PK in the application, I get the following exception.

javax.servlet.jsp.JspException: No form found under 'FormSelectCountry' in 
locale 'en_PK'
at 
org.apache.struts.taglib.html.JavascriptValidatorTag.renderJavascript(JavascriptValidatorTag.java:364)
at 
org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:335)
at 
org.apache.jsp.pages.ssl.select_005fcountry_jsp._jspx_meth_html_javascript_0(select_005fcountry_jsp.java:110)
at 
org.apache.jsp.pages.ssl.select_005fcountry_jsp._jspService(select_005fcountry_jsp.java:81)

Duplicating the validations for FormSelectCountry in the other formset fixes 
exception.

This seems a bit strange to me, will I have to duplicate the validations for 
each form in all my localised formsets?  Have I missed something here?  Can 
anyone show me what is the right way to do this?  Having to duplicating form 
entries in each locale seems wrong.

Regards,
Muhammad Momin Rashid. 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to