- setNode: function(canvasNode) {
- view.find('.rng-module-nodePane-tagSelect').val(canvasNode.getTag());
- view.find('.rng-module-nodePane-classSelect').val(canvasNode.getClass());
+ setNodeElement: function(nodeElement) {
+ view.find('.rng-module-nodePane-tagSelect').val(nodeElement.getWlxmlTag());
+ view.find('.rng-module-nodePane-classSelect').val(nodeElement.getWlxmlClass());
+
+ //var widget = metaWidget.create({attrs:canvasNode.getMetaAttrs()});
+ //widget.on('valueChanged', function(key, value) {
+ // sandbox.publish('nodeChanged', key, value);
+ //});
+ //view.find('.metaFields').empty().append(widget.el);