Bug 155751 [regression]Nothing displayed when drag report items from a old library to a report layout
Nothing displayed when drag report items from a old library to a report layout Steps to reproduce: 1.new a report and use a old library in outline view 2.Drag table,label,text,chart all to the report layout 3.Nothing displayed when previewed Expected result: Items can be diplayed properly' Actual result: Items weren't displayed when drag report items from a old library to a report layout while displayed well when drag report items from a new library to a report layout
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
/**
	 * Key to indicate the 'allowPage' control of the preview.
	 */
	public final static String ALLOW_PAGE_KEY = "ALLOW_PAGE_KEY"; 
	/**
	 * Key to indicate the 'servletName' of the preview.
	 */
	public final static String SERVLET_NAME_KEY = "SERVLET_NAME_KEY"; 
	/**
	 * Key to indicate the 'resourceFolder'.
	 */
	public final static String RESOURCE_FOLDER_KEY = "RESOURCE_FOLDER_KEY"; 
	/**
	 * locale mapping. Save some time.
	 */
	public static TreeMap LocaleTable = null;
	static
	{
		
		LocaleTable = new TreeMap( );
		Locale[] locales = Locale.getAvailableLocales( );
		if ( locales != null )
		{
			for ( int i = 0; i < locales.length; i++ )
			{
				Locale locale = locales[i];
				if ( locale != null )
				{
					LocaleTable.put( locale.getDisplayName( ), locale
							.getLanguage( )