portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-1094) Reloading resource bundle of portlet definition at runtime
Date Wed, 03 Mar 2010 16:58:27 GMT

     [ 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

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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message