Bug 156335 Blank value is not accepted without display text
Steps to reproduce: 1.New a list parameter, add a seletion choice: value->blank, display text->a 2.Drag the parameter to the layout 3.Preview, choose "a" in select list, blank value is accepted. It's expected result 4.Back to the layout, clean the display text for the parameter 5.Preview, choose the blank value in select list Expected result: Blank value is accepted Actual result: "Parameter should have a value"
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java
import com.ibm.icu.util.ULocale;
public class BirtCacheParameterActionHandler extends AbstractBaseActionHandler
{
	/**
	 * Constructor.
	 * 
	 * @param context
	 * @param operation
	 */
	public BirtCacheParameterActionHandler( IContext context,
			Operation operation, GetUpdatedObjectsResponse response )
	{
		super( context, operation, response );
	}
	protected void __execute( ) throws Exception
	{
		ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( );
		assert attrBean != null;
		
		String reportDesignName = attrBean.getReportDesignName( );
		
		String configFileName = ParameterAccessor
				.getConfigFileName( reportDesignName );
		if ( configFileName == null )
		{
			handleUpdate( );
			return;
		}
		
		SessionHandle sessionHandle = DesignEngine.newSession( ULocale.US );