问题
I need to add a new property to a existing node in JCR:content from javascript(ExtJS).
回答1:
Use HTTP POST method (via AJAX) and Sling POST servlet, like:
CQ.HTTP.post('/content/path/to/my/page/jcr:content', null, { newProperty: '123' });
来源:https://stackoverflow.com/questions/20398657/how-to-add-new-property-to-jcr-node-through-cq-extjs