Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-305

Provide access to a portlet's ResourceBundle's as loaded by Pluto

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1
    • portlet container
    • None

    Description

      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);

      Attachments

        Issue Links

          Activity

            People

              ddewolf David H. DeWolf
              edalquist Eric Dalquist
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: