PDA

View Full Version : Reusing a Form in and out of Ext.Window



joku
26 Apr 2008, 9:22 PM
If I have an instance of an Ext.form.FormPanel that I want to reuse throughout my application, but whenever I put the instance in an Ext.Window, the DOM elements of my form become nested as part of the Ext.Window and I can't render it back to anywhere else.

Here's an example that shows this: http://www.freewebs.com/jokurocks/form-reuse.html

How do I get the form to show up in other places, after it's rendered in the Ext.Window?

What's a good way to be able to move the instance of my Ext.form.FormPanel around my application?