Bug 201526 Mutil parameter value will show the mutil value[0705]
Description: Mutil parameter value will show the mutil value[0705] Step: 1. New a list parameter and select allow multiple value 2. Add some value in it. 3. Drop the parameter in layout( param["NewParameter1"] ). 4. Preview and select several value. Actual result: It will preview a object string. Expected result: The value that is selected will be previewed.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
}
	}
	public Object visitText( ITextContent text, Object value )
	{
		handleOnRender( text );
		return value;
	}
	/**
	 * handle the foreign content object.
	 * 
	 * Foreign content can be created by following design element:
	 * <li> Text(HTML). It will create a TEMPLATE_TYPE foreign object.
	 * <li> MultiLine(HTML). It will create a HTML_TYPE forign object
	 * <li> MultiLine(PlainText).It will create a TEXT_TYPE foreign object
	 * <li> Extended item. It will create a
	 * TEXT_TYPE/HTML_TYPE/IMAGE_TYPE/VALUE_TYPE foreign object.
	 * 
	 */
	public Object visitForeign( IForeignContent foreignContent, Object value )
	{
		IReportContent reportContent = getReportContent( );
		
		String rawFormat = foreignContent.getRawType( );
		Object rawValue = foreignContent.getRawValue( );
		if ( IForeignContent.TEMPLATE_TYPE.equals( rawFormat ) )
		{
			handleOnRender( foreignContent );
			processTemplateContent( foreignContent );
			return foreignContent;
		}