when do you test this? ((WebRequestCycle)RequestCycle.get()).getWebRequest().getHttpServletRequest().getMethod(),
and why do you care if it is a get or post? On Thu, Aug 19, 2010 at 22:15, [email protected] <[email protected]> wrote: > > <TITLE> New Document </TITLE> > <META NAME="Generator" CONTENT="EditPlus"> > <META NAME="Author" CONTENT=""> > <META NAME="Keywords" CONTENT=""> > <META NAME="Description" CONTENT=""> > </HEAD> > <BODY> > <form method=POST action="http://x.x.x.x/rootContext/subcontext"> > <INPUT TYPE=text NAME=your_name VALUE="First Last" > > <INPUT TYPE=submit VALUE="Test this form"> > </form> > </BODY> > </HTML> > > But when I look up > ((WebRequestCycle)RequestCycle.get()).getWebRequest().getHttpServletRequest().getMethod(). > it comes as "GET" and the parameter list is also zero. I am new to Wicket, > so obviously missing something very simple and basic. Can someone provide > some pointers? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/POST-request-comes-as-GET-in-wicket-tp2331816p2331816.html > Sent from the Wicket - Dev mailing list archive at Nabble.com. >
