[Users] GeoExt 1.0-LayerLoader and createNode
Dan Ramage
dan at inlet.geol.sc.edu
Wed Oct 13 22:22:22 CEST 2010
Andreas,
Yes, I resolved my own issue. Sorry about that.
Dan
-----Original Message-----
From: Andreas Hocevar [mailto:ahocevar at opengeo.org]
Sent: Wednesday, October 13, 2010 4:19 PM
To: Dan Ramage
Cc: users at geoext.org
Subject: Re: [Users] GeoExt 1.0-LayerLoader and createNode
I am not sure if I understand you correctly, but does that mean your issue
is solved?
Andreas.
On Oct 13, 2010, at 21:36 , Dan Ramage wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list