ERD2WTabInspectPage Class Reference

Inherits er::directtoweb::pages::ERD2WInspectPage, and er::directtoweb::interfaces::ERDTabEditPageInterface.

Inherited by ERD2WWizardCreationPage, ERD2WTabInspectPageTemplate, ERDIVEditPage, ERDIVInspectPage, ERLITEditPage, ERLITInspectPage, and ERNEUTabInspectPage.

Collaboration diagram for ERD2WTabInspectPage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse response, WOContext context)
void awake ()
boolean currentTabIsFirstTab ()
boolean currentTabIsLastTab ()
boolean disableCancel ()
boolean disableNext ()
boolean disablePrevious ()
boolean disableSave ()
 ERD2WTabInspectPage (WOContext c)
WOComponent nextTab ()
WOComponent nextTabAction ()
WOComponent previousTab ()
WOComponent previousTabAction ()
WOComponent printerFriendlyVersion ()
void setTabByName (String tabName)
void setTabNumber (Integer newTabNumber)
boolean shouldNotSwitchIfHasChanges ()
boolean shouldSaveChangesForTab ()
boolean shouldShowNextButton ()
boolean shouldShowNextPreviousButtons ()
boolean shouldShowPreviousButton ()
boolean switchTabAction ()
String switchTabActionName ()
String tabComponentName ()
Integer tabNumber ()
String tabScriptString ()
String urlForCurrentState ()
boolean useSubmitImages ()
boolean useTabImages ()
boolean useTabSectionImages ()

Static Public Attributes

static final Logger log = Logger.getLogger(ERD2WTabInspectPage.class)
static final Logger validationLog = Logger.getLogger("er.directtoweb.validation.ERD2WTabInspectPage")
static final String WILL_SWITCH_TAB = "willSwitchTab"

Protected Attributes

Integer _tabNumber

Private Member Functions

boolean d2wContextValueForKey (String key, boolean defaultValue)


Detailed Description

Superclass for all tab and wizard pages.
firstResponder tabComponentName

Constructor & Destructor Documentation

ERD2WTabInspectPage ( WOContext  c  ) 


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)

Overridden from the parent for better logging. Reports exceptions in the console for easier debugging.

Reimplemented from ERD2WPage.

Reimplemented in ERDIVEditPage, ERDIVInspectPage, and ERD2WWizardCreationPage.

void awake (  ) 

Overridden to lock the page's editingContext, if there is any present.

Reimplemented from ERD2WPage.

Reimplemented in ERMODWizardCreationPage.

boolean currentTabIsFirstTab (  ) 

boolean currentTabIsLastTab (  ) 

boolean d2wContextValueForKey ( String  key,
boolean  defaultValue 
) [private]

boolean disableCancel (  ) 

boolean disableNext (  ) 

boolean disablePrevious (  ) 

boolean disableSave (  ) 

WOComponent nextTab (  ) 

Deprecated:
use nextTabAction

WOComponent nextTabAction (  ) 

WOComponent previousTab (  ) 

Deprecated:
use previousTabAction

WOComponent previousTabAction (  ) 

WOComponent printerFriendlyVersion (  ) 

Reimplemented from ERD2WInspectPage.

Reimplemented in ERD2WWizardCreationPage, and ERNEUTabInspectPage.

void setTabByName ( String  tabName  ) 

void setTabNumber ( Integer  newTabNumber  ) 

boolean shouldNotSwitchIfHasChanges (  ) 

boolean shouldSaveChangesForTab (  ) 

boolean shouldShowNextButton (  ) 

boolean shouldShowNextPreviousButtons (  ) 

boolean shouldShowPreviousButton (  ) 

boolean switchTabAction (  ) 

Reimplemented in ERDIVEditPage, and ERLITEditPage.

String switchTabActionName (  ) 

String tabComponentName (  ) 

Reimplemented in ERNEUTabInspectPage.

Integer tabNumber (  ) 

String tabScriptString (  ) 

Constructs a JavaScript string that will give a particular field focus when the page is loaded. If the key firstResponderKey from the d2wContext resolves, the script will attempt to focus on the form field belonging to the property key named by the firstResponderKey. Otherwise, the script will just focus on the first field in the form.

Note that the key useFocus must resolve to true in order for the script to be generated.

Returns:
a JavaScript string.

Reimplemented from ERD2WInspectPage.

String urlForCurrentState (  ) 

Implementation of the ERXComponentActionRedirector.Restorable interface. This implementation creates an URL with the name of the current pageConfiguration as a direct action, which assumes a ERD2WDirectAction as the default direct action. Subclasses need to implement more sensible behaviour.

Returns:
url for the current page

Reimplemented from ERD2WInspectPage.

boolean useSubmitImages (  ) 

boolean useTabImages (  ) 

Reimplemented in ERNEUTabInspectPage.

boolean useTabSectionImages (  ) 

Reimplemented in ERNEUTabInspectPage.


Member Data Documentation

Integer _tabNumber [protected]

final Logger log = Logger.getLogger(ERD2WTabInspectPage.class) [static]

logging support

Reimplemented from ERD2WInspectPage.

Reimplemented in ERD2WWizardCreationPage.

final Logger validationLog = Logger.getLogger("er.directtoweb.validation.ERD2WTabInspectPage") [static]

Reimplemented from ERD2WPage.

final String WILL_SWITCH_TAB = "willSwitchTab" [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:58 2012 for Project Wonder by  doxygen 1.5.8