Look at org.apache.tapestry.form.translator.NumberTranslator in the 4.0 branch.
It should be easy enough to adapt this to the 3.0 IValidator interface.

Paul

Eric Schneider wrote:

Hi,

Has anyone created a subclass of NumberValidator that includes a format attribute similar to the DateValidator implementation?

I need ValidFields to take numeric values formatted like: "150,000"

Just figured I'd take a stab before getting dirty.

Thanks,
Eric

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



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

Reply via email to