RE: Defining mask globally

2007-03-15 Thread hermod.opstvedt
Hi Haven't had a look at the code yet, but could you try: val:validatorVar name=mask value=#{globalmask['name']} / 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: SV: Re: basic dialog nullpointerexception

2007-03-15 Thread hermod.opstvedt
Hi I run all sorts of combinations of Tomcat and Eclipse (w/WTP) in order to test what works and what does not. I have not seen the behaviour you describe, which leads towards thinking that you may have some added stuff in the project classpath that may cause odd behaviour. Hermod

RE: Strange behavior from a tags when using Clay HTML templates

2007-03-15 Thread Richard Eggert
Okay, I've reported it as SHALE-426. Rich Eggert Member of Technical Staff Proteus Technologies, LLC http://www.proteus-technologies.com -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wed 3/14/2007 9:56 PM To: user@shale.apache.org Subject: Re: Strange behavior

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
Hi Hermod, I will try this. I have another question regards to the mask - Is it possible to display different message for each mask validation? Is there a way I can pass the message to each of the mask validation? For example - For this validation I may like to display Only Alpha chars are

SV: Defining mask globally

2007-03-15 Thread Hermod Opstvedt
Hi Since I use Clay, I solve this with 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:

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
Hi Hermod, for the following scenerio 1 h:inputText id=companyName styleClass=inputText value=#{BrokerRepresentative.companyName} size=20 val:commonsValidator type=maxlength arg=Company Name maxlength=30 server=true /

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
Gary, I am using latest code from CVS 1.1.0-SNAPSHOT. In the comments it says that this fixed in 1.1.0-SNAPSHOT. Problem is with the late binding in val:validatorVar name=mask value=#'{ bu.ALPHAONLY} / -Sanjay On 3/15/07, Gary VanMatre [EMAIL PROTECTED] wrote: Please try the nightly build