Dojo: Load saved value on editor load?

Vote:
 

I've managed to build my first custom property using dojo and It works fine.

I have a string property wich I use to save some values from a popupwindow into a textbox.

But Im having trouble to load the saved value from the database when the epi editor loads so it shows up in the textbox.

In my dojo function "postCreate", "this.value" are returned null. But when I check my console (using chrome) I see that postCreate: value: "some text" does have a value.

Anyone have any idea how I could display the saved value in my textbox when the editor loads?

#80804
Feb 03, 2014 9:58
Vote:
 

I've soled this on my own. I was missing some js functions, _setValueAttr and _setReadOnlyAttr. After this it worked.

#80879
Feb 04, 2014 11:09
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.