Qooxdoo developers,
The problem: (all major browsers except IE have this problem. Safari has not
been tested)
I create a window that contains a window that contains a qooxdoo HtmlArea
that is added to my main desktop.
After adding (moving) this window to a different container (to save for
later use) and then back to the desktop, the HtmlArea will not become
editable again. Can anyone tell me why this happens and is there a sure fire
method to force the HtmlArea editable again in all of the browsers.
thanks
tom
The rest of this post reiterates what is stated above, but in more detail.
Pleas let me know if you need more information.
In my scenario, the end user can add or edit a record, which is simply the
information that the end user wants to store about his item. If we use
books as an example, the record includes things such as title, author,
publisher and description.
I have an Edit window that is added to the main application desktop that
lets an end user enter his record information. The end user can then edit
the description of the book by choosing to show a description window that is
added to the edit window. A qooxdoo HtmlArea is added to the edit window.
var editWindow = new grfind.window.EditWindow();
var descriptionWindow = new qx.ui.window.Window("Enter Description)
var htmlEditor = new grfind.HtmlEditor();
descriptionWindow.add( htmlEditor );
editWindow.add( descriptionWindow );
this.getApp().getDesktop().add( editWindow );
Creating the edit window is very expensive AND there can be multiple
occurrences of the edit window. So when a user closes the edit window,
instead of destroying it, I move it to another container.
availableWindowsContainer.add( editWindow );
And when the user wants another edit window I move it back.
pseudocode:
if ( there is an edit window in the available windows container
) {
this.getApp().getDesktop().add( saved edit window from
available
windows container );
};
--
View this message in context:
http://www.nabble.com/Cannot-make-HtmlArea-editable-8.3-tp25803295p25803295.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel