Try setting the translator binding to

"translator:number,omitZero=true"

See the section on translators here http://tapestry.apache.org/tapestry4.1/usersguide/validation.html

Nazmul wrote:
I'm trying to work through the chapter 3 of the book "Enjoy web development with
Tapestry" This book using tapestry4.1.1 and pointed a bug alert:
"BUG ALERT: In Tapestry 4.1.1 there is a bug in NumberTranslator. It will
convert an empty string into 0, not null. This will get pass both the required
and the min validators".

How do I enforce the required in validator?

Thanks

naz


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


Reply via email to