<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Miles,</DIV>
<DIV> </DIV>
<DIV>Thank you for the reply.</DIV>
<DIV> </DIV>
<DIV>I have tried this also, but no luck. If u have a working example can you post it please.<BR><BR></DIV>
<DIV><FONT color=#00007f size=2 face="verdana, helvetica, sans-serif"><STRONG>Thank you,</STRONG></FONT></DIV>
<DIV><FONT color=#00007f size=2 face="verdana, helvetica, sans-serif"><STRONG>--</STRONG></FONT></DIV>
<DIV><FONT color=#00007f size=2 face="verdana, helvetica, sans-serif"><STRONG>Jehanzeb</STRONG></FONT></DIV><BR><BR>--- On <B>Tue, 20/7/10, Miles Jordan <I><Miles.Jordan@aad.gov.au></I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Miles Jordan <Miles.Jordan@aad.gov.au><BR>Subject: RE: [Users] Error while try to display LegendGraphics in Layer Tree [SEC=Unclassified]<BR>To: "'Jehanzeb Orakzai'" <jehanzeb_orakzai@yahoo.com>, "users@geoext.org" <users@geoext.org><BR>Date: Tuesday, 20 July, 2010, 6:16<BR><BR>
<DIV class=plainMail>Jehanzeb Orakzai wrote:<BR>> My problem is still there, giving me the same error, pointing towards<BR>> LayerLoader.js<BR><BR>Your createNode function isn't returning anything. i.e. change<BR><BR>GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr);<BR><BR>to<BR><BR>return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr);<BR><BR>I'm no expert, but that's what I did.<BR><BR>Regards,<BR><BR>Miles<BR><BR><BR><BR>___________________________________________________________________________<BR><BR> Australian Antarctic Division - Commonwealth of Australia<BR>IMPORTANT: This transmission is intended for the addressee only. If you are not the<BR>intended recipient, you are notified that use or dissemination of this communication is<BR>strictly prohibited by Commonwealth law. If you have received this transmission in error,<BR>please notify the sender immediately by e-mail or by telephoning +61 3 6232
3209 and<BR>DELETE the message.<BR> Visit our web site at <A href="http://www.antarctica.gov.au/" target=_blank>http://www.antarctica.gov.au/ </A><BR>___________________________________________________________________________<BR></DIV></BLOCKQUOTE></td></tr></table><br>