[
https://issues.apache.org/jira/browse/JS2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Woonsan Ko resolved JS2-1094.
-----------------------------
Resolution: Fixed
Fixed by implementing a reloadable property resource bundle class and levering
it in portlet factory.
By the way, I'd like to mention that JSTL fmt:setBundle tag caches the resource
bundle. So, if you want to have the portlet resource bundle reloaded in admin
UI, then the portlet should have access to "portletConfig" object like
javax.portlet.PortletConfig#getResourceBundle(renderRequest.getLocale()).
Also, there's one limitation:
The portlet info keys ("javax.portlet.title", "javax.porlet.short-title" and
"javax.portlet.keywords") are never reloaded because those must be properly
registered during deployment time.
So, if you want to reload those, you must re-deploy the portlet application.
> Reloading resource bundle of portlet definition at runtime
> ----------------------------------------------------------
>
> Key: JS2-1094
> URL: https://issues.apache.org/jira/browse/JS2-1094
> Project: Jetspeed 2
> Issue Type: Wish
> Components: Portlet Registry
> Affects Versions: 2.2.0
> Reporter: Woonsan Ko
> Assignee: Woonsan Ko
> Fix For: 2.2.1
>
>
> Currently, the resource bundle defined in the portlet descriptor for a
> portlet definition cannot be reloaded at runtime.
> It would be great if it is possible in admin UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]