You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by senlog80 <se...@gmail.com> on 2016/08/05 14:53:44 UTC
POST parameters are empty in Apache wicket
Hello,
My Wicket Application code is deployed as a war file in JBOSS application
server.
I am raising a POST request from vbscript.
But, always My request post parameters are empty in my HomePage.java. If I
use the GET request the I can get the query string values from page
parameters.
Apache wicket release is 1.5.5.
Any help is highly appreciated.
Sample code
public class HomePage extends AbstractPage {
public HomePage(final PageParameters parameters) {
super(parameters);
RequestCycle rc = RequestCycle.get();
Request rq = rc.getRequest();
IRequestParameters postParams = rq.getPostParameters();
Here I am not getting any value in the post parameters.
Thanks
Senthil
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-tp4675266.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: POST parameters are empty in Apache wicket
Posted by senlog80 <se...@gmail.com>.
Hi
I have started a new mail thread for this query.
Here is the link..
http://apache-wicket.1842946.n4.nabble.com/POST-request-shows-the-parameters-in-the-URL-of-result-page-tt4675323.html
Thanks
Senthil
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-tp4675266p4675324.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: POST parameters are empty in Apache wicket
Posted by Martin Grigorov <mg...@apache.org>.
Please start a new mail thread for new questions!
Which page has the parameters in the url ?
UserDetailPage will have them because this is not POST but GET (via
redirect).
It is not clear what UserForm does and what is the next page.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Aug 16, 2016 at 4:20 PM, senlog80 <se...@gmail.com> wrote:
> I have a form on my page, which when submitted goes the next page, but all
> the form's fields appear as URL parameters in the resulting page. I want
> to
> hide all the parameters in the url, so that I am using POST request but
> still it shows the parameters in the resulting page.
>
> Thanks
> Senthil
>
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-
> tp4675266p4675306.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: POST parameters are empty in Apache wicket
Posted by senlog80 <se...@gmail.com>.
I have a form on my page, which when submitted goes the next page, but all
the form's fields appear as URL parameters in the resulting page. I want to
hide all the parameters in the url, so that I am using POST request but
still it shows the parameters in the resulting page.
Thanks
Senthil
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-tp4675266p4675306.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: POST parameters are empty in Apache wicket
Posted by Martin Grigorov <mg...@apache.org>.
Great!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Aug 16, 2016 at 11:03 AM, senlog80 <se...@gmail.com> wrote:
> After replacing Wicket 6.24.0 jars, now I can able to get the Post
> parameters
>
> Thanks a lot...
>
> Senthil
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-
> tp4675266p4675304.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: POST parameters are empty in Apache wicket
Posted by senlog80 <se...@gmail.com>.
After replacing Wicket 6.24.0 jars, now I can able to get the Post parameters
Thanks a lot...
Senthil
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-tp4675266p4675304.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: POST parameters are empty in Apache wicket
Posted by senlog80 <se...@gmail.com>.
Thanks Martin...
I will test with 6.x wicket jars and post the status.
Thanks
Senthil
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-tp4675266p4675283.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: POST parameters are empty in Apache wicket
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
This has been fixed in 6.x/7.x series.
1.5.x is not supported anymore. It receives only security related fixes. We
recommend you to upgrade to a more recent version!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Aug 5, 2016 at 4:53 PM, senlog80 <se...@gmail.com> wrote:
> Hello,
>
> My Wicket Application code is deployed as a war file in JBOSS application
> server.
> I am raising a POST request from vbscript.
>
> But, always My request post parameters are empty in my HomePage.java. If I
> use the GET request the I can get the query string values from page
> parameters.
>
> Apache wicket release is 1.5.5.
>
> Any help is highly appreciated.
>
> Sample code
>
> public class HomePage extends AbstractPage {
>
> public HomePage(final PageParameters parameters) {
> super(parameters);
> RequestCycle rc = RequestCycle.get();
> Request rq = rc.getRequest();
> IRequestParameters postParams = rq.getPostParameters();
>
> Here I am not getting any value in the post parameters.
>
> Thanks
> Senthil
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/POST-parameters-are-empty-in-Apache-wicket-tp4675266.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>