Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-301

Dojo Classes for accessing the repository via the µjax protocol

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Servlets
    • None

    Description

      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.

      Attachments

        1. demo.html
          3 kB
          Lars Trieloff
        2. demo2.html
          5 kB
          Lars Trieloff
        3. demo4.html
          2 kB
          Lars Trieloff
        4. dojo.sling.patch.20081221.zip
          14 kB
          Rory Douglas
        5. dojo-ujax.tar.gz
          4.21 MB
          Lars Trieloff
        6. SlingNodeStore.js
          15 kB
          Lars Trieloff
        7. SlingPropertyStore.js
          11 kB
          Lars Trieloff

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              lars3loff Lars Trieloff
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: