/* (non-Javadoc)
* @see javax.portlet.GenericPortlet#doView(javax.portlet.RenderRequest, javax.portlet.RenderResponse)
*/
protected void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException
{
PortletContext context = getPortletContext();
Locale locale = request.getLocale();
if (locale == null)
{
locale = Locale.getDefault();
}
request.setAttribute("currentLocale", locale.toString());
PortletRequestDispatcher rd = context.getRequestDispatcher("/WEB-INF/view/locale-list.jsp");
rd.include(request, response);
}