ReportItemModel extension and defining a JavaObject property [message #550621] |
Sat, 31 July 2010 12:18 |
Simon Pope Messages: 28 Registered: July 2009 |
Junior Member |
|
|
We have some very rich Java objects that we want to pass through BIRT to
some custom Draw2D report presentation elements. The Draw2D and the
actual rendering works fine.
However, we're trying to define a property of the report item in the
org.eclipse.birt.report.model.reportItemModel extension as taking a Java
Object – but it's not obvious how to do this.
We've defined the property in the extension point as:
<property
canInherit="true"
defaultDisplayName="Java Object"
displayNameID="property.object"
hasOwnModel="false"
isEncryptable="false"
isList="false"
name="object"
type="choice"
detailType="paramType"
subType="javaObject">
</property>
The extension point shows up as in error for the subtype. Frankly, I
don't understand fully the relationship between the 'type',
'detailType', and 'subType' attributes and that of the rom.def.
All I want to be able to do is define that a report item property takes
an ambiguous Java Object. We can get the java object in the data set, so
binding shouldn't be an issue as long as we can define the property for
the report item.
Can we do this?
- Simon Pope
|
|
|
Powered by
FUDForum. Page generated in 0.04214 seconds