<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><br></div><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div dir="ltr"><font size="2" face="Arial"> <b><span style="font-weight: bold;">Betreff:</span></b> Re: [Users] How to programmatically change the gx_overlayrcontainers text string in the tree:SOLVED<br> </font> </div> <br><div id="yiv1625742924"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div><span>It was a stupid question....I just had to use </span></div><div><span><br></span></div><div><span>text: "string"</span></div><div><span><br></span></div><div>...in the layer
config</div><div><br></div><div>yours,</div><div>Rob</div><div><span><br></span></div><div><span><br></span></div><div><br></div> <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Von:</span></b> Robert Buckley <robertdbuckley@yahoo.com><br> <b><span style="font-weight:bold;">An:</span></b> "users@geoext.org" <users@geoext.org> <br> <b><span style="font-weight:bold;">Gesendet:</span></b> 14:30 Donnerstag, 15.März 2012<br> <b><span style="font-weight:bold;">Betreff:</span></b> [Users] How to programmatically change the gx_overlayrcontainers text string in the tree<br> </font> </div> <br><div id="yiv1625742924"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div
style="font-size: 10pt; font-family: arial, helvetica, sans-serif; ">I´ver tried this...</div><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><br></div><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><br></div><div><div><font face="arial, helvetica, sans-serif" size="2">var treeConfig = [{</font></div><div><font face="arial, helvetica, sans-serif" size="2"> nodeType: "gx_baselayercontainer",</font></div><div><font face="arial, helvetica, sans-serif" size="2"> id: "gx_baselayercontainer",</font></div><div><font face="arial,
helvetica, sans-serif" size="2"> hidden:true</font></div><div><font face="arial, helvetica, sans-serif" size="2"> }, {....etc.etc</font></div><div><font face="arial,
helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2">Ext.get('gx_baselayercontainer').set({text: 'test'}); <br></font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2">This doesn´t work....</font><span style="color: rgb(255, 0, 0); font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; ">c</span><span style="color: rgb(255, 0, 0); font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; ">annot call method 'set' of null???</span></div><div><span style="color: rgb(255, 0, 0); font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; "><br></span></div><div><span style="font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; ">how can I set the text
then?</span></div><div><span style="font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; "><br></span></div><div><span style="font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; "><br></span></div><div><span style="font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; ">yours with thanks,</span></div><div><span style="font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; "><br></span></div><div><span style="font-size: 12px; line-height: 12px; white-space: pre-wrap; font-family: Consolas, monospace; ">Rob</span></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div></div><div><font face="arial, helvetica, sans-serif"
size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div></div></div></div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@geoext.org" target="_blank" href="mailto:Users@geoext.org">Users@geoext.org</a><br><a rel="nofollow" target="_blank" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br><br><br> </div> </div> </div></div></div><br><br> </div> </div> </div></body></html>