class: ErrorPage

public class: ErrorPage
Author: : Thomas Diebäcker, created 10.01.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2349 $ $LastChangedDate: 2009-03-11 1; Complexity: 1
Dates: Created: 16.07.2009 15:34:13; Modified: 16.07.2009 15:34:13;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {DDC0BDBE-9F12-4e82-813B-19D0ED49004E}
BackingBean for ErrorPage.jsp. Use this class to display error messages in a seperate page. Don't forget in the calling component to set the exception as the reason for this error before you display the page!
 

Goto: Custom Properties, Fields, Methods

Extends: BreadcrumbPage

See also: BreadcrumbPage

Appears in: pubman

Connections
 
Custom Properties
 
ErrorPage Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "ErrorPage"
Notes: used by calling components to get this Bean
private String
  detail
Initial: null
private Exception
  exception
Initial: null
public static const String
  GT_ERRORPAGE
Initial: "faces/GTErrorPage.jsp"
Notes: The referring GUI Tool Page
public static const String
  GT_LOAD_ERRORPAGE
Initial: "loadGTErrorPage"
Notes: Faces navigation string for GUI Tool
public static const String
  JSP_NAME
Initial: "ErrorPage.jsp"
Notes: JSP-Name for avoiding JSF-Navigation
public static const String
  LOAD_ERRORPAGE
Initial: "loadErrorPage"
Notes: Faces navigation string
private static Logger
  logger
Initial: Logger.getLogger(ErrorPage.class)
private HtmlPanelGrid
  panPageAlert
Initial: new HtmlPanelGrid()
private static const long
  serialVersionUID
Initial: 1L
private String
  summary
Initial: null
 
ErrorPage Methods
Operation Details
private
createPageAlert():void
Sequential
Notes: Sets all attributes of the pageAlert component according to the exception set before.
public
ErrorPage():
Sequential
Notes: Public constructor.
protected
getCommonSessionBean():CommonSessionBean
Sequential
Notes: Returns the CommonSessionBean.
@return a reference to the scoped data bean (CommonSessionBean)
public
getDetail():String
Sequential
public
getException():Exception
Sequential
Notes: Returns the exception this pageAlert will display.
@return the exception of the pageAlert
public
getPanPageAlert():HtmlPanelGrid
Sequential
Notes: Returns the panel with the pageAlert.
@return the panel with the pageAlert
public
getStackTrace():String
Sequential
public
getSummary():String
Sequential
public
init():void
Sequential
Notes: Callback method that is called whenever a page is navigated to, either directly via a URL, or indirectly via page navigation.
public
isItemSpecific():boolean
Sequential
Tags: annotations=@Override
protected
redirectToGUITool():String
Sequential
Notes: Redirects to the referring GUI Tool page.
@author Tobias Schraut
@return a navigation string
public
setException(
   Exception exception):void
Sequential
Notes: Sets a new exception that should be displayed by the pageAlert.
public
setPanPageAlert(
   HtmlPanelGrid panPageAlert):void
Sequential
Notes: Sets the panel with the pageAlert.