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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.