~~NOTRANS~~
~~Title: Replacing Error Dialog~~
It's not tricky to replace the standard Error dialog. Simply set following property in your [[applications:application_properties|application.xml]] or [[vaadin:deployment_descriptor|web.xml]].
com.demo.apps.MyError
Your own implementation should look like following class:
import com.sibvisions.rad.application.Error;
import jvx.rad.ui.container.IDesktopPanel;
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.
If you want to replace the error dialog with your own error handling, read [[applications:custom_errorhandling|this article]].