Tobias Oetiker wrote: > Hi Roman, > > Today Roman Schmid wrote: > > >> Or do you simply set the input fields as public properties of the form >> and then read/write them? That wouldn't be good OOP Practice, wouldn't it? >> >> Well, I'm kinda stuck here since there are some many feasible ways to >> this. If you lot could share some of your insight on that topic i would >> be grateful :) >> > > as you say, there are many ways, I try to limit the amount of > repetitive code, by having a map (either local or supplied from the > server) that describes the form and then a factory to produce the > actual form according to the instructions in the map. > > cheers > tobi > > Hi Tobi
Thanks for your input. Dynamically building the form from a map that comes from the server sounds tempting :) Too bad that the values (eg. label text) coming from the server won't be wrapped by the translation features of qooxdoo... - Roman ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel