Bug 158102 [Regression]Html visibility effects seems to take no effects to all items
Html visibility effects seems to take no effects to all items Steps to reproduce: 1.new a report 2.add report items and set html visibility to them Expected result: Html visibility should take effects Actual result: No effects were displayed to all items
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
*/
	private void setupTemplateReportElement( ReportItemDesign element,
			TemplateReportItemHandle handle )
	{
		setupReportElement( element, handle );
		
		
		Iterator visibilityIter = handle.visibilityRulesIterator( );
		VisibilityDesign visibility = createVisibility( visibilityIter );
		element.setVisibility( visibility );
	}
	protected String createExpression( String expr )
	{
		if ( expr != null && !expr.trim( ).equals( "" ) )
		{
			return expr;
		}
		return null;
	}
	/**
	 * create a Action.
	 * 
	 * @param handle
	 *            action in DE
	 * @return action in Engine.
	 */
	protected ActionDesign createAction( ActionHandle handle )
	{
		ActionDesign action = new ActionDesign( );
		String linkType = handle.getLinkType( );