Bug 153404 Custom format string in report parameter doesn't work correctly
Description: Custom format string in report parameter doesn't work correctly Steps to reproduce: 1. New a report parameter, string type, text-box, input qwewretry as default value. 2. Click change button, select Zip code format, click OK 3. Drag the parameter to Layout and preview Expected result: Format works Actual result: In popup dialog, value are formated and click OK, display value is not formatted. Then I switched back to Layout and changed the parameter format to lowercase, then preview. This time I saw Zip code format worked instead of lowercase effect!
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java
/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Actuate Corporation - Initial implementation.
 ************************************************************************************/
package org.eclipse.birt.report.service.actionhandler;
import java.io.File;
import org.eclipse.birt.report.context.IContext;
import org.eclipse.birt.report.context.ViewerAttributeBean;