Documentation

(applications)

Replacing Error Dialog

This is an old revision of the document!


It's not tricky to replace the standard Error dialog. Simply set following property in your application.xml or web.xml.

<Application.Error.classname>com.demo.apps.MyError</Application.Error.classname>

Your own implementation should look like following class:

MyError.java
public class MyError extends Error
{
    public MyError(IDesktopPanel pDesktop) throws Exception
    {
        super(pDesktop);
 
        //hide the details button
        getDetailsButton().setVisible(false);
    }
}

Our custom error dialog hides the Details button.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information