Title: Locale Specific Portlet Titles

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to write a portlet that will have a title that is
displayed as a locale sensitive string.  In other words, I want the
portlet title to be displayed in the locale specified in the
browser's Accept-Language header field.  Locale sensitive information
can be displayed in the getContent() method as this information is
available via the RunData object (ie:
RunData.getRequest().getLocale()).  The problem (as I see it) is that
there is no way to access the RunData object from within the
getTitle() method of a Portlet.
 
Can someone suggest an alternate way to accomplish this, or would
this require an API change in the Portlet interface.
 
Thanks in advance,
- - Tim Taylor

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOlJcQn0GulZt1ukUEQK+DQCg/ckFP2Xo38m19vOaFTSJ+/swhrUAoL8X
ArYvoW3PJcOZYxCEb7fTmy7E
=Xyk9
-----END PGP SIGNATURE-----

Reply via email to