you can subclass form, override oncomponenttag and change the value of the action attribute to point to the external page.
-igor On Fri, Jul 10, 2009 at 3:17 AM, Anton Veretennikov<[email protected]> wrote: > Hello, wicket users and developers, > > I need to post a form to external page and open it in a new window. > > I found an advice to use a simple WebMarkupContainer instead of a form here: > http://markmail.org/message/hpim6m4fyb56kzi5#query:Wicket%20how%20to%20redirect%20with%20POST+page:1+mid:ghuhk35lqosmpswp+state:results > > But I want to submit this form via SubmitLink. > > Of course, as I don't have a form in SubmitLink constructor it produces only: > <a href="#" onclick> > > How to implement this? I'm asking your help on my problem. > > Thank you very much. > > -- Tony > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
