You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Nick Lothian <ni...@essential.com.au> on 2004/10/29 04:49:30 UTC
RE: ResourceBundle of Portlet
Look at the Internationalization section in
http://portals.apache.org/pluto/userguide/portal.html
<http://portals.apache.org/pluto/userguide/portal.html>
Nick
-----Original Message-----
From: Terry lee [mailto:SpiritSeekerS@sqatester.com]
Sent: Friday, 29 October 2004 12:19 PM
To: pluto-user@portals.apache.org
Subject: ResourceBundle of Portlet
Importance: Low
Hi all,
I config my portlet with resourcebundle like this:
============Portlet.XML===============
<portlet>
<description>PortletConfig Demo</description>
<portlet-name>PortletConfigImpl</portlet-name>
<display-name>PortletConfig Implementation</display-name>
<portlet-class>jsr168.PortletConfigImpl</portlet-class>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>zh</supported-locale>
<resource-bundle>jsr168.portletconfigimpl</resource-bundle>
<portlet-info>
<title>GenericPortlet Implementation</title>
<short-title>GenericPortletImpl</short-title>
<keywords>GenericPortlet,interface</keywords>
</portlet-info>
</portlet>
But after deploy the portlet , the title of the portlet is some garbage
code , i have to change Encoding of the browser by myself then the title can
be displayed correctly , any ideas??? Does pluto support other locale
besides Latin-1???
regards,
Terry
_____
Join SQAtester.com Community --->
http://www.sqatester.com/testersarea/joinus.htm