Andreas, Thanks for the response. I've looked at tree.html and see that it extends the LayerNodeUI, and then in the loaders baseAttrs uses the radioGroup and the uiProvider. When I implemented the radio button and check box, this was under GeoExt v0.6, I only set the radioGroup, this was with a nodeType of gx_layercontainer.
Thanks, Dan -----Original Message----- From: Andreas Hocevar [mailto:[email protected]] Sent: Wednesday, July 21, 2010 12:19 PM To: Dan Ramage Cc: [email protected] Subject: Re: [Users] RadioButtonMixin and custom TreeNodeUI On Jul 21, 2010, at 18:04 , Dan Ramage wrote: > Is the RadioButtonMixin class currently being used in the latest release? > I've been trying to understand how to create a tree node with a slider for > opacity, so I've been looking at how the radio button was implemented. The > example I originally followed simply added the radioGroup: 'foo' to the > loader configuration when building the nodes. The only place I could find > radioGroup referenced was the RadioButtonMixin, but I can't seem to find > where/how RadioButtonMixin is instantiated. Look at http://dev.geoext.org/trunk/geoext/examples/tree.html There are two ways to have a radio button. RadioButtonMixin is only used if you want a radio button in addition to the checkbox. This is done with the custom LayerNodeUI in the above example. When using radioGroup, which is implemented in GeoExt.tree.LayerNodeUI, the ui is only modified to replace the checkbox with a radio button. But if you want to know how to change the UI of layer nodes, digging into some of the patches found in http://trac.geoext.org/ticket/139 might help. Regards, Andreas. > > > Thanks for any pointers, > > > Dan > > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
