David Huynh wrote:
> I have just refactored the Exhibit 2.0 development branch to support 
> more flexible layouts, e.g.,
>
>
>
> - Change <body ex:ondataload="window.exhibit = 
> Exhibit.create('President');"> to
>
>     <body>
>        <div ex:role="exhibit-collection" ex:itemTypes="President"></div>
>   
how about
<div ex:role="exhibit-collection" ex:selection=".type = 'President'">
leaves room for more complex selection criteria later.

is there a way to say "This collection contains just the items from the 
following file"
>
> Conceptually, an exhibit now consists of one or more collections (of 
> items) and zero or more components (aka widgets). Each collection has an 
> ID, and there is a default collection with the ID "default". This code 
> defines the default collection to be all items of type President:
>
>    <div ex:role="exhibit-collection" ex:itemTypes="President"></div>
>
> You can include ex:collectionID to create a new collection:
>
>    <div ex:role="exhibit-collection" ex:itemTypes="Vice-President" 
> ex:collectionID="the-vice-presidents"></div>
>
> Each component is hooked up to one collection (the default collection by 
> default). Components include views, view panels, and facets. Lenses are 
> also considered components but they are a bit of an exception because 
> they don't get connected to any collection. Logos are also considered 
> components but they don't do anything except showing an Exhibit logo.
>
> You can use more than one view for a single collection. Just don't put 
> them inside a view panel component.
>   
Why not?  Doesn't it make sense for me to have more than one view panel, 
each with its own distinct views that are selectable from that panel?
> David
> P.S. Oops, I just remember I haven't fixed the exporters...
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to