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.

From: "Laurie Harper" <[EMAIL PROTECTED]>

Michael Ewers wrote:
Can anyone see a reason why the html:text implementation in
struts-html.tld
doesn't support a formatKey attribute?
I guess because there are already ways to format values which can be
composed with <html:text/> so it doesn't *need* to support it. If
there's some reason that approach wont work in some situation or other,
or if you feel strongly that the convenience of adding formatKey to
<html:text/> and/or other tags outweighs the API bloat, you can submit
an enhancement request, though.

To whom can I send patches that I write?
The best way is to open a ticket in Bugzilla and attach patches there.
Posting to / nagging on the dev list is the best way to get the patches
looked at and would be the best place to ask whether such patches are
likely to be accepted.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22991

Niall



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



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

Reply via email to