My GWT app uses a FormPanel with method set to 'METHOD_POST' in ui.xml. This
causes both IE7 and 9 to complain about it saying invalid argument. If I
change it to 'POST' manually, it works. What gives?
I'm having trouble that this is an oversight on GWT's part. Is there
anything I am missing?
METHOD_POST and METHOD_GET are constants of type String; setAction on
FormPanel takes a String argument. So the value you put in the ui.xml is the
String value you set directly, so you should use POST, not METHOD_POST.
That would be different with an enum value, but here it's only String.
--
On Friday, July 1, 2011 11:37:26 AM UTC-7, Thomas Broyer wrote:
METHOD_POST and METHOD_GET are constants of type String; setAction on
FormPanel takes a String argument. So the value you put in the ui.xml is the
String value you set directly, so you should use POST, not METHOD_POST.
In that