Hi, although more a GeoExt than a GeoServer question, the answer is to use a WMSCapabilitiesLoader (http://geoext.org/lib/GeoExt/widgets/tree/WMSCapabilitiesLoader.html). Also see the example: http://dev.geoext.org/trunk/geoext/examples/wms-tree.html
Regards, Andreas. On Aug 10, 2010, at 11:19 , Evans, Barry wrote: > Hi there, I have a question about layertrees. I’m very new to GeoExt and I > have been following the examples online so I apologise in advance for the > beginner type questions. I’ve set up a grid interface which can be used to > populate the layertree as per the tutorial which is linked to my datastore in > geoserver to which the user can select a layer and import it into a layertree > and subsequent viewer. I want, however, to avoid using the Grid function > altogether and have the layertree automatically populate with all the layers > being held within a store in Geoserver. Is there a simple bit of code for > doing this that will just point the layertree directly to the store in > geoserver? I have had a play around with it but cannot get it to work. > > Regards, > > Barry > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
