Gene Amtower schrieb:
> Hi, Cajus,
> 
> I've not used these classes myself yet, but I was looking through your 
> sample code anyway to learn from it.  I can't seem to find the 
> "SetModel" and "SetDelegate" methods that you are calling in the 
> controller.Tree class by browsing the API reference.  I also noted that 
> this class is marked as "Experimental", which may lead to problems.  I 
> have Qooxdoo 0.8.2 trunk from last week - which Qooxdoo version are you 
> using?  Can anyone explain why I'm not seeing these methods in the API 
> documentation, either my local copy or the Qooxdoo site copy?
> 
> Also, I compared your code to the DemoBrowser code for 
> data/TreeController, and it includes the "nodes[0]" data array in the 
> constructor for qx.data.controller.Tree, where you use the "null" value 
> and follow up with the SetModel method (that I can't find in the API) to 
> set it.  You might try instead adding "nodes[0]" into the constructor 
> method instead of the way you have it in the example code.

Hi Gene,

I don't want to pass nodes[0] do this, because I'm not able to change the 
models later without major problems in this case. I have to replace this model 
by a new one if the user requests it. And there seems to be a similar problem 
if you call setModel() while using a delegation.

I've an external referral to stock qooxdoo 0.8.2 in my SVN tree.

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

Reply via email to