chandu wrote:
> Hi,
>
> Is there a method opposite to database.getObject? Some thing like
> setObject to update the value on the fly..
>
There is database.addStatement(subject, property, object). If you want
to do replace, then use database.removeObjects(subject, property) first.
Note that these methods actually don't trigger notifications from the
database to other parts of the system, so views and facets won't update.
But you can force that using
database._listeners.fire("onAfterLoadingItems", []);
David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---