> I'm concerned about the security since anyone could view source and  see
the action url and try to post the form. Please let me know if any other
alternative. Thanks.

Well, if you do it on backend (through code) - no one knows what's going on
- they are just submitting a form to YOUR server.

Not sure what BIRT is. Hope it's not important.
Well, timeline looks like this:
Client hits Submit on WicketForm1
WicketForm1.onSumbit() is launched (or action you associated with the
WicketForm1.formbutton).
In onSumbit, you take all your values, and you take apache-http-commons and
you use it to POST data to your TargetServer's form. Then read the reply
(it's a 1-shot deal. You post - it replies back with a page), parse it up,
extract whatever stuff you need (hope it d/n change often on you).
Then you can populate a WicketForm1.label or something with results from
what you parsed out (you can tell label to not change html). And screen is
returned to a Client with results.  You can also redirect to appropriate
page instead (bunch of redirect options available in wicket)

Hope this helps.

-----Original Message-----
From: chocba [mailto:cho...@gmail.com] 
Sent: 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'm posting the form. Please let me know.
Thanks for the response.


Alex Rass wrote:
> 
> 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 you wanna be spiffy.
> 
> 
> -----Original Message-----
> From: Balaji C [mailto:cho...@gmail.com] 
> Sent: Friday, November 20, 2009 12:15 PM
> To: users@wicket.apache.org
> Subject: Posting A Form To NonWicket
> 
> I've a wicket form with input elements. I would like to post this form to
> a
> non-wicket url. Is it possible to post this form from submit event of
> wicket
> button? I google and couldn't find any clear solution. Any help is
> appreciated. If any other alternative, please let me know. Thanks.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context:
http://old.nabble.com/Posting-A-Form-To-NonWicket-tp26447615p26457990.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to