Opened 12 years ago

Closed 9 years ago

#3495 closed defect (worksforme)

Editor Fails to Render in Content Pane after Form Bind

Reported by: guest Owned by:
Priority: high Milestone: future
Component: Editor Version: 0.4.2
Keywords: Editor, fails, bug, render Cc:
Blocked By: Blocking:

Description (last modified by bill)

The code to create the contentpane is:

<div dojoType="LayoutContainer?" layoutChildPriority='top-bottom' sizeMin="80" sizeShare="80" style="width: 100%; height: 100%;">

<div id="contentPane" dojoType="ContentPane?" href="schedule/index.php" executeScripts="true" refreshOnShow="true" scriptSeparation="false" style="padding: 5px;"></div>

</div>

The code to call form containing editor into contentPane is: function bindForm() {

x = new dojo.io.FormBind?({

formNode: document.forms.theForm, load: function(type, data, e) {

target = dojo.widget.getWidgetById("contentPane"); target.setContent(data); }

});

}

Code to create Editor: <script type="text/javascript">

var djConfig = {

isDebug: true, parseWidgets: true

};

</script> <textarea class="dojo-Editor" rows="50" cols="100" name="bar"></textarea>

Note that other widgets on this page render fine. It is just Editor OR Editor2 that fail.

Change History (7)

comment:1 Changed 12 years ago by guest

Also, code to create editor is incorrectly pasted. An include of the dojo.js and the require for the editor are present.

comment:2 Changed 12 years ago by guest

Also, Editor fails to render with and without formBind() being called from the form containing the Editor.

comment:3 Changed 12 years ago by bill

Milestone: 2.0

Basically ContentPane?.setContent(data) where data contains an Editor isn't working? The FormBind? thing sounds like a red herring. Might have something to do with special processing for the <textarea> node to save data on the back button.

comment:4 Changed 11 years ago by alex

Milestone: 2.01.3

Milestone 2.0 deleted

comment:5 Changed 10 years ago by bill

Description: modified (diff)
Milestone: 1.31.5

comment:6 Changed 9 years ago by bill

Milestone: 1.5future
Owner: liucougar deleted

comment:7 Changed 9 years ago by Jared Jurkiewicz

Resolution: worksforme
Status: newclosed

Closing this as 'worksforme'. Haven't seen any reports/complains of this in 1.0+

Note: See TracTickets for help on using tickets.