Bug 155766 [Regression]Preview will not refresh the modify in design report
Details: Preview will not refresh the modify in design report Step: 1.New a report design. 2.New a label and input label1. 3.Preview. 4.Switch to Layout and modify the content of label as label2. 5.Preview. Actual result: It preview as "label1" twice. Exception result: Preview "label2" at the second time
viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebViewer.java
try
		{
			encodedReportName = URLEncoder.encode( report, "utf-8" ); 
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		String locale = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( USER_LOCALE );
		String svgFlag = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( SVG_FLAG );
		boolean bSVGFlag = false;
		
		String maxrows = ViewerPlugin.getDefault( ).getPluginPreferences( )
				.getString( PREVIEW_MAXROW );
		if ( maxrows == null )
			maxrows = ""; 
		
		boolean rtl = false;
		String eclipseCommands = System.getProperty( "eclipse.commands" ); 
		if ( eclipseCommands != null )
		{
			String[] options = eclipseCommands.split( "-" ); 
			String regex = "[\\s]*[dD][iI][rR][\\s]*[rR][tT][lL][\\s]*"; 
			Pattern pattern = Pattern.compile( regex );
			for ( int i = 0; i < options.length; i++ )
			{
				String option = options[i];
				if ( pattern.matcher( option ).matches( ) )