|
From: Colin S. <col...@ex...> - 2004-07-21 23:45:39
|
Yes! This could probably be used for theming too, right? Keith Donald wrote: > I’ve recently committed a package to the sandbox providing support for > internationalized labels / reference data, similar to what Gavin > discussed in this TSS article here: > > http://www.theserverside.com/blogs/showblog.tss?id=HibernateInternational > > The code provides support for labels coded by string, character, or > integer, and employs a Resolver interface for retrieving > internationalized label instances by type, locale, and/or code. There > is also basic Hibernate support (e.g custom user types.) > > I actually had the support checked in quite before this article was > written, but upon stumbling across it today it seemed worth mentioning > to see if there is enough general interest to make something like this > part of the core (in general, it’s a relatively few number of > classes.) I currently use it within rich client to drive the display > of combo box drop downs (e.g values in a combo box can be real objects > with behavior and internationalized labels.) > > Currently the code is in the sandbox under the package: > org.springframework.enums ‘enums’ might not be the best name, but in a > sense that’s what these little objects are. “label” or “referencedata” > might be candidates for a better package name, perhaps under “ui” > instead of as top level package. > > Keith > |