Yes! I&#39;m using the 0.5 version. I&#39;ll check out the trunk. Thanks a lot.<br><blockquote style="margin: 1.5em 0pt;">Simone</blockquote><br><br><div class="gmail_quote">2009/10/5 Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Simone,<br>
<br>
are you working with GeoExt 0.5? Radio buttons for base layers were<br>
introduced later, so you may want to check out the latest trunk version<br>
or wait for the 0.6 release which should be out in a couple of days.<br>
<br>
Regards,<br>
Andreas.<br>
<div><div></div><div class="h5"><br>
Simone Dalmasso wrote:<br>
&gt; Hi list, I&#39;m trying to put a baseLayerContainer in a Treepanel<br>
&gt; rendered in the viewport. At this time is working but it shows a<br>
&gt; checkbox instead of the radio button.<br>
&gt; Here follows part of my code:<br>
&gt;<br>
&gt; /var layerReader = new GeoExt.data.LayerReader();<br>
&gt; var mapLayers = layerReader.readRecords(map.layers);<br>
&gt;<br>
&gt; var layerStore = new GeoExt.data.LayerStore({<br>
&gt;     map: map,<br>
&gt;     layers: mapLayers<br>
&gt; });<br>
&gt;<br>
&gt; var layerContainer = new GeoExt.tree.BaseLayerContainer({<br>
&gt;     layerStore: layerStore,<br>
&gt;     expanded: true<br>
&gt; });/<br>
&gt;<br>
&gt; and in the viewport:<br>
&gt;<br>
&gt; /{<br>
&gt;             region: &#39;west&#39;,<br>
&gt;             contentEl: &#39;west&#39;,<br>
&gt;             width: 150,<br>
&gt;             margins: &#39;0 0 0 0&#39;,<br>
&gt;             items: [{<br>
&gt;                 xtype: &#39;treepanel&#39;,<br>
&gt;                 border: false,<br>
&gt;                 animate: true,<br>
&gt;                 root: layerContainer<br>
&gt;             }/<br>
&gt;<br>
&gt; Is there something wrong?<br>
&gt;<br>
&gt; Thamks in advance<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
&gt; <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</font></blockquote></div><br>