Hi Scott, Is it possible to look at your exhibit on a public URL or see some .html and .js code attached? It's tough to debug without a complete picture of what's going on.
David Scott Longberry wrote: > Hi David, > > >> As you might have guessed, setupFilterHighlightControls isn't really a >> part of the API. It was an after thought. And we now have a related >> project called Exhibit that supports list-based filtering: >> >> http://simile.mit.edu/exhibit/ >> >> Let us know if it's good enough for what you need. >> >> David >> >> > > At your suggestion, I have started to look at Exhibit and now have a > new question! Hopefully, it is something simple that I am not > seeing, but the code to set up a view is so simple already that I > really can't see what I am missing and I cannot get the timeline view > to work. I have placed the ?views=timeline at the end of my api load: > > <script src="http://static.simile.mit.edu/exhibit/api/exhibit-api.js? > views=timeline" type="text/javascript"></script> > > and have the following code in place to set up views: > > <table width="100%"> > <tr valign="top"> > <td> > <div id="exhibit-control-panel"></div> > <div id="exhibit-view-panel"> > > <div ex:role="exhibit-lens" class="messages"> > <table> > <tr> > <td> > <div ex:content=".label" > class="name"></div> > <div> > > Device's UID: <span ex:content=".UID" class="UID"></span> > </div> > > </td> > </tr> > </table> > </div> > > <div ex:role="exhibit-view" > ex:viewClass="Exhibit.TimelineView" > ex:start=".time" > ex:marker=".priority" > </div> > > <div ex:role="exhibit-view" > ex:viewClass="Exhibit.TabularView" > ex:columns=".label, .priority, .time, .UID" > ex:columnLabels="name, priority, time, UID" > ex:columnFormats="list, list, list, list" > ex:sortColumn="2" > ex:sortAscending="false"> > </div> > > > <div ex:role="exhibit-view" > ex:viewClass="Exhibit.TileView" > ex:showAll="true" > ex:orders=".priority, .time" > ex:possibleOrders=".label, .priority, .UID, .time"> > </div> > > </div> > </td> > <td width="25%"> > <div id="exhibit-browse-panel" > ex:facets=".priority, .UID"></div> > </td> > </tr> > </table> > > As you can see, I'm simply modifying your tutorial example to fit my > data. The problem I am having is that when I load this page, I get > the following error: > > Error firing event of name onRootCollectionSet to wildcard handler > TypeError: this._dom.timeline has no properties > > I have attempted to remove both the tile and tabular view, but I > still get the same error. > > Thanks for any suggestions on this! > > Scott > > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
