Re: Resources can't object HTTP request body

2016-03-31 Thread Илья Нарыжный
Martin, Ticket has been created: https://issues.apache.org/jira/browse/WICKET-6135 Will attach quick start today/tomorrow. Thanks, Ilia 2016-03-29 6:39 GMT-07:00 Martin Grigorov : > Please create a ticket at JIRA. > With a quickstart would be nice! > Thank you! > > Martin Grigorov > Wicket Trai

Re: Resources can't object HTTP request body

2016-03-29 Thread Martin Grigorov
Please create a ticket at JIRA. With a quickstart would be nice! Thank you! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 29, 2016 at 3:30 PM, Илья Нарыжный wrote: > Martin, > > There are 3 problems: > > 1) Map can not guarantee that order of keys rem

Re: Resources can't object HTTP request body

2016-03-29 Thread Илья Нарыжный
Martin, There are 3 problems: 1) Map can not guarantee that order of keys remain the same. In my case Jetty use HashMap as underling storage. 2) Some part of content might be URL encoded. So after collecting all back: it's hard to revert exectly to initial value due to fact that some parts contai

Re: Resources can't object HTTP request body

2016-03-27 Thread Martin Grigorov
Hi, I remember dealing with this in the past but I cannot find the mail thread now. I think the complete body should be available as a valueless key in the post parameters: getRequest().getPostParameters().getParameterNames().iterator().next(). Please confirm whether this works! If it does then I

Resources can't object HTTP request body

2016-03-25 Thread Илья Нарыжный
It seems that Wicket Resource can't obtain whole HTTP POST body. The reason of that is the following: Mappers invoke WebRequest.isAjax() and isAjax() is trying to getRequestParameters() - so body of POST parsed prior to actual getInputStream() in a Resource object. Is there any chances to allow Re