In the Example BlogRSSFeed, I want to use messageResourceBundle, 
so in 
BlogRSSFeed::handleRequest

Wt::WApplication *app = Wt::WApplication::instance();
app->messageResourceBundle().use("appPath", false);

I get a runtime error.

Any ideas on how I can get this to function correctly?

Also I don't know how to get an instance of WEnvironment from any class not 
derived from WApplication, do you?
If I did, I could write a class to return the tr strings.

Thanks
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to