Bug 153412 Change parameter type will cause preview fail
Description: Change parameter type will cause preview fail Steps to reproduce: 1. New a report paramter, string, text-box, default value is abc. 2. Drag the parameter to Layout and preview. 3. Change the parameter's type to integer, list-box, add a value 1 4. Preview Expected result: No errors. Actual result: The value "abc" is invalid with the type "integer".
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java
paramValue = op[i].getValue( );
					}
					
					configVar.setName( paramName + "_" + parameter.getID( ) ); 
					configVar.setValue( paramValue );
					handle.addConfigVariable( configVar );
				}
			}
		}
		
		handle.saveAs( configFileName );
		handle.close( );
		handleUpdate( );
	}
	protected void handleUpdate( )
	{
		Data data = new Data( );
		data.setConfirmation( "Parameter value saved." ); 
		UpdateData updateData = new UpdateData( );
		updateData.setTarget( "birtParameterDialog" ); 
		updateData.setData( data );
		Update update = new Update( );
		update.setUpdateData( updateData );
		response.setUpdate( new Update[]{update} );
	}
	protected IViewerReportService getReportService( )
	{
		return null;
	}
}