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
private String getColumnBinding( TableHandle tableHandle, String keyExpression )
	{
		String columnBindingName = null;
		try
		{
			columnBindingName = ExpressionUtil.getColumnBindingName( keyExpression);
		}
		catch ( BirtException e )
		{
			logger.log( Level.FINE, e.getMessage( ), e );
			return null;
		}
		return getColumnBindingByName( tableHandle, columnBindingName );
	}
	private String getColumnBindingByName( TableHandle tableHandle, String columnBindingName )
	{
		if ( columnBindingName == null )
		{
			return null;
		}
		Iterator iterator = tableHandle.columnBindingsIterator( );
		while( iterator.hasNext( ) )
		{
			ComputedColumnHandle columnBinding = (ComputedColumnHandle)iterator.next( );
			if ( columnBindingName.equals( columnBinding.getName( )) )
			{
				return columnBinding.getExpression( );
			}
		}
		return null;