[Users] How to ignore field in the FormPanel

Eric Lemoine eric.lemoine at camptocamp.com
Fri May 22 10:00:18 CEST 2009


On Friday, May 22, 2009, Daniel Kastl <orkney at gmx.de> wrote:
> Hi list,
>
> I'm using the GeoExt.form.FormPanel and I have a collapsable fieldset in
> my form:
>
> {
>     xtype : 'fieldset',
>     title : 'My Fieldset with Chseckbox',
>     checkboxToggle: true,
>     // checkboxName: 'name_has_no_effect',


I presume you've tried checkboxName: null.


>     collapsed: true,
>     ....
> }
>
> When I now submit the form the WFS complains
>
> <ows:Exception exceptionCode="InvalidParameterValue">
>     <ows:ExceptionText>Illegal property name: ext-comp-1005-checkbox</ows:ExceptionText>
> </ows:Exception>
>
> ... because it also submits this checkbox of my fieldset.
>
> Is there an easy way to prevent fields being submitted ...
> (a) maybe through ExtJS, or
> (b) add by adding an identifier to GeoExt.form.toFilter.FILTER_MAP that
> will ignore a field name
>
> Best regards,
>
> Daniel
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>

-- 
Eric Lemoine

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

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list