[Users] filter in attributes-Form

Sascha Müller s.mueller76 at arcor.de
Thu Sep 9 17:39:49 CEST 2010


Hi,

I use:

- GeoExt: trunk (08_2010)
- OpenLayers: 2.9.1
- GeoServer: 1.7.7

I use the attribute-Form like in the GeoExt Examples. Now, I want only 
attributes where the type is not a 'string'.
Where do I have to do this? Inside the GeoExt.data.AttributeStore?

     var attributeStore = new GeoExt.data.AttributeStore({
         url: 
"geoserverurl+"?VERSION:1.0&REQUEST=DescribeFeatureType&TYPENAME=" + 
myLayer
     });

     form = new Ext.form.FormPanel({
         renderTo: document.body,
         autoScroll: true,
         height: 300,
         width: 350,
         defaults: {
             width: 120,
             maxLengthText: "too long",
             minLengthText: "too short"
         },
         plugins: [
             new GeoExt.plugins.AttributeForm({
                 attributeStore: attributeStore
             })
         ]
     });

     attributeStore.load();


Thanks

Sascha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100909/a86cb2e8/attachment.htm 


More information about the Users mailing list