I never used turbine 2.3.2 but I would guess that you are looking for
Turbine.getConfiguration().getString("[key]");/Ludwig -----Ursprungligt meddelande----- Från: Jeffery Painter [mailto:[email protected]] Skickat: den 12 april 2011 21:18 Till: [email protected] Ämne: TurbineResources question (possibly dumb) Hello! I'm looking at finally moving on to Turbine 2.3.3, but ran into a snag right off the bat. The following code used to seem pretty standard (worked in 2.3.2) but is now broken. What is the replacement for TurbineResources.getString() ? I can't find anything on the "migration" page for this, so posing to the list. ---------------------------------------------------------- if (acl==null) { data.setScreenTemplate( TurbineResources.getString("template.login")); isAuthorized = false; } else { data.setScreenTemplate( TurbineResources.getString("template.login")); data.setMessage("You do not have access to this part of the site."); isAuthorized = false; } ---------------------------------------------------------- Thanks, Jeff Painter --------------------------------------------------------------------- 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]
