You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Szemere Szemere <sz...@googlemail.com> on 2009/08/19 18:02:15 UTC
Numeric validator doesn't recognise scientific numbers (5.0.18)
Using the BeanEditForm, my object has a numeric value (e.g. 120,000,000.00)
which gets displayed in scientific notation (e.g. 1.2E8). That's fine,
except when I try to save the validator complains that 1.2E8 is not a valid
number.
Is this a known issue (searching the mailing lists proved blank)? If not
I'll file it in Jira. If so, has it been fixed?
Szemere
Re: Numeric validator doesn't recognise scientific numbers (5.0.18)
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Wed, 19 Aug 2009 13:02:15 -0300, Szemere Szemere
<sz...@googlemail.com> escreveu:
> Using the BeanEditForm, my object has a numeric value (e.g.
> 120,000,000.00)
> which gets displayed in scientific notation (e.g. 1.2E8). That's fine,
> except when I try to save the validator complains that 1.2E8 is not a
> valid number.
> Is this a known issue (searching the mailing lists proved blank)? If not
> I'll file it in Jira. If so, has it been fixed?
I guess not, so go ahead and file it. :)
You can provide your own translator and DataTypeAnalyzer until this is
implemented in Tapestry itself.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org