Thanks Jeremy Thomerson ! is "throw new redirect response and redirect" means this way:WebRequestCycle.get().setRequestTarget(new RedirectRequestTarget("URL...")),using a url like "Wicket.html?opt=admin" .but this will expose the important param in the url.So,writting out javascript is the only way?
2010-04-07 wicketyan 发件人: Jeremy Thomerson 发送时间: 2010-04-07 04:17:05 收件人: users 抄送: 主题: Re: onlinepayment throw new redirect response and redirect, or write out javascript that does the redirect (target.appendJavascript("")). -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 6, 2010 at 4:00 AM, wicketyan <wicket...@gmail.com> wrote: > Hi! Is anyone can give me code example about online payment using ajax.I > have to use form action attribute to post a url,but wicket do not support > directing a url to external website on 'post' way in method submit(). > > > 2010-04-06 > > > > wicketyan >