[Users] Error while try to display LegendGraphics in Layer Tree [SEC=Unclassified]

Miles Jordan Miles.Jordan at aad.gov.au
Tue Jul 20 03:16:53 CEST 2010


Jehanzeb Orakzai wrote:
> My problem is still there, giving me the same error, pointing towards
> LayerLoader.js

Your createNode function isn't returning anything. i.e. change

GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr);

to

return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr);

I'm no expert, but that's what I did.

Regards,

Miles



___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________


More information about the Users mailing list