Hi

I know I have a weird mind. but I have made some sample javascript dove client 
for mmbase.

The javascrip code to change/commit a node looks like this:
<script>
var doveclient = new DoveClient("http://localhost:8080/xml/dove.xml";);
var dovecloud = doveclient.getCloud("admin","admin2k");

var node  =dovecloud.getNode(213);
node.setStringValue("content","some content");
node.commit();

var relations = node.getRelations();
for (var x = 0 ; x < relations.getLength() ; x++){
        alert(relations.getRelation(x).getType());
}
</script>

it also containt some code to do cloud.getList

I'have setup a demo + download on http://carlit.mine.nu:8080/dovescript/
but the code is also in CVS (speeltuin/keesj/dovescript)

tested under mozilla and IE.. 

Does anybody have an idea what this can be used for?


of course you have to have the dove servlet active...



-- 
Kees Jongenburger
Mediapark C101 Hilversum  
+31 (0)35 6772910


Reply via email to