2007/3/14, Nils-Helge Garli <[EMAIL PROTECTED]>:
In a portlet, the locale can be fetched from the PortletRequest
object. There is a snippet of code in the Jsr168Dispatcher that does
this. Also, check out
http://www.jdocs.com/portlet/1.0/api/index.html?javax/portlet/PortletRequest.html

In addition to it, you can get inspiration by Tiles, where portlet and
servlet requests are handled in a similar way, see:
http://tiles.apache.org/tiles-core/apidocs/org/apache/tiles/context/TilesRequestContext.html

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to