Bug 110681 Reportlet
Web pages often use HTML tables instead to organize and position their content. In order to provide more flexibility for integrating report content into the customer web pages, it becomes necessary to introduce a new set of formats that return content as Reportlets or partial DHTML pages. These reportlets can then be included within web pages generated by the customers web application. This project focuses on producing content that is easily embeddable within an overall HTML page.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
/**
	 * Get report locale from Http request.
	 * 
	 * @param request
	 *            http request
	 * @return report locale
	 */
	public static Locale getLocale( HttpServletRequest request )
	{
		return getLocaleFromString( getParameter( request, PARAM_LOCALE ) );
	}
	/**
	 * Check whether the viewer is set rtl option.
	 * 
	 * @param request
	 * @return
	 */
	public static boolean isRtl( HttpServletRequest request )
	{
		boolean isRtl = false;
		if ( "true".equalsIgnoreCase( getParameter( request, PARAM_RTL ) ) ) 
		{
			isRtl = true;
		}
		return isRtl;
	}
	/**
	 * Get report locale from a given string.
	 * 
	 * @param locale