You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Thomas Vandahl <th...@hm-informatik.de> on 2003/03/28 15:26:19 UTC

Intake and NLS support

Hi folks,

I dunno if this has been asked before, but: What is a kosher way to
implement NLS-support (e.g. with numbers) with Intake? I made some
changes in the BigDecimalField and FloatField classes to accept numbers
entered based on the current Locale (TDK 2.2, that is).

The other way round, numbers are formatted using a
ReferenceInsertionEventHandler. This all works but it leaves several
things to be desired:

- It would be better to handle all this inside Intake. Where is the
place to look for the final toString()-Method?
- At the moment I can only format numbers based on their Class. It would
be better to make a Format string available to each of the number
fields. Intake.xml seems to be a good place to do this. Or is there a
better way?

I guess these features have been discussed beforee but I could not find
something in the archive.

Thanks for any hints.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org