Bug 147558 Passing date parameters to drill-through reports
Due to the date/time format, I can't pass a date parameter to a drill-through report. The date/time input requires that the user enters the date in a very specific format otherwise, the viewer does not recognize it as a valid date. Therefore, I set my text box to be have the date/time format 'dd-MMM-yyyy HH:mm' which is user-friendly. When I bind the param to the drill-through report, it passes 'Jan 1, 20006 22:33' or something in that order. Then the report that was being called returns that it is not a valid date. There is no function to format a date object to a specific format (or that I could find).
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
import org.apache.axis.AxisFault;
import org.eclipse.birt.report.IBirtConstants;
/**
 * Utilites class for all types of URl related operatnios.
 * <p>
 */
public class ParameterAccessor
{
	
	/**
	 * Servlet path for parameter model.
	 */
	public static final String SERVLET_PATH_PARAMETER = "/parameter"; 
	/**
	 * Servlet path for preview model.
	 */
	public static final String SERVLET_PATH_PREVIEW = "/preview"; 
	/**
	 * Servlet path for frameset model.
	 */
	public static final String SERVLET_PATH_FRAMESET = "/frameset"; 
	/**
	 * Servlet path for running model.
	 */
	public static final String SERVLET_PATH_RUN = "/run"; 
	/**
	 * Servlet path for running model.
	 */
	public static final String SERVLET_PATH_DOWNLOAD = "/download";