Bug 164445 [Regression]Required value's parameter has no "*" [0705]
Description: Required value's parameter has no "*". Build number: 2.2.0.v20061114-1013 Steps to reproduce: 1.Create a paramter: name:p1, default vale: aa; not allow null value 2.Preview in Web Viewer 3.Pop up parameter dialog Expected result: P1 has mark "*". Actual result: P1 has no mark "*"(set default value). Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ScalarParameterFragment.java
import javax.servlet.http.HttpServletResponse;
import org.eclipse.birt.report.IBirtConstants;
import org.eclipse.birt.report.context.ScalarParameterBean;
import org.eclipse.birt.report.context.ViewerAttributeBean;
import org.eclipse.birt.report.model.api.ScalarParameterHandle;
import org.eclipse.birt.report.model.api.util.ParameterValidationUtil;
import org.eclipse.birt.report.presentation.aggregation.BirtBaseFragment;
import org.eclipse.birt.report.service.api.IViewerReportDesignHandle;
import org.eclipse.birt.report.service.api.IViewerReportService;
import org.eclipse.birt.report.service.api.ParameterDefinition;
import org.eclipse.birt.report.service.api.ReportServiceException;
import org.eclipse.birt.report.utility.ParameterAccessor;
import org.eclipse.birt.report.utility.DataUtil;
/**
 * Fragment help rendering scalar parameter.
 * <p>
 * 
 * @see BaseFragment
 */
public class ScalarParameterFragment extends BirtBaseFragment
{
	/**
	 * Reference to the real parameter definition.
	 */
	protected ParameterDefinition parameter = null;
	/**
	 * Protected constructor.
	 * 
	 * @param parameter
	 *            parameter definition reference.