Seems like the Slashes got lost, 
yes I tried that, but merely had any effect, the resulting error was the
same.

--------- Original-Nachricht --------
Von: Struts Users Mailing List <[EMAIL PROTECTED]>
An: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Betreff: RE: Help on Validator MASK needed
Datum: 30/07/04 15:14

> have you tried escaping the + and -?  [+-]
> 
> &gt; -----Original Message-----
> &gt; From: Thomas Vogt [mailto:[EMAIL PROTECTED]
> &gt; Sent: Friday, July 30, 2004 8:10 AM
> &gt; To: [EMAIL PROTECTED]
> &gt; Subject: Help on Validator MASK needed
> &gt; 
> &gt; 
> &gt; Hi, I would appreciate some help,
> &gt; 
> &gt; My DynaValidator Form doesn't get validated, I need a signed 
> &gt; value (the
> &gt; field is an Integer). But the Mask doesn't seem to get the 
> &gt; meaning in the
> &gt; plus or minus in front. Thats why whenever the form gets 
> &gt; validated i get the
> &gt; mask error.
> &gt; 
> &gt; Below is my actual validation.xml, but I tried combinations 
> &gt; like : [+-]{1}
> &gt; or [+-]{1} or [+-]{1} too 
> &gt; 
> &gt; &lt;field property=&quot;liquiditaetsaenderung&quot;
depends=&quot;required, mask&quot;&gt;
> &gt;    &lt;msg name=&quot;mask&quot; 
> &gt; key=&quot;error.mask.liquiditaetsaenderung.entscheidung&quot;/&gt;
> &gt;    &lt;arg0
key=&quot;error.field.liquiditaetsaenderung.entscheidung&quot;/&gt;
> &gt;    
> &gt;
&lt;var&gt;&lt;var-name&gt;mask&lt;/var-name&gt;&lt;var-value&gt;^+|-[0-9]*$&lt;/var-value&gt;&lt;/var&gt;
> &gt; &lt;/field&gt;
> &gt; 
> &gt; Anyone with an idea on how to solve this problem ??
> &gt; 
> &gt; Thanks
> &gt; 
> &gt; Thomas
> &gt; 
> &gt; ________________________________________________
> &gt; Message sent using UebiMiau 2.7.8
> &gt; 
> &gt; 
> &gt; 
> &gt; ---------------------------------------------------------------------
> &gt; To unsubscribe, e-mail: [EMAIL PROTECTED]
> &gt; For additional commands, e-mail: [EMAIL PROTECTED]
> &gt; 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

________________________________________________
Message sent using UebiMiau 2.7.8



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to