Hi, I am building a qooxdoo UI to create/edit json documents. This is working fine with a form, renderer, controller and json store. However I now need to handle the form elements changing - not the values of the form elements, but the number of them. e.g. if you select value A from a selection list, then you should get 3 text fields below it, but if you select value B from the same selection list, then you should get 2 text fields instead.
I've searched the contribs and forum for ideas for handling this but didn't find anything. What is the best way to implement this? It looks like the form/controller/model expect the form to not change once created. I could extend the form to fire events when items are added/removed, and have the controller listen for these and recreate the model, and the renderer listen as well. Is this a recommended approach? Any suggestions would be greatfully received. Jamie -- View this message in context: http://n2.nabble.com/Dynamic-Forms-tp4920231p4920231.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
