You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Trieloff (JIRA)" <ji...@apache.org> on 2008/03/03 12:14:50 UTC

[jira] Updated: (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:all-tabpanel ]

Lars Trieloff updated SLING-301:
--------------------------------

    Attachment: dojo-ujax.tar.gz

This is the current snapshot I am going to showcase tomorrow at Web Monday Stockholm. In order to get it working you have to
1. create a node test with type nt:unstructured
2. ensure that the user is authenticated to be able to write properties. (the best way to do this right now is to configure the anonymous user to be admin, as sling will not ask for authentication, but silently fail.)


> 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: ujax
>            Reporter: Lars Trieloff
>            Priority: Minor
>         Attachments: dojo-ujax.tar.gz
>
>
> 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.