Garion,
I have had great success with the Grid Search widget for these kinds of complex search requirements. Might help you with this.
Mike
Hi Garion,
If you have associations to your report selection entity for a user to select an organization structure to filter on, then you can write this in your xpath constraint.
Here is an example:
If you have a domain model similar to this:
and you want to retrieve events based on the association that is set to report selection, then your xpath will look like this:
[MyFirstModule.Event_OrganizationStructure = $ReportSelection/MyFirstModule.ReportSelection_OrganizationStructure]
The report selection needs to be persistent in order for you to use its association in an xpath retrieve. If you want it to be non-persistent, then you can retrieve the organization structure through the report selection object and use that in your retrieve.
[MyFirstModule.Event_OrganizationStructure = $OrganizationStructure]
Hope this helps!