Project: Birt
Bug 173037 How to get drill-through "action/targetFileType" property at runtime?
Reported: 2007-02-06 07:22:24 | Status: resolved fixed

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?

Files changed in fix:
engine/org.eclipse.birt.report.engine.emitter.html.tests/test/org/eclipse/birt/report/engine/emitter/html/DrillThroughActionScriptTest.java engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/content/ReportContentReaderAndWriterTest.java engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/emitter/EmbeddedHyperlinkProcessorTest.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/IAction.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/Action.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IActionInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IDrillThroughInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/IDrillThroughAction.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/IHyperlinkAction.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/ActionContent.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/DrillThroughAction.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportItemExecutor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/ActionDesign.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ActionInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/DrillThroughInstance.java