Inherited by ERD2WTabInspectPage, ERD2WCompactInspectPageTemplate, ERD2WInspectPageTemplate, ERD2WPrinterFriendlyInspectPageTemplate, and ERNEUInspectPage.

Public Member Functions | |
| WOComponent | cancelAction () |
| WOComponent | deleteAction () throws Throwable |
| boolean | doesNotHaveForm () |
| WOComponent | editAction () |
| ERD2WInspectPage (WOContext context) | |
| boolean | hasPropertyName () |
| WOComponent | nextPage (boolean doConfirm) |
| WOComponent | nextPage () |
| boolean | objectWasSaved () |
| String | otherTagStringsForPropertyKeyComponentCell () |
| void | performAdditionalValidations () |
| WOComponent | previousPage () |
| WOComponent | printerFriendlyVersion () |
| String | saveButtonFileName () |
| String | scriptForFirstResponderActivation () |
| void | setObject (EOEnterpriseObject eoenterpriseobject) |
| void | setPreviousPage (WOComponent existingPageName) |
| boolean | shouldCollectValidationExceptions () |
| boolean | shouldRecoverFromOptimisticLockingFailure () |
| boolean | shouldRenderBorder () |
| boolean | shouldRevertChanges () |
| boolean | shouldRevertUponSaveFailure () |
| boolean | shouldSaveChanges () |
| boolean | shouldShowActionButtons () |
| boolean | shouldShowCancelButton () |
| boolean | shouldShowSubmitButton () |
| boolean | shouldValidateBeforeSave () |
| boolean | showCancel () |
| WOComponent | submitAction () throws Throwable |
| String | tabScriptString () |
| void | takeValuesFromRequest (WORequest request, WOContext context) |
| boolean | tryToSaveChanges (boolean validateObject) |
| String | urlForCurrentState () |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger(ERD2WInspectPage.class) |
| static final Logger | validationCat = Logger.getLogger(ERD2WInspectPage.class+".validation") |
Protected Attributes | |
| boolean | _objectWasSaved |
Static Protected Attributes | |
| static final String | firstResponderContainerName = "FirstResponderContainer" |
Private Attributes | |
| WOComponent | _previousPage |
| ERD2WInspectPage | ( | WOContext | context | ) |
Public constructor
| context | current context |
| WOComponent cancelAction | ( | ) |
Reimplemented in ERDIVEditPage, ERD2WWizardCreationPage, ERMODInspectPage, ERMODTabInspectPage, ERMODWizardCreationPage, and ERLITEditPage.
| WOComponent deleteAction | ( | ) | throws Throwable |
| boolean doesNotHaveForm | ( | ) |
| WOComponent editAction | ( | ) |
Reimplemented in ERMODInspectPage, and ERMODTabInspectPage.
| boolean hasPropertyName | ( | ) |
| WOComponent nextPage | ( | boolean | doConfirm | ) |
| WOComponent nextPage | ( | ) |
Reimplemented from ERD2WPage.
| boolean objectWasSaved | ( | ) |
Implements ERDObjectSaverInterface.
| String otherTagStringsForPropertyKeyComponentCell | ( | ) |
Generates other strings to be included in the WOGenericContainer tag for the propertyKey component cell. This is used in conjunction with the firstResponderKey to mark the cell where the propertyKey is that named by the firstResponderKey so that the "focusing" JavaScript tabScriptString can identify it.
td
tag for the propertyKey component cell.
| void performAdditionalValidations | ( | ) |
| WOComponent previousPage | ( | ) |
Implements ERDFollowPageInterface.
| WOComponent printerFriendlyVersion | ( | ) |
Reimplemented in ERD2WTabInspectPage, ERD2WWizardCreationPage, and ERNEUTabInspectPage.
| String saveButtonFileName | ( | ) |
Reimplemented in ERNEUTabInspectPage.
| String scriptForFirstResponderActivation | ( | ) |
Constructs a JavaScript string to include in the WOComponent 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.
| void setObject | ( | EOEnterpriseObject | eo | ) |
Implementation of the InspectPageInterface
Reimplemented from ERD2WPage.
Reimplemented in ERMODTabInspectPage, and ERMODWizardCreationPage.
| void setPreviousPage | ( | WOComponent | existingPageName | ) |
Implements ERDFollowPageInterface.
| boolean shouldCollectValidationExceptions | ( | ) |
Should exceptions also be handled here or only handled by the parent.
Reimplemented from ERD2WPage.
| boolean shouldRecoverFromOptimisticLockingFailure | ( | ) |
| boolean shouldRenderBorder | ( | ) |
| boolean shouldRevertChanges | ( | ) |
| boolean shouldRevertUponSaveFailure | ( | ) |
| boolean shouldSaveChanges | ( | ) |
| boolean shouldShowActionButtons | ( | ) |
| boolean shouldShowCancelButton | ( | ) |
| boolean shouldShowSubmitButton | ( | ) |
| boolean shouldValidateBeforeSave | ( | ) |
| boolean showCancel | ( | ) |
| WOComponent submitAction | ( | ) | throws Throwable |
Reimplemented in ERMODInspectPage, ERMODTabInspectPage, and ERMODWizardCreationPage.
| 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.
Reimplemented in ERD2WTabInspectPage.
| void takeValuesFromRequest | ( | WORequest | r, | |
| WOContext | c | |||
| ) |
Overridden from the parent for better logging. Also clears validation errors
Reimplemented from ERD2WPage.
| boolean tryToSaveChanges | ( | boolean | validateObject | ) |
| 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.
Reimplemented from ERD2WPage.
Reimplemented in ERD2WTabInspectPage.
boolean _objectWasSaved [protected] |
WOComponent _previousPage [private] |
final String firstResponderContainerName = "FirstResponderContainer" [static, protected] |
final Logger log = Logger.getLogger(ERD2WInspectPage.class) [static] |
logging support
Reimplemented from ERD2WPage.
Reimplemented in ERD2WTabInspectPage, and ERD2WWizardCreationPage.
final Logger validationCat = Logger.getLogger(ERD2WInspectPage.class+".validation") [static] |
1.5.8