Bug 173037 How to get drill-through "action/targetFileType" property at runtime?
My report design contains drill-through hyperlinks to another report design or particular report document. The link target document type is represented by action/targetFileType property in the design XML file, for example: <structure name="action"> <property name="reportName">cust_orders_payments.rptdocument</property> <property name="targetFileType">report-document</property> ... </structure> At runtime, I receive IAction object, for example in a custom IHTMLActionHandler implementation, but it has no targetFileType property. Is it possible to obtain it somehow or is it a bug?
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
action.setTargetWindow( handle.getTargetWindow( ) );
		}
		else if ( EngineIRConstants.ACTION_LINK_TYPE_BOOKMARK_LINK
				.equals( linkType ) )
		{
			action
					.setBookmark( createExpression( handle.getTargetBookmark( ) ) );
		}
		else if ( EngineIRConstants.ACTION_LINK_TYPE_DRILL_THROUGH
				.equals( linkType ) )
		{
			action.setTargetWindow( handle.getTargetWindow( ) );
			DrillThroughActionDesign drillThrough = new DrillThroughActionDesign( );
			action.setDrillThrough( drillThrough );
			drillThrough.setReportName( handle.getReportName( ) );
			drillThrough.setFormat( handle.getFormatType( ) );
			drillThrough.setBookmark( createExpression( handle
					.getTargetBookmark( ) ) );
			drillThrough.setBookmarkType( !DesignChoiceConstants.ACTION_BOOKMARK_TYPE_TOC 
					.equals( handle.getTargetBookmarkType( ) ));
			Map params = new HashMap( );
			Iterator paramIte = handle.paramBindingsIterator( );
			while ( paramIte.hasNext( ) )
			{
				ParamBindingHandle member = (ParamBindingHandle) paramIte
						.next( );
				params.put( member.getParamName( ), createExpression( member
						.getExpression( ) ) );
			}
			drillThrough.setParameters( params );