Author: vkumar
Date: Mon Jan 5 11:58:29 2009
New Revision: 731672
URL: http://svn.apache.org/viewvc?rev=731672&view=rev
Log:
Fixing decorator actions issues
Modified:
portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/portal/src/java/org/apache/jetspeed/decoration/AbstractDecoratorActionsFactory.java
Modified:
portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/portal/src/java/org/apache/jetspeed/decoration/AbstractDecoratorActionsFactory.java
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/portal/src/java/org/apache/jetspeed/decoration/AbstractDecoratorActionsFactory.java?rev=731672&r1=731671&r2=731672&view=diff
==============================================================================
---
portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/portal/src/java/org/apache/jetspeed/decoration/AbstractDecoratorActionsFactory.java
(original)
+++
portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/portal/src/java/org/apache/jetspeed/decoration/AbstractDecoratorActionsFactory.java
Mon Jan 5 11:58:29 2009
@@ -157,14 +157,13 @@
template.getCustomState()));
HashMap resourcesMap = (HashMap)actionResourcesMap.get();
- ResourceBundle bundle = null;
+ ResourceBundle bundle =
DecoratorAction.getResourceBundle(rc.getLocale());
String localizedName = null;
if (resourcesMap == null)
{
resourcesMap = new HashMap();
actionResourcesMap.set(resourcesMap);
- bundle = DecoratorAction.getResourceBundle(rc.getLocale());
resourcesMap.put(DecoratorAction.RESOURCE_BUNDLE, bundle);
localizedName = DecoratorAction.getResourceString(bundle,
actionName, actionName);
resourcesMap.put(actionName,localizedName);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]