No i have a static html page against each of the above (AccessDenied.html, SessionExpiry.html and Error.html) but these pages are not defined in wicket and are part of another external application i am integrating my wicket application with, and want to use the same pages for the error scenarios.
Johan Compagner wrote: > > What do you mean? You have more then 1 type of accessdenied page? > And why would you redirect your self to those pages? They are used by > the framework. You can use them yourself ofcourst. Just get the class > from the settings and set that as a response page. > > On 4/25/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Guys, >> >> I was wondering, if i were to redirect to external error, expiry and >> access-denied page. Is there a better solution then to make individual >> page-class for above and do a redirect to the corresponding pages in >> their >> constructor? Since setAccessDeniedPage, setInternalErrorPage (in >> ApplicationSettings) all take Class class as argument.. >> >> Thanks in advance >> >> >> -- >> View this message in context: >> http://www.nabble.com/External-Error%2C-Expiry-%2C-AccessDenied-Pages-tp16885052p16885052.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/External-Error%2C-Expiry-%2C-AccessDenied-Pages-tp16885052p16892666.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]