<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">Hi,
<br>
<br>
I use:
<br>
<br>
- GeoExt: trunk (08_2010)
<br>
- OpenLayers: 2.9.1
<br>
- GeoServer: 1.7.7
<br>
<br>
I use the attribute-Form like in the GeoExt Examples. Now, I want only
attributes where the type is not a 'string'.
<br>
Where do I have to do this? Inside the GeoExt.data.AttributeStore?
<br>
<br>
var attributeStore = new GeoExt.data.AttributeStore({
<br>
url:
"geoserverurl+"?VERSION:1.0&REQUEST=DescribeFeatureType&TYPENAME="
+ myLayer
<br>
});
<br>
<br>
form = new Ext.form.FormPanel({
<br>
renderTo: document.body,
<br>
autoScroll: true,
<br>
height: 300,
<br>
width: 350,
<br>
defaults: {
<br>
width: 120,
<br>
maxLengthText: "too long",
<br>
minLengthText: "too short"
<br>
},
<br>
plugins: [
<br>
new GeoExt.plugins.AttributeForm({
<br>
attributeStore: attributeStore
<br>
})
<br>
]
<br>
});
<br>
<br>
attributeStore.load();
<br>
<br>
<br>
Thanks
<br>
<br>
Sascha
<br>
<br>
</div>
</body>
</html>