Exhibit/Tile View
From SIMILE Widgets
To add a tile view to your exhibit, add
<div ex:role="view"></div>
Settings include:
| setting name | type of value | default | choices | meaning |
|---|---|---|---|---|
| ex:label | text | "Tiles" | The title of the view, used for the navigation link. | |
| ex:orders | list of expressions | .label | comma separated list of one or more expressions, e.g., ".age, .job" | |
| ex:directions | list of "ascending" or "descending" | ascending | how to sort each of the expressions in the ex:orders setting | |
| ex:possibleOrders | list of expressions | comma separated list of other expressions that the user can choose for sorting | ||
| ex:possibleDirections | list of "ascending" or "descending" | how each of the expressions in the ex:possibleOrders setting should be sorted when the user picks it | ||
| ex:showAll | boolean | true | whether to show all items (or just the first few); this is forced to true if ex:grouped is true and the items can be grouped | |
| ex:grouped | boolean | true | whether to show items in groups if they are "equal" in the current sorting order | |
| ex:showDuplicates | boolean | true | whether to hide or show multiple copies of the same item if it fits in multiple positions in the sort/group order | |
| ex:abbreviatedCount | int | 10 | how many items to show if ex:showAll is false | |
| ex:showHeader | boolean | true | hide or show the header | |
| ex:showSummary | boolean | true | hide or show the # of results | |
| ex:showControls | boolean | true | hide or show the controls | |
| ex:showFooter | boolean | true | hide or show the Footer | |
| ex:paginate | boolean | false | Group results into pages, that can be navigated backward or forward | |
| ex:pageSize | int | 20 | Number of results to show on each page, if paginate = true | |
| ex:pageWindow | int | 2 | ||
| ex:page | int | 0 | ||
| ex:alwaysShowPagingControls | boolean | false | ||
| ex:pagingControlLocations | setting | topbottom | "top", "bottom" or "topbottom" | Location of page controls |
Views can be restricted to show objects of a certain type by using Collections.

