Why not just use SimpleAttributeModifier for action attribute of your form?
It works for me, try it. shumbola Anton Veretennikov wrote: > > Honestly, I tried it :) but it didn't work.... > > Thank you. > > On Fri, Jul 10, 2009 at 10:50 PM, Igor Vaynberg<[email protected]> > wrote: >> 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: >>> # >>> >>> 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] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Submiting-a-form-to-external-page-with-SubmitLink-tp24424850p24431662.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
