Re: [s2] Message resources from database

2006-11-25 Thread Ted Husted
On 11/25/06, Ted Husted <[EMAIL PROTECTED]> wrote: Essentially, you can implement the Java ResourceBundle interface /s/implement the Java ResourceBundle interface/extend the Java ResourceBundle class - To unsubscribe, e-mail:

Re: [s2] Message resources from database

2006-11-25 Thread Ted Husted
It's actually fairly simple to do. There's a detailed example in the WebWork in Action book (see page 375). Struts 2 (and WW2) search the class heirarchy for message resources, looking first for classes that Essentially, you can implement the Java ResourceBundle interface and have it lookup the

[s2] Message resources from database

2006-11-17 Thread Nate Drake
Hi, We're in the process of migrating a Struts1 app to Struts2. In Struts1 we created a subclass of PropertyMessageResources to get our messages from the database instead of properties files. I can't seem to find how we'd go about doing this in Struts2. Do I just subclass com.opensymphony.xwork