You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Hugo Palma <hu...@gmail.com> on 2007/06/06 12:08:04 UTC

Re: T4 question:

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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>