Hey,

thanks for the hint. Never used the generated reset methods in my  
tests. Ill take a look at it and fix it in the trunk as last time. Ill  
let you know when im done. :)

Best,
Martin


Am 08.04.2009 um 09:13 schrieb Cajus Pollmeier:

> Martin Wittemann schrieb:
>> Hi Cajus,
>>
>> you can path the 0.8.2 tree controller yourself like i did in the
>> trunk yesterday. You have to add two snippets:
>>
>> 1.
>> this.__childrenRef = {};
>> in line 505 (below root.destroy();) in the __emptyTarget method.
>>
>> 2.
>> if (value == null || value.createItem == null) {
>>   return;
>> }
>> in line 702 (above this._startSelectionModification();) in the
>> _setCreateItem method.
>>
>> That should help and you should still have the same behavior as you
>> had before.
>>
>> Best,
>> Martin
>>
>> P.S. Thanks for the flowers. We do our best. :)
>
> Hehe. No problem. I've used the Tree.js including your patch and it  
> works fine. Thanks.
>
> Just found another issue: you cannot reset the treeController model  
> without getting errors. Just call treeController.resetModel() in my  
> example.
>
> Cheers,
> Cajus
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to