Class AbstractErrorPage

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IManageablePage, IRequestableComponent, IRequestablePage, IHierarchical<Component>, IClusterable
Direct Known Subclasses:
AccessDeniedPage, ExceptionErrorPage, InternalErrorPage, PageExpiredErrorPage

public abstract class AbstractErrorPage extends WebPage
A parent page for all pages that are used to show an error to the user. Setups the common settings for an error page.
See Also:
  • Constructor Details

  • Method Details

    • isErrorPage

      public boolean isErrorPage()
      Description copied from class: Page
      Override this method and return true if your page is used to display Wicket errors. This can help the framework prevent infinite failure loops.
      isErrorPage in class Page
      True if this page is intended to display an error to the end user.
    • isVersioned

      public boolean isVersioned()
      isVersioned in class Component
      true if this component should notify its holding page about changes in its state. If a Page is not versioned then it wont track changes in its components and will use the same Page.getPageId() during its lifetime
    • renderHead

      public void renderHead(IHeaderResponse response)
      Description copied from class: Component
      Render to the web response whatever the component wants to contribute to the head section.
      Specified by:
      renderHead in interface IHeaderContributor
      renderHead in class Component
      response - Response object