I did that. It works, in that it will produce the strings from that file. I created a simple macro.
#macro (msg $property) $action.getText($property) #end Instead of $msg.text --- (from velocity tools struts app), I am using just #msg However, what if someone wants to setup somewhere else in another language..locals...? How do I tell it to use a different property file? Matt On Tue, 2004-01-13 at 13:48, Hani Suleiman wrote: > Why not define a common subclass for all your actions, and have one > resource file for it? If there is no resource file for a particular > action, then webwork will look up the object heirarchy until it finds a > resource. > > Matthew Payne wrote: > > > Can the property webwork.custom.properties=ApplicationResources > > be set to load language strings. > > > > Is there any such property for loading an external file? > > > > i.e. can whats the simplest way to use an existing struts resource file? > > (without making a file for each action) > > > > Thanks, > > > > Matthew Payne > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork