Bug 131250 Parameter value set in runtime should be kept until close the preview viewer.
Description: Parameter value set in runtime should be kept until close the preview viewer. Steps to reproduce: 1. New a parameter p1 without default value, drag it to Layout. 2. Define bookmark to p1. 3. Insert a label behind p1, set pageBreakBefore to always, hyperlink to p1 bookmark. 4. Preview in Web Viewer and input p1 value. 5. Go to the next page and click the label link. Expected result: The first page appears. Actual result: The parameter dialog appeared.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
import org.eclipse.birt.report.utility.MessageUtility;
import org.eclipse.birt.report.utility.ParameterAccessor;
/**
 * Data bean for viewing request. Birt viewer distributes process logic into
 * viewer fragments. Each fragment seperates its front-end and back-end process
 * into jsp page and "code behand" fragment class. Viewer attribute bean serves
 * as:
 * <ol>
 * <li> object that carries the data shared among different fragments</li>
 * <li> object that carries the date shared between front-end jsp page and
 * back-end class</li>
 * </ol>
 * In current implementation, ViewerAttributeBean uses request scope.
 * <p>
 */
public class ViewerAttributeBean
{
	/**
	 * Identify the incoming request category.
	 */
	private String category = "BIRT"; 
	/**
	 * Need to store the exception.
	 */
	private Exception exception = null;
	/**
	 * Report runnable.
	 */
	private IReportRunnable reportRunnable = null;
	/**