in my velocity widget I want to load enumerations in the configuration pane. These enumerations are depended on a WI-Type in another project.
Here ist my dependencies.vm:
Code: Select all
Here ist my parameters.vm:
Code: Select all
$parameters.put("title", $factory.string("Title").build())
$parameters.put("dataSet", $factory.dataSet("Data Set").dependencySource(true).build())
#set($titleComposite = $factory.string("Title").value("").build())
#set($coolingsComposite = $factory.enumeration("Cooling-System", "coolings").scope($scope).dependencyTarget(true).allowNoValue(false).build())
#set($composite = $factory.composite("Column").add("title", $titleComposite).add("coolings", $coolingsComposite).build())
$parameters.put("columns", $factory.multi("Columns", $composite).build())
So far everything works - but only when the Widget is used on a LiveReport-Page in the SAME project.
When I use it (the Widget) in another project and select in the DataSet the project where the WI-Type and Enumerations are defined, the coolingsComposite doesn't work.
I think somewhere in these files I have to do some configuration. But I don't know how.
Whats going on here?

Best regards
DreiBaer