You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Deva Pitchai(NatureSoft)" <de...@naturesoft.net> on 2006/04/17 11:40:40 UTC
[Amount pattern matching - validator]
Hi all,
I would like to validate the following pattern using validator
Any idea foo how to achieve this?
my propable pattern is ...
9.999.999.999.999.999,99 [French notation]
In short, if a user enter the value for this field, it should match this
pattern.
thanks in adv
--
Regards,
Deva.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [Amount pattern matching - validator]
Posted by "Deva Pitchai(NatureSoft)" <de...@naturesoft.net>.
hi Vinit
Thanks for your reply.
I will it up and update you in a short tim.
THanks again
Deva
Vinit Sharma wrote:
>Hi,
>
>"Each validator form is grouped within a FormSet element in the Validator
>configuration file. The FormSet has language, country, and variant
>attributes that correspond with the java.util.Locale class. If these
>attributes are not specified, the FormSet will be set to the default locale.
>A FormSet can also have constants associated with it. On the same level as a
>FormSet there can be a global element which can also have constants and have
>validator actions that perform validations."
>
>For more info, refer to:
>http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html#i18n
>
>HTH,
>
>
>On 4/17/06, Deva Pitchai(NatureSoft) <de...@naturesoft.net> wrote:
>
>
>>Hi all,
>>
>>I would like to validate the following pattern using validator
>>Any idea foo how to achieve this?
>>
>>my propable pattern is ...
>>
>>9.999.999.999.999.999,99 [French notation]
>>
>>In short, if a user enter the value for this field, it should match this
>>pattern.
>>
>>thanks in adv
>>
>>--
>>Regards,
>>Deva.
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>
>
>--
>Vinit Sharma
>IBM
>
>
>
Re: [Amount pattern matching - validator]
Posted by Vinit Sharma <vi...@gmail.com>.
Hi,
"Each validator form is grouped within a FormSet element in the Validator
configuration file. The FormSet has language, country, and variant
attributes that correspond with the java.util.Locale class. If these
attributes are not specified, the FormSet will be set to the default locale.
A FormSet can also have constants associated with it. On the same level as a
FormSet there can be a global element which can also have constants and have
validator actions that perform validations."
For more info, refer to:
http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html#i18n
HTH,
On 4/17/06, Deva Pitchai(NatureSoft) <de...@naturesoft.net> wrote:
>
> Hi all,
>
> I would like to validate the following pattern using validator
> Any idea foo how to achieve this?
>
> my propable pattern is ...
>
> 9.999.999.999.999.999,99 [French notation]
>
> In short, if a user enter the value for this field, it should match this
> pattern.
>
> thanks in adv
>
> --
> Regards,
> Deva.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Vinit Sharma
IBM