Hi ,
       I am using Struts validator and mask rule for Validating my Fields
like :

 <field    property="firstName"
                   depends="required,mask,minlength">
                     <arg0 key="registrationForm.firstname.displayname"/>
                     <arg1 name="minlength" key="${var:minlength}"
resource="false"/>
                     <var>
                       <var-name>mask</var-name>
                       <var-value>^\w+$</var-value>
                     </var>
                     <var>
                       <var-name>minlength</var-name>
                       <var-value>5</var-value>
                     </var>
 </field>


In <formset >  tag ,  I want to dynamically set the  Language and Country
depending on which language user is selected in browser. How can I do this
??

If I don't specify the  "country"  and  "language"  in the  <formset >
then  \w  does not work  for Arabic , German characters.  

e.g. 
        <formset country="de" language="de"> 

This "de" should come dynamically like  we get from
request.getLocale()..getLanguage()   . 

And where can I get the help of All Country codes to give for All languages.

I need a help to solve this issue.

Best Regards,
Mahesh More,
Ph - 9890658233.

Reply via email to