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.9. Sample scenario: translating whole resources

Another way to accomplish internationalization is by translating and maintaining separate JSPs within a predictable directory structure. The Portal will take responsibility for locating the correct file at runtime, depending on the preferred language selected by the user.

Figure 12-29. Sample scenario
1.
Open the WebContent/messagereceiver/jsp/html/MessageReceiverPortletView.jsp page to delete fmt tags and return to static information. Your code should look as shown in Example 12-21.
Example 12-21. MessageReceiverPortletView.jsp
<%@ page session="false" contentType="text/html" ...

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