This is an interresting question.<br>The described behavior can occur in other cases.<br>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.<br>
<br>However, I don't know (for now) any Extjs' way to tell the BasicForm to ignore some fields. <br>Thus, solution (b) is something we can think about.<br><br>But I'm waiting for other ExtJs guru's answer on that point. Maybe a post on the ExtJs forum can help us.<br>
<br>Regards,<br>Pierre<br><br>tip: searches in the ExtJs forum can be made easier using the dedicated google custom search engine ( <a href="http://www.google.com/coop/cse?cx=011693920879787039234%3Az7of1ufqccu">http://www.google.com/coop/cse?cx=011693920879787039234%3Az7of1ufqccu</a> )<br>
<br><div class="gmail_quote">On Fri, May 22, 2009 at 4:14 AM, Daniel Kastl <span dir="ltr"><<a href="mailto:orkney@gmx.de">orkney@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi list,<br>
<br>
I'm using the GeoExt.form.FormPanel and I have a collapsable fieldset in<br>
my form:<br>
<br>
{<br>
xtype : 'fieldset',<br>
title : 'My Fieldset with Chseckbox',<br>
checkboxToggle: true,<br>
// checkboxName: 'name_has_no_effect',<br>
collapsed: true,<br>
....<br>
}<br>
<br>
When I now submit the form the WFS complains<br>
<br>
<ows:Exception exceptionCode="InvalidParameterValue"><br>
<ows:ExceptionText>Illegal property name: ext-comp-1005-checkbox</ows:ExceptionText><br>
</ows:Exception><br>
<br>
... because it also submits this checkbox of my fieldset.<br>
<br>
Is there an easy way to prevent fields being submitted ...<br>
(a) maybe through ExtJS, or<br>
(b) add by adding an identifier to GeoExt.form.toFilter.FILTER_MAP that<br>
will ignore a field name?<br>
<br>
Best regards,<br>
<br>
Daniel<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Pierre GIRAUD<br>Géomaticien, Analyste<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex <br><br>Tel : 00 33 4 79 44 44 93<br>Mail : <a href="mailto:pierre.giraud@camptocamp.com">pierre.giraud@camptocamp.com</a><br>
<a href="http://www.camptocamp.com">http://www.camptocamp.com</a> <br>