Yes! I'm using the 0.5 version. I'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"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></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>
> Hi list, I'm trying to put a baseLayerContainer in a Treepanel<br>
> rendered in the viewport. At this time is working but it shows a<br>
> checkbox instead of the radio button.<br>
> Here follows part of my code:<br>
><br>
> /var layerReader = new GeoExt.data.LayerReader();<br>
> var mapLayers = layerReader.readRecords(map.layers);<br>
><br>
> var layerStore = new GeoExt.data.LayerStore({<br>
> map: map,<br>
> layers: mapLayers<br>
> });<br>
><br>
> var layerContainer = new GeoExt.tree.BaseLayerContainer({<br>
> layerStore: layerStore,<br>
> expanded: true<br>
> });/<br>
><br>
> and in the viewport:<br>
><br>
> /{<br>
> region: 'west',<br>
> contentEl: 'west',<br>
> width: 150,<br>
> margins: '0 0 0 0',<br>
> items: [{<br>
> xtype: 'treepanel',<br>
> border: false,<br>
> animate: true,<br>
> root: layerContainer<br>
> }/<br>
><br>
> Is there something wrong?<br>
><br>
> Thamks in advance<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
> <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
><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>