you can set your own AccessDeniedPage in Application.init(): getApplicationSettings.setAccessDeniedPage( MyAccessDeniedPageWithLinkToJspPage.class);
Gerolf On 10/23/07, raybristol <[EMAIL PROTECTED]> wrote: > > > Hi, I am using isInstantiationAuthorized method in a application class for > some simply security check, which is working fine, if the user doesn't > have > the right to access a page, page display: > > Access Denied > You do not have access to the page you requested. > > Return to home page > > > However, I can't change the url for 'Return to home page' link, as the > homepage is a jsp page but 'Return to home page' link just send me to the > default wicket homepage which specifed in xml file right? I wonder is > there > a way to change it as I am working with some jsp pages. > > Many thanks! > -- > View this message in context: > http://www.nabble.com/question-about-%27isInstantiationAuthorized%27-method%2C-thanks%21-tf4676368.html#a13360843 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >