TurbineResources question (possibly dumb)
"Jeffery Painter" <[email protected]> Tue, 12 Apr 2011 15:18:13 -0400
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
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