Thanks i got it to work with version 0.5.0 , most of the drawing is working fine for me what i need to know now is
I have made the following changes ,
I have added a input ex inPlace edit to image container so we can label the image .
I have added a input ex inPlace edit to the wire module
Now on the editor when i click save the system saves the drawing into the database and when i load the drawing the container objects(image and wire ) appear fine but with the labels. What and where i should make the change to have the save and load function save and show my labels
Thanks i got it to work with version 0.5.0 , most of the drawing is working fine for me what i need to know now is I have made the following changes ,
Place below is my ImageContainer.js file content
/*** /**
YAHOO.lang.extend(WireIt.ImageContainer, WireIt.Container, {
/* * @method setOptions * @param {Object} options the options object / setOptions: function(options) { WireIt.ImageContainer.superclass.setOptions.call(this, options);
},
/* * @method render / render: function() { WireIt.ImageContainer.superclass.render.call(this); YAHOO.util.Dom.setStyle(this.bodyEl, "background-image", "url("+this.options.image+")"); this.labelField = new inputEx.InPlaceEdit({parentEl: this.bodyEl, editorField: {type: 'string'}, animColors:{from:"#FFFF99" , to:"#DDDDFF"},className:"inputEx-Imglabel" }); this.labelField.setValue(this.label); }
}); ****/