Martin, thanks for the prompt reply. One of the constraints is not knowing what the various potential combinations of form fields will be - I have a SelectBox that allows the selection of a list of values, and when you select one, an ajax request is done (passing the value you selected) to retrieve the list of form fields that need to be rendered. These retrieved fields need to be inserted into the middle of a larger form.
Looking at the source of the classes involved (Form, Controller, validation Manager, Resetter, Renderer etc) it looks like the easiest option is just to create a new Form and Renderer (and all the other bits and pieces) each time the Form changes, and have that new copy renderered, rather than try and change the instances I already have. Its not efficient, but it means I still get the benefit of all the functionality those classes provide, and I don't have to do lots of extending qooxdoo classes. That being the case, I'll need to maintain the Model myself, and build the form from that. Does that sound about right? Thanks, Jamie -- View this message in context: http://n2.nabble.com/Dynamic-Forms-tp4920231p4927775.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
