> Hi Dave,

Hi Oscar,

> Well done.

Thanks very much!

> Why use a custom Configuration, when your LocalizationBundleFactory
> can also implement ConfigurableComponent? This also allows you to
> initialize the resource bundles.

Hence my post to the mailing list. I wondered if there wasn't a better/other 
way to do this. I used a custom config so I could add my own init-param to the 
Stripes Filter. Keeping the list of bundle names in code wasn't an option and I 
didn't want to use a context-param or a System Property, which would 
disassociate it from Stripes.

[Head-thump] ...I've just re-read the Configuration documentation and saw the 
Extension.Packages which I'd nearly forgotten about. I'll update the guide to 
use less config.  ;o)

> Have a look at StripesStuff (http://www.stripes-stuff.org/):
> it has a localization plugin that allows you to make all resource
> bundles available via your LocalizationBundleFactory class, instead
> of just the resource bundles for fields and errors.

One step at a time... like I said, the purpose was to show my company's 
architect that Stripes on it's own could do anything at least better, more 
elegantly (with less config) and out of the box, than what he already does with 
his "customized Struts"/Spring/JPA framework combination. And now others can 
benefit!

Cheers,

DJDaveMark



      

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to