You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "David DeWolf (JIRA)" <ji...@apache.org> on 2007/02/06 01:38:05 UTC
[jira] Commented: (PLUTO-305) Provide access to a portlet's
ResourceBundle's as loaded by Pluto
[ https://issues.apache.org/jira/browse/PLUTO-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470410 ]
David DeWolf commented on PLUTO-305:
------------------------------------
I'm thinking that we could modify the PortletRegistryService to provide access to a composite (InternalPortletContext) of both the PortletDD and the PortletContext. I'll be looking into this, but I think I'll probably push it off until 1.1.1.
> Provide access to a portlet's ResourceBundle's as loaded by Pluto
> -----------------------------------------------------------------
>
> Key: PLUTO-305
> URL: https://issues.apache.org/jira/browse/PLUTO-305
> Project: Pluto
> Issue Type: Improvement
> Components: portlet container
> Affects Versions: 1.1.0
> Reporter: Eric Dalquist
> Fix For: 1.1.1
>
>
> A service is needed to access the ResourceBundle of a a portlet for a specific Locale. Since Pluto is already dealing with classloaders to load the portlet's ResourceBundle's as they are requested from the PortletConfig API.
> The part of this enhancement that will be more difficult is dealing with ResourceBundle requests from the portal for a ResourceBundle that has not yet been loaded. The portal shouldn't need to provide a full request/response context so Pluto will need a way other than getting the context class loader from the current thread to load the ResourceBundles.
> One option would be to store the ClassLoader for the PortletDD somewhere when the init() call is made to the portlet.
> Another part of the enhancement that is difficult to answer is how the portal should identify which PortletDD it wants to get a ResourceBundle for. The requested API is along the lines of:
> ResourceBundle resourceBundleService.getResourceBundle(Locale, PortletDDIdentifier);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.