you could just write your own IStringResourceLoader and pull those resources right out of the db
-igor On Wed, Mar 19, 2008 at 10:19 AM, jnorris <[EMAIL PROTECTED]> wrote: > > Hi all, > > Does anyone know if it is possible to dynamically modify a property file or > overwrite it using Wicket? The property files are all in .xml format and > the keys are taken from a database when a tree is dynamically built based on > the values read in. The keys are used in a StringResourceModel to provide > the text for the tree nodes. On another page, the admin user can add/edit > new entries and I would like to also have the new or revised key-value data > items written to the property file(s) (including supported locales) at the > same time. The app deployment is expanded. I know I can get the path > starting with the package nameusing getAbsolutePath() on a PackageResource > but I'm not sure how to get the full path from the root folder. > > Thanks, > Jim > -- > View this message in context: > http://www.nabble.com/Dynamic-updating-of-property-file-tp16146867p16146867.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
