I think the *cleanest* way is to format data at presentation layer (jsp). Last example from Laurie is quite correct and clean, if it is too long code let get a try with JSTL and
Struts-EL taglibs (<html-el:text>)

Michael Ewers escribió:

Hi,

To avoid misunderstandings: My goal is to have a DynaActionForm definition's "initial"-value translated in a locale specific manner so that e.g. the <html:text>-tag displays a initial="1,001.00" as a "1.001,00" in German locale Browsers. After reading some struts-code I think that the best (meaning "cleanest") way to do it ist to change the classes that prepopulate DynActionForms from the "initial" attribute. That won't be easy because the forms are populated when the modules are configured. That means there's no locale available by then. That's why I might have to change some more classes.
I'll try to do those changes and offer the patches on the dev-list.

Michael.



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

Reply via email to