@Derrell & T.: thanks for your answers! @T: I've created a widget which looks like http://qooxdoo.678.n2.nabble.com/file/n5193730/gigi1.jpg , in fact is a list which has 2 buttons (+ open a new window and select some items and after that the items are added to the list, - remove the selected item from the list)
this class (class_A) includes: qx.ui.core.MRemoteChildrenHandling, qx.ui.core.MMultiSelectionHandling, qx.ui.form.MForm, qx.ui.form.MModelSelection well, everything was ok, because I've needed a method like getSelection to access the selected items. the problem appeared when I've added this widget to a form and set it as required. qx.ui.form.validation.Manager checks if an item is valid using __validateRequired. from my point of view my item is valid if it has items but __validateRequired checks if the item implements qx.ui.core.ISingleSelection and if this is implemented it checks it to see if anything is selected, if there is nothing selected the item is not validated. in my case if the widget contain items and nothing is selected it is valid. so i've decided to decorate class_A extending it and the method getSelection from class_B return class_A.getSelectables and i've implemented a new method getXYZ which returns class_A.getSelection Anyway, is there a possibility to set a validation manager to a form? -- View this message in context: http://qooxdoo.678.n2.nabble.com/Calling-a-superclass-method-from-a-different-method-tp4979101p5193730.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
