You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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?
Thomas Broyer
unread,
Jul 1, 2011, 2:37:26 PM7/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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.
slowpoison
unread,
Jul 1, 2011, 2:40:59 PM7/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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 case, it's the GWT Desinger's fault, because I chose a value from the drop-down. Nonetheless, thanks.