Hi,
I am writing just to tell that I found the solution. That problem was that I
was looking at the wrong place.

   <component id="fieldQuantidade" type="TextField">
       <binding name="value" value="ognl:proposta.quantidade"/>
       <binding name="displayName" value="literal:Quantidade"/>
       <binding name="translator" value="translator:number"/>
       <binding name="validators" value="validators:required"/>
   </component>

Thanks for the attention
Pedro

---------- Forwarded message ----------
From: Pedro Garcia
Date: May 25, 2006 11:33 AM
Subject: InputValidation
To: Tapestry users <tapestry-user@jakarta.apache.org>

Hi,
I'm using Tapestry 4 and I am having a hard time with number inputvalidation
with TextField component.
Can anyone tell me
how to check if the value is an Integer and
how to check if the value is a Float and
how to check if the value is a Double.

and how to set the decimal separator to be a ',' .

Thanks,
Pedro da Silva Garcia


--
Atenciosamente,
Pedro da Silva Garcia

Reply via email to