Re: Using localized strings in an AjaxGrid properties file?
Re: Using localized strings in an AjaxGrid properties file?
- Subject: Re: Using localized strings in an AjaxGrid properties file?
- From: Chuck Hill <email@hidden>
- Date: Wed, 23 Apr 2008 10:11:57 -0700
On Apr 23, 2008, at 7:31 AM, Helmut Schottmüller wrote:
Hi folks,
is it possible to use localization in the AjaxGrid properties file?
I would like to add localized strings for the column titles of the
grid and it would nice to do this in the properties plist. Maybe
there is something like the formatterClass key to make this happen...
If not, would it be a useful feature request to support localization
of column titles?
An interesting question, but problematic. The Ajax framework has a
very light dependancy on ERExtensions where Wonder style localization
is implemented. I think that tying the Ajax framework to one specific
localization implementation is not a good idea.
Here are some ideas to consider:
- do it a level up, provide a localized config. You could even merge
the common values with the localized ones. It is just a
NSMutableDictionary
- use a formatter. It would have to use thread local storage to get
at the session. If you use Wonder, this is already there.
- sub-class AjaxGrid and do the localization in the sub-class
Any other ideas?
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden