struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <>
Subject Re: German/Turkey etc decimal use comma in input fields.
Date Thu, 14 Feb 2008 03:23:15 GMT
Ned Collyer wrote:
> Has anyone fixed this issue, or got an "easy" working implementation.
> I've read
> which seems to be ended rather abruptly when Martin did not get an answer.
The default type converter uses the current locale.

As mentioned in the referenced thread, you can:
  - create a custom type converter for that field that accepts a wider 
variety of number formats; or;
  - use a string for that field in your action and handle the conversion 

To turn off the automatic "input" result for a conversion or validation 
error you may remove the workflow interceptor from your action's 
interceptor stack. I don't think that's a good idea though.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message