12.8. Sample scenario: NLS bundles
In this sample scenario, NLS bundles will be created to support multiple languages. Once you have done this using RAD, the JSP that delivers markup content in View mode for portlet MessageReceiverPortlet will be enhanced to access the NLS bundles.
The Portlet Messaging application sample scenario from Chapter 7, “Portlet messaging” on page 225 will be used as a base application to add NLS support. The scenario is illustrated in Figure 12-18.
Figure 12-18. National Language Support (NLS) scenario
The resource bundle is accessed via the PortletContext object’s getText method and you will ...
Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.