Hi there,

Using Exhibit quite recently, I tried to understand how to select and work 
sub collections from a collection *(my final question is a the bottom of 
this post)*.

I mean that I have different items of different types : for example box, 
folder and sheet are my types.
Boxes contain folders, folders contains sheets.

Predicats :
- Sheets have a "inFolder" property which links a sheet to a folder.
- Folders have a "inBox" property which links a folder to a box.

So I have a link between sheets and boxes using : !inBox!inFolder - I 
select the sheets which are in folders which are in the box I'm currently 
reading in my view.

I'd like to generate a view like this:

|  BoxName         | SheetInfo
----------------------------------------------------------------------
| MyFirstBox       |    - sheet1Date, sheet1Author etc.
|                         |    - sheet2Date, sheet2Author etc.
|----------------------------------------------------------------------
| MySecondBox   |    - sheet3Date, sheet3Author



To do that I'm trying to do something like :

<div ex:role="exhibit-collection" ex:itemTypes="box"></div>
      <div ex:role="view" ex:viewClass="Tabular"
ex:columns=".uuid, foreach(!inBox!inFolder, 
what_can_i_do_to_show_the_several_sheets_found_for_my_box?">
      </div>

Here I'lm selecting my boxes, if I let !inBox!inFolder alone in parameter I 
have my labels *sheet1 and sheet2*, and If I click on it I have a popup 
which shows data of this item.


*What I'd like to do is to show not sheet1 and sheet2 but the content of 
them grouped by box. Is that possible, or did I did it wrong ?*

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/simile-widgets/-/K7JRH6GmOkEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to