On 3/1/10 2:07 PM, Derrell Lipman wrote:
> On Mon, Mar 1, 2010 at 14:36, Greg Beaver <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> My vmware ubuntu instance doesn't have ssl enabled for svn at the
> moment
> (I am looking to see if I need to compile a custom svn, but that may
> take a while with my limited time), but I can wait until 1.0.2
> comes out
> if that will be within the next month or so.
>
>
> Greg, here's Martin's patch from earlier today. You can try to apply
> it to your existing code if you'd like.
>
> Derrell
>
>
> Modified: trunk/qooxdoo/framework/
> source/class/qx/data/controller/Form.js
> ===================================================================
> --- trunk/qooxdoo/framework/source/class/qx/data/controller/Form.js
> 2010-02-26 17:03:32 UTC (rev 21660)
> +++ trunk/qooxdoo/framework/source/class/qx/data/controller/Form.js
> 2010-03-01 07:42:05 UTC (rev 21661)
> @@ -208,6 +208,17 @@
>
> // apply method
> _applyModel : function(value, old) {
> + // first, get rid off all bindings (avoids whong data population)
> + if (this.__objectController != null) {
> + var items = this.getTarget().getItems();
> + for (var name in items) {
> + var item = items[name];
> + var targetProperty =
> + this.__isModelSelectable(item) ? "modelSelection[0]" :
> "value";
> + this.__objectController.removeTarget(item, targetProperty,
> name);
> + }
> + }
> +
> // set the model of the object controller if available
> if (this.__objectController != null) {
> this.__objectController.setModel(value);
Thanks, works like a charm. Btw, s/whong/wrong/ although whong has a
certain appeal too :)
Greg
------------------------------------------------------------------------------
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