[Users] How to ignore field in the FormPanel
Pierre Giraud
pierre.giraud at camptocamp.com
Fri May 22 08:20:52 CEST 2009
This is an interresting question.
The described behavior can occur in other cases.
For example, if you have a toolbar with a form field in a panel which is
wrapped into a formpanel, the form fields are submitted. This is worth
knowing such a great feature as it can be helpful.
However, I don't know (for now) any Extjs' way to tell the BasicForm to
ignore some fields.
Thus, solution (b) is something we can think about.
But I'm waiting for other ExtJs guru's answer on that point. Maybe a post on
the ExtJs forum can help us.
Regards,
Pierre
tip: searches in the ExtJs forum can be made easier using the dedicated
google custom search engine (
http://www.google.com/coop/cse?cx=011693920879787039234%3Az7of1ufqccu )
On Fri, May 22, 2009 at 4:14 AM, 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',
> 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
>
--
Pierre GIRAUD
Géomaticien, Analyste
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20090522/6d43abc6/attachment.htm
More information about the Users
mailing list