Balaji,
If I understand you correctly, you want that the browser is redirected
to the response of a post request to site B after the user only sent a
post request to site A.
This is really not a Wicket question.
Web browsers cannot be directed to respond like this unless you send a
page with you
You can use HttpClient for this.
Alex Objelean
chocba wrote:
>
> Thanks Igor. I'll give it a try. But the api doc says
> redirectrequesttarget will only redirect to an external url, but I would
> like to post the form, not just redirect.
>
>
> igor.vaynberg wrote:
>>
>> class myform extends
Thanks Igor. I'll give it a try. But the api doc says redirectrequesttarget
will only redirect to an external url, but I would like to post the form,
not just redirect.
igor.vaynberg wrote:
>
> class myform extends form {
> protected void onsubmit() {
>// do something
>string
class myform extends form {
protected void onsubmit() {
// do something
string url=
getrequestcycle().setrequesttarget(new redirectrequesttarget(url));
}
}
-igor
On Sat, Nov 21, 2009 at 8:23 AM, chocba wrote:
>
> No. Right now, I tried exactly the way you mentione
Saturday, November 21, 2009 11:16 AM
To: users@wicket.apache.org
Subject: RE: Posting A Form To NonWicket
Basically, my form will post to an action url pointing to BIRT viewer, a web
appplication of BIRT. If I use httpcommons, how will I get the web content
in to the same window from where I
No. Right now, I tried exactly the way you mentioned. I created a form
element in javascript and add hidden fields to post the form. THe hidden
fields are populated after extracting the values from wicket input elements.
I'm concerned about the security since anyone could view source and see the
Basically, my form will post to an action url pointing to BIRT viewer, a web
appplication of BIRT. If I use httpcommons, how will I get the web content
in to the same window from where I'm posting the form. Please let me know.
Thanks for the response.
Alex Rass wrote:
>
> You could write someth
http://www.google.co.uk/search?q=nabble+wicket+posting+form+external+site
http://old.nabble.com/post-a-form-to-external-website-td25506726.html
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Nov 20, 2009 at 11:14 AM, Balaji C wrote:
> I've a wicket form with input elements. I would
You could write something on the server end (or your wicket app) that would
do it for you.
Just use apache http commons or write your own post code. Easy stuff (open
socket, couple commands, dump input, close socket).
It can even get back to the user with error codes from the other server etc
if y
Is there a requirement to process the data in any way before
submitting to the remote application? Why wouldn't you just use an
HTML form with the appropriate action pointing to the remote host?
Wicket may not need to know about this form.
Ed.
On Fri, Nov 20, 2009 at 12:14 PM, Balaji C wrote:
10 matches
Mail list logo