Thanks for replying !

Since there is a foreach in .../exhibit/api-2.0/scripts/data/
controls.js
 I tried something like
<div ex:role="collection" id="parentlist"
                                               ex:expression="foreach(value, 
filter=".parent"))"></div>
                                       <div ex:role="lens" 
ex:collectionID="parentlist"></div>
but without result, is there some doc somewhere ?

Francois

On Dec 23, 12:47 pm, "Axel Hecht" <[email protected]> wrote:
> http://www.nabble.com/Predicates-or-filters-for-exhibit-collections-t...
> similar questions, I guess if you adapt the filter control to be a
> function, you should be able to make some progress.
>
> Axel
>
> 2008/12/23 Francois <[email protected]>
>
>
>
> > Hi there
> > I explore Exhibit to display items that are related: each item has an
> > id string which is used in a parent property. Given items a, b, c,
> > (with id= ida, idb idc respectively) c has parent=["ida", "idb"], a
> > and b has no parent.
>
> > I would build anchor in my web page so that one can navigates form
> > children to parent(s). I first thought to use the id to have named
> > anchors, but have to create an integer property display, unique to
> > each item, to backed it:
> > <a ex:name-content=".display"></a> (since strangely <a ex:name-
> > content=".id"></a> was not working
>
> > Now I'm stuck with the links :
> > <a ex:href-subcontent="#{{.parent.display}}"
> > ex:content=".parent.label"></a> is ok when there is just one parent,
> > but does not work when there are many.
> >  <span ex:content=".parent"></span> display the parent labels
> > correctly and open the window of each parent, but this is not the
> > behaviour I want...
> > How can I just have url(s) to the parent's named anchor ?
>
> > Thanks for any help
>
> > Francois
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to