[Users] filter in attributes-Form [SOLVED]
Sascha Müller
s.mueller76 at arcor.de
Wed Sep 15 10:01:28 CEST 2010
Hi,
I added 'ignore : {type : "xsd:string"}' to the attributeStore.
var attributeStore = new GeoExt.data.AttributeStore({
url:
"geoserverurl+"?VERSION:1.0&REQUEST=DescribeFeatureType&TYPENAME=" +
myLayer ,
>>> ignore : {type : "xsd:string"} <<<
});
Regards
Sascha
> 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
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100915/f8e888b1/attachment-0001.htm
More information about the Users
mailing list