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:
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
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
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
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:
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 /
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