Thanks :)

I'll give it a crack.  Started looking at the BigDecimal validator - 
org.apache.commons.validator.routines.BigDecimalValidator

Rgds

Ned


Jeromy Evans - Blue Sky Minds wrote:
> 
> This should give you an idea. It's modified from existing code so I 
> haven't tested it.
> I've decided to use a collection of NumberFormat's.  You could use any 
> string -> decimal conversion technique you like.
> 
> This can be used to an action by created a 
> <actionname>-conversion.properties will in the same directory as the 
> class, with an entry:
> <propertyName>=example.DecimalConverter
> 
> where <propertyName> is the name of the property name that needs custom 
> conversion and <actionName> is the short class name of your action
> 

-- 
View this message in context: 
http://www.nabble.com/German-Turkey-etc-decimal-use-comma-in-input-fields.-tp15473083p15473719.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to