O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required