Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread Luis Miguel Morillas
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

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread David Karger
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

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread Luis Miguel Morillas
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 kar...@mit.edu: first thing to fix: data-ex-viewClass

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread David Karger
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,

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread Luis Miguel Morillas
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}

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread Luis Miguel Morillas
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, --

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread David Karger
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

Re: [Simile-Widgets] Is the use of multiple collections broken?

2014-11-16 Thread Luis Miguel Morillas
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 kar...@mit.edu: I found the bug, which has to do with the way we change (old-fashioned) capitals to hyphenation. The short term fix for