XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Servlets
    • None

    Description

      The current Javascript API is good at reading data from the repository, but has not yet a working implementation of assignments like

      node.mimetype = "text/plain" a.k.a node["mimetype"] = "text/plain"
      node["members"] = ["bertrand", "lars"];
      node["childnode"] =

      {"mimetype": "text/plain", "text": "bla bla bla"}

      The first example should call node.setProperty("mimetype", "text/plain");
      The second example should call node.setProperty("members", new String[]

      {"bertrand", "lars"}

      );
      The third example should either set the properties of the child node "childnode" or of the node referenced in a property called "childnode".

      This should also allow for nesting of properties,

      node["childnode"] = {"mimetype": "text/plain", "text": "bla bla bla", "childnode:

      {"mimetype" : "text/plain" }

      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            lars3loff Lars Trieloff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: