Doodled around a bit:

c=exhibit._uiContext.getCollection()
_s=Exhibit.ExpressionParser.parse('add( .unchanged )');
_s.evaluate({value:c.getRestrictedItems()},{value:'item'},'value',exhibit._database).values.toArray()

and you wanna refresh that in a listener like this:

c.addListener({onItemsChanged:function(){
console.log(_s.evaluate({value:c.getRestrictedItems()},{value:'item'},'value',exhibit._database).values.toArray())}})

Axel

2011/8/25 Andrea Borruso <[email protected]>

> Hi Axel,
> thank you.
>
> I'm sure the code you link solves my problem, but I do not know how to use
> it. Some pratical advice for me?
>
> Thank you again,
>
>
> a
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/simile-widgets/-/TmT3QUyzX8wJ.
>
> 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.
>

-- 
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