You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vidar S. Ramdal (JIRA)" <ji...@apache.org> on 2008/08/27 15:33:44 UTC
[jira] Commented: (SLING-301) Dojo Classes for accessing the repository via the µjax protocol
[ https://issues.apache.org/jira/browse/SLING-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626108#action_12626108 ]
Vidar S. Ramdal commented on SLING-301:
---------------------------------------
Lars Trieloff - 13/Mar/08: "Also: write support added."
Where exactly is the write support added? I find no traces of write support in SlingNodeStore.js. E.g, SlingNodeStore.js#500:
setValues: function(item, attribute, values) { console.log("setValues");
throw new Error('Unimplemented API: dojo.data.api.Write.setValues');
...
> Dojo Classes for accessing the repository via the µjax protocol
> ---------------------------------------------------------------
>
> Key: SLING-301
> URL: https://issues.apache.org/jira/browse/SLING-301
> Project: Sling
> Issue Type: Improvement
> Components: Servlets Post
> Reporter: Lars Trieloff
> Assignee: Felix Meschberger
> Priority: Minor
> Attachments: demo.html, demo2.html, demo4.html, dojo-ujax.tar.gz, SlingNodeStore.js, SlingPropertyStore.js
>
>
> I've created two Dojo Store implementations that use the µjax protocol to communicate with the repository. The UJaxNodeStore implements a read-only hierarchical store (I am planning to add write support later on) that can be used to read properties and children of a node. The UJaxPropertyStore implements a read-write flat store for accessing the properties of a node. The Store showcases a high-level integration with a full-fledged AJAX toolkit that allows easy integration with an existing widget system.
> Using these store classes, it was easy to create an example repository browser that uses a tree control and a grid control to browse the resource tree and allows to create new and change existing properties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.