Defining mask globally

2007-03-14 Thread Sanjay Choudhary
hi I wish to define the global regex for masks in a common file. For example , name field mask will be like ^[a-zA-Z]+$. I wish to replace this with something like

Re: Defining mask globally

2007-03-14 Thread Sanjay Choudhary
nother question: Which version is this of shale-validator? The linenumbers don't match up with the current. Hermod -Opprinnelig melding- Fra: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sendt: 14. mars 2007 21:33 Til: user@shale.apache.org Emne: Defining mask globally hi I wish to

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
]> wrote: Hi Haven't had a look at the code yet, but could you try: Hermod -----Original Message- From: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:03 PM To: user@shale.apache.org; [EMAIL PROTECTED] Subject: Re: Defining mask globally Hi Hermo

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
symbols. Clay really makes life simple in these cases. Try using the validators "message" attribute along with the resourcebundle lookup. Hermod -Opprinnelig melding- Fra: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sendt: 15. mars 2007 16:45 Til: user@shale.apache.org Emne:

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
fix [2]. [1] http://people.apache.org/builds/shale/nightly/ [2] https://issues.apache.org/struts/browse/SHALE-413 Gary -- Original message -- From: "Sanjay Choudhary" <[EMAIL PROTECTED]> > Hi Hermod, > > > for the

Re: Defining mask globally

2007-03-16 Thread Sanjay Choudhary
Hi Gary, It works like a charm :-) Thanks, Sanjay On 3/15/07, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Sanjay Choudhary" <[EMAIL PROTECTED]> > > Gary, > > I am using latest code from CVS 1.1.0-SNAPSHOT. In the comments it says that > this fixe

validation required

2007-03-19 Thread Sanjay Choudhary
I am not sure what I am missing here... snippet from my JSP is in my message bundle file I have overridden javax.faces.component.UIInput.REQUIRED={0} is required. (I read on wiki that message = errors.requ

Re: validation required

2007-03-19 Thread Sanjay Choudhary
I read Gary's email and tried his thoughts. When I tried this without required="true" no message appeared and with required="true" it showed the default message {0} is required. Sanjay. On 3/19/07, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Sanjay C

Re: validation required

2007-03-19 Thread Sanjay Choudhary
mod Opstvedt <[EMAIL PROTECTED]> wrote: Hei Take a look at [1]. Notice the usage of the arg parameter. [1] http://shale.apache.org/shale-validator/index.html Hermod -Opprinnelig melding- Fra: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sendt: 19. mars 2007 21:14 Til: user@shale.apac

Re: validation required

2007-03-20 Thread Sanjay Choudhary
svalidators and call the validate method for them... For a detailed explanation of problem, JSF's working and found alternative solution, you can look at this blog< http://www.jroller.com/page/hasant?entry=jsf_bypassable_client_and_server> (under "Bypassing serverside required validati