com.plumtree.uiinfrastructure.errordisplay
Class ErrorView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.errordisplay.AErrorView
      extended by com.plumtree.uiinfrastructure.errordisplay.ErrorView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class ErrorView
extends AErrorView
implements IView

Author:
BenG This concrete view class extends AErrorView.

Although the existing error view classes are essentially functionally equivalent, it is necessary to provide multiple views for those cases in which multiple error displaying MVCs are embedded in the same page.

For example, all display pages extending PlumtreeDP automatically contain an error display MVC. This MVC is responsible for displaying errors that do not require a separate display page. The display page that is responsible for displaying those errors that do require a separate display page ALSO extends PlumtreeDP, simply so that it looks like the other plumtree pages, and contains the banner and whatnot. This display page then contains two MVCs responsible for displaying error messages: the one that comes with PlumtreeDP and displays errors not requiring a separate page, and the one that comes in the separate page display page and is responsible for displaying those errors that do require a separate page. Although this particular view would be suitable for both MVCs embedded in this page, it is not possible to embed the same view multiple times by the design of the activity space framework. Perhaps this will change, but for now, there are multiple error display view classes that do the same thing.

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          MVC object name
 
Fields inherited from class com.plumtree.uiinfrastructure.errordisplay.AErrorView
m_asOwner, m_model
 
Constructor Summary
ErrorView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Return the name of the MVC object.
 
Methods inherited from class com.plumtree.uiinfrastructure.errordisplay.AErrorView
Display, DisplayJavascript, Init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IView
Display, DisplayJavascript, Init
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
MVC object name

See Also:
Constant Field Values
Constructor Detail

ErrorView

public ErrorView()
Method Detail

Create

public java.lang.Object Create()
Description copied from interface: IManagedObject
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Returns:
the name of the object.
See Also:
com.plumtree.xpshared.activityspace.IView#GetName()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.