com.wewebu.ow.server.app
Class OwConfiguration.OwErrorView

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.app.OwConfiguration.OwErrorView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget
Enclosing class:
OwConfiguration

protected class OwConfiguration.OwErrorView
extends OwView

simple message view class to display a exception when main plugin load failed


Field Summary
 
Fields inherited from class com.wewebu.ow.server.ui.OwView
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
 
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView
EMPTY_STRING
 
Constructor Summary
OwConfiguration.OwErrorView(Exception e_p, String strTitle_p)
          Constructor
 
Method Summary
 Exception getException()
          Returns the exception
 String getIcon()
          get the icon URL for this plugin to be displayed
 String getTitle()
          overridable title of the view
protected  void onRender(Writer w_p)
          called when the view should create its HTML content to be displayed
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
 
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwConfiguration.OwErrorView

public OwConfiguration.OwErrorView(Exception e_p,
                                   String strTitle_p)
Constructor

Parameters:
e_p - Exception
strTitle_p - Title of the view
Method Detail

getException

public Exception getException()
Returns the exception

Returns:
the exception
Since:
3.2.0.0

getIcon

public String getIcon()
               throws Exception
get the icon URL for this plugin to be displayed

Overrides:
getIcon in class OwView
Returns:
String icon URL, or null if not defined
Throws:
Exception

getTitle

public String getTitle()
Description copied from class: OwView
overridable title of the view

Specified by:
getTitle in interface OwBaseView
Overrides:
getTitle in class OwView
Returns:
String localized display name for the view

onRender

protected void onRender(Writer w_p)
                 throws Exception
called when the view should create its HTML content to be displayed

Overrides:
onRender in class OwView
Parameters:
w_p - Writer object to write HTML to
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.