Hi,
I'm trying to work out how to use connected collections (similar to
the Tate example :
http://people.csail.mit.edu/dfhuynh/misc/tate/tate-collection.html).
Basically, I trying to build an exhibit of a DOAP document
(Description of a Project), where I have the following structure of
nodes:
Project(s) -> Version(s) -> Feature(s)
(The Feature is not part of the DOAP, I'm extending it to maintain a
record of individual fixes and new features)
Following the Tate example, no problem in building the collection
roles:
<div ex:role="collection"
ex:itemTypes="Project"
id="c3d"></div>
<div ex:role="collection"
ex:itemTypes="Version"
ex:baseCollectionID="c3d"
ex:expression=".release"
ex:restrictBaseCollection="true"
id="c3d-version"></div>
<div ex:role="collection"
ex:itemTypes="Feature"
ex:baseCollectionID="c3d-version"
ex:expression=".features"
ex:restrictBaseCollection="true"
id="c3d-feature"></div>
I can also add individual views for each type of nodes:
<div ex:role="view"
ex:label="Versions"
ex:viewClass="Tile"
ex:collectionID="c3d-version"
ex:showAll="true">
</div>
<div ex:role="view"
ex:label="Features"
ex:collectionID="c3d-feature"
ex:viewClass="Tile"
ex:showAll="true">
But what I am also trying to get is a view that will combine the
(filtered) items for BOTH the Versions and Features. The idea is to
get all of them in a timeline.
If I define a collection like this:
<div ex:role="collection"
ex:itemTypes="Project,Version,Feature"
id="c3d-combine"></div>
I end up with all items unfiltered by the facets.
I tried several variations but to no avail. Any hint about how to
acvhieve a combined view?
Nicolas