On Thu, Sep 9, 2010 at 5:39 PM, Sascha Müller <[email protected]> wrote:
> 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?

The AttributeReader has an "ignore" option for exactly this. See
<http://geoext.org/lib/GeoExt/data/AttributeReader.html>. Options
passed to the AttributeStore are passed to the AttributeReader so just
set "ignore" in the options passed to the AttributeStore (e.g. ignore:
{"type": new RegEx("string", "i")}).

Sorry for delayed answer.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to