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

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to