[Opensource] DBObject.setSchema() called automatically;
expresso message bundle searched after application's bundle
larry hamel
expresso at codeguild.com
Sat Mar 6 13:54:40 PST 2004
fyi, just checked in:
DBObject.setSchema() for each DBObject is now called automatically by ConfigManager at startup.
Previously, developers had to call it within each DBObject's setup(). If they did not call setSchema(), then during resource bundle lookups for translation strings, the schema would default to the Expresso schema, so the Expresso bundle would be searched. Consequently, applications like eforum have a bunch of strings in the Expresso bundle. To accommodate this legacy expectation, MessageBundle now has the following logic: if a translation string is not found, and the current schema is not Expresso, then also search for the string in the Expresso bundle.
Larry Hamel
----------------------
Free link-test tool (special handling for Expresso sites): http://morebot.org
Custom web site development: http://codeguild.com
More information about the Opensource
mailing list