Woo hoo! Got it by basically doing what PageMap.redirectToInterceptPage does.
If I made a patch that added a setSecure(boolean) method to WebPage and handled all this stuff (redirects to https or http accordingly), would you guys review and consider putting it in the core? On 10/27/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > I'm trying to get something to work with: > > page.urlFor(IRedirectListener.class); > > but it just doesn't and I can't seem to figure out why not. > > On 10/27/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > > Yea, but my problem is finding that full url because when > > checkAccess() is called, the url in the request is not the redirect > > handler, but whatever interface was called last, and you can't > > redirect to that. > > > > On 10/27/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > i think you just have te redirect to a full url (but then with https) > > > > > > > > > > > > On 10/26/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > > > > > > > > At first I tried sending a redirect to the URL in the request, but > > > > with https instead of http, but that breaks down if the user is > > > > redirected to the secure page since the url may include listener > > > > interfaces and what have you. I could still do this if there was some > > > > other way to get the url for a page as it currently exists, but I'm > > > > not sure if I can do that, or if it's possible. Does anyone have any > > > > ideas on this? My ultimate goal is to just be able to flag pages that > > > > need to be secure as such, and have all the redirects taken care of in > > > > the super class. > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by the JBoss Inc. > > > > Get Certified Today * Register for a JBoss Training Course > > > > Free Certification Exam for All Training Attendees Through End of 2005 > > > > Visit http://www.jboss.com/services/certification for > > > more information > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user