Cool, David, It's working fine now. I was tempted to try it but I didn't :)
Saludos, -- luismiguel (@lmorillas) 2014-11-17 6:32 GMT+01:00 David Karger <[email protected]>: > I found the bug, which has to do with the way we change (old-fashioned) > capitals to hyphenation. The short term fix for you is to replace > data-ex-collection-id by data-ex-collection-i-d > But that's going to stop working once I fix the bug in a few days, then > data-ex-collection-id should work again. > > > > On 11/16/2014 4:24 PM, Luis Miguel Morillas wrote: >> >> The Exhibit object at the console references 3.1.0 version. Is it ok? >> I'm using http://api.simile-widgets.org/exhibit/3.1.1/exhibit-api.js >> >> >>> Exhibit >> >> < Object {version: "3.1.0", namespace: >> "http://simile.mit.edu/2006/11/exhibit#", locales: Array[2], loaded: >> false, signals: Object…} >> Saludos, >> >> -- luismiguel (@lmorillas) >> >> >> 2014-11-16 22:19 GMT+01:00 Luis Miguel Morillas <[email protected]>: >>> >>> Thanks, David. Changed with no result. >>> >>> Collections are oks, so I think that it's something wrong when when >>> collection is called. >>> >>>> exhibit._collectionMap >>> >>> < Object {col_centros: Exhibit.Collection, col_proyectos: >>> Exhibit.Collection, default: Exhibit.Collection} >>> >>>> exhibit._collectionMap.col_proyectos.countAllItems() >>> >>> < 18 >>> >>>> exhibit._collectionMap.col_centros.countAllItems() >>> >>> < 16 >>> >>> >>> Saludos, >>> >>> -- luismiguel (@lmorillas) >>> >>> >>> 2014-11-16 20:13 GMT+01:00 David Karger <[email protected]>: >>>> >>>> Your problem is that in the new exhibit you wrote >>>> data-ex-role="ex-collection" >>>> but what you actually need is >>>> data-ex-role="collection" OR data-ex-role="exhibit-collection" >>>> >>>> we only use the ex- syntax in attribute names, not in values. >>>> >>>> >>>> >>>> >>>> On 11/16/2014 1:50 PM, Luis Miguel Morillas wrote: >>>>> >>>>> Thanks, David, >>>>> >>>>> I think that i've changed all camelCase attributes, but always shows >>>>> all the elements, not the collections >>>>> (http://178.32.253.88/index2.html) >>>>> Saludos, >>>>> >>>>> -- luismiguel (@lmorillas) >>>>> >>>>> >>>>> 2014-11-16 19:11 GMT+01:00 David Karger <[email protected]>: >>>>>> >>>>>> first thing to fix: data-ex-viewClass should be data-ex-view-class so >>>>>> you >>>>>> can get your map. >>>>>> >>>>>> >>>>>> On 11/16/2014 12:09 PM, Luis Miguel Morillas wrote: >>>>>>> >>>>>>> I was just using exhibit 3.1.1 >>>>>>> >>>>>>> I have got an example at http://178.32.253.88/ >>>>>>> >>>>>>> index.html uses old ex: namespaces and index2.html uses new html5 >>>>>>> compliant data-ex- attributes. The first one works fine with >>>>>>> collections (16 centres and 18 projects) and the second one shows 34 >>>>>>> centres and 34 projects :-( >>>>>>> >>>>>>> >>>>>>> >>>>>>> Saludos, >>>>>>> >>>>>>> -- luismiguel (@lmorillas) >>>>>>> >>>>>>> >>>>>>> 2014-11-16 7:26 GMT+01:00 David Karger <[email protected]>: >>>>>>>> >>>>>>>> Take a look at version 3.1 and see if it fixes your problem. >>>>>>>> http://www.simile-widgets.org/exhibit3/examples/other-versions/HEAD/ >>>>>>>> >>>>>>>> >>>>>>>> On 10/30/2014 8:19 AM, Luis Miguel Morillas wrote: >>>>>>>>> >>>>>>>>> Is it possible to show different collections for different views >>>>>>>>> with >>>>>>>>> exhibit 3.0? >>>>>>>>> >>>>>>>>> This example (renaming attributes) does not work >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> http://simile-widgets.org/wiki/How_to_set_the_root_collection_of_items_in_Exhibit >>>>>>>>> >>>>>>>>> There is a ticket about it [1] at github. >>>>>>>>> >>>>>>>>> [1] https://github.com/zepheira/exhibit3/issues/115 >>>>>>>>> >>>>>>>>> >>>>>>>>> Saludos, >>>>>>>>> >>>>>>>>> -- luismiguel (@lmorillas) >>>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups >>>>>>>> "SIMILE Widgets" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send >>>>>>>> an >>>>>>>> email to [email protected]. >>>>>>>> To post to this group, send email to >>>>>>>> [email protected]. >>>>>>>> Visit this group at http://groups.google.com/group/simile-widgets. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups >>>>>> "SIMILE Widgets" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>>> an >>>>>> email to [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> Visit this group at http://groups.google.com/group/simile-widgets. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups >>>> "SIMILE Widgets" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an >>>> email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/simile-widgets. >>>> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/simile-widgets. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
