[Users] GeoExt 1.0-LayerLoader and createNode

Dan Ramage dan at inlet.geol.sc.edu
Wed Oct 13 21:36:25 CEST 2010


Of course as soon as I hit send I see what is going on. I had a node object
getting created, but did not have baseAttrs:{} set. In the new
LayerLoader.js, that variable is being assigned to null(just like I typed in
my first email but it just didn't click).

 

 

Dan 

 

 

  _____  

From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf
Of Dan Ramage
Sent: Wednesday, October 13, 2010 3:24 PM
To: users at geoext.org
Subject: [Users] GeoExt 1.0-LayerLoader and createNode

 

I am trying out the v1.0 and have run into an issue, although it could very
well be what I am doing.

I've extended GeoExt.tree.LayerLoader to use my own createNode function. 

Using the older version of GeoExt, when I am in my createNode function the
variable "this.baseAttrs" is defined, with GeoExt v1.0 when my createNode is
called the this.baseAttrs is null.

In comparing the LayerLoader.js files, I see the older version of the file
doesn't have a baseAttrs defined which seems odd. The new version has
baseAttrs defined and set as null.

 

The issue could be in the method I create the treenodes and then the tree,
but thought I would see if anyone else had run into this.

 

 

Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20101013/7af74006/attachment-0001.htm 


More information about the Users mailing list