Hi,

> what is the difference between
> 
>       @Override
>       public IApplicationSettings getApplicationSettings() {
>               IApplicationSettings settings= super.getApplicationSettings();
>               settings.setInternalErrorPage(internalErrorPage)
>               return settings;
>       }
> 
> settings.setInternalErrorPage(internalErrorPage) and
You have no acces to the exception thrown.

Perhaps this could be a RFE ? 
a) Something like: ErrorWebPage extends WebPage with ErrorWebPage(Exception e) 
as constructor? 

b) if the annotated error Page has a constructor 
        InternalErrorPage(Exception e) use this one to create the class?

> reqauestcycle.onruntimeexception(exception e) { return new myerrorpage(e);
>  }
You acces the exception via the constructor.

Best Regards,
        Ilja Pavkovic

> 
> when is   InternalErrorPage    used and when is   myerrorpage used ?
> and also we have   IExceptionSettings ,  when is this used ?
> 
> igor.vaynberg wrote:
> > reqauestcycle.onruntimeexception(exception e) { return new
> > myerrorpage(e); }
> >
> > -igor
> >
> > On Wed, Dec 30, 2009 at 7:22 AM, tubin gen <fachh...@gmail.com> wrote:
> >> We created our custom error page so any time error happens wicket
> >> redirects
> >> to this error page , I want also want to display the exception stack
> >> trace
> >> in this page , please tell me how  to do this ?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> 

-- 
binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin

   +49 · 171 · 9342 465

Handelsregister: HRB 115854 - Amtsgericht Charlottenburg
Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to