cycle.setRequestTarget(new IRequestTarget()
{
public void detach(RequestCycle requestCycle)
{
}
public Object getLock(RequestCycle requestCycle)
{
return null;
}
public void respond(RequestCycle requestCycle)
{
// Redirect there
cycle.getResponse().redirect("https://xxxxx/dsfsadf?x=y");
}
});
On 7/31/06,
Dipu <[EMAIL PROTECTED]> wrote:
Hi Johan,Can you please give me an example on how to do redirect using IRequestTargetThanksDipu----- Original Message -----From: Johan CompagnerSent: Thursday, July 06, 2006 9:48 AMSubject: Re: [Wicket-user] SSLRedirect to a full url or use an ExternalLink (pointing to your own site but then with ssl)
Do that redirect with a IRequestTarget.I don't know how you do it now but doing a redirect should always be done
through request targets.
johan
On 7/6/06, Joe Toth <[EMAIL PROTECTED]> wrote:How can I implement a way switch over to https?
Depending on how the user navigates I need to swich over to https from
a form submit. Every time I try a different way to implement this
transparently I receive "Caused by: wicket.WicketRuntimeException:
Already redirecting to '/app/Checkout'. Cannot redirect more than
once"
At first I tried to annotate a class with @RequiredSSL and created a
new IResponseStrategy that would test if the request was secure, if
not, WebResponse.redirect to the https version of the requested url.
Second I tried to do the same in the constructor of my Base Class for
all my pages and throw an AbortException, but I had the same problem.
Any ideas?
Also, are there any plans to add a https feature in 2.0 core or extensions?
Thanks!
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
