You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by m!ga <ga...@gmail.com> on 2009/09/25 16:51:44 UTC
AJAX form request is empty
I have form component which in brief looks like this:
<t:form t:id="form1" t:zone="zone1">
<t:errors/>
<t:zone t:id="basketZone">
<!-- this select is in another component -->
<t:select t:id="select1" />
</t:zone>
<t:submit/>
</t:form>
This form previously was without zones and worked fine. Now after submit I
get server 500 error and message "Forms require that the request method be
POST and that the t:formdata query parameter have values.".
And there are the headers:
Response:
Server Apache-Coyote/1.1
X-Tapestry-ErrorMessage Forms require that the request method be POST and
that the t:formdata query parameter have values.
Content-Type text/html;charset=UTF-8
Content-Length 6423
Date Fri, 25 Sep 2009 14:34:25 GMT
Connection close
Request:
Host localhost:8080
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
Accept text/javascript, text/html, application/xml, text/xml, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
X-Requested-With XMLHttpRequest
X-Prototype-Version 1.6.0.3
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Referer http://localhost:8080/shop/basket
Content-Length 7
Request contains only submit value and nothing more!
May be T5 does not allow zone component inside the forms?
--
View this message in context: http://www.nabble.com/AJAX-form-request-is-empty-tp25613509p25613509.html
Sent from the Tapestry - User mailing list archive at Nabble.com.