throw new RestartResponseAtInterceptPageException(new RedirectPage(url)); You haven't said anything about what payment solution you're using. The thing is, if you have to redirect the user to the payment solution with the pricing (or whatever your "important" param is) as a URL parameter, then that will NOT be secured by putting it in JS. An intelligent user can just as easily see the param there.
-- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 6, 2010 at 9:29 PM, wicketyan <[email protected]> wrote: > 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 <[email protected]> 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 > > >
