Hi Miles,
 
Thank you for the reply.
 
I have tried this also, but no luck. If u have a working example can you post 
it please.


Thank you,
--
Jehanzeb

--- On Tue, 20/7/10, Miles Jordan <[email protected]> wrote:


From: Miles Jordan <[email protected]>
Subject: RE: [Users] Error while try to display LegendGraphics in Layer Tree 
[SEC=Unclassified]
To: "'Jehanzeb Orakzai'" <[email protected]>, "[email protected]" 
<[email protected]>
Date: Tuesday, 20 July, 2010, 6:16


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/ 
___________________________________________________________________________



      
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to