|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.directtoweb.D2WComponent
com.webobjects.directtoweb.D2WPage
er.directtoweb.pages.ERD2WPage
er.directtoweb.pages.ERD2WInspectPage
er.directtoweb.pages.ERD2WTabInspectPage
public class ERD2WTabInspectPage
Superclass for all tab and wizard pages.
| D2W Keys | |
firstResponder | firstResponder |
tabComponentName | tabComponentName |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class er.directtoweb.pages.ERD2WPage |
|---|
ERD2WPage.Keys |
| Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
|---|
WOComponent._EventLoggingEnabler, WOComponent.Event |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
|---|
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Field Summary | |
|---|---|
protected Integer |
_tabNumber
|
static Logger |
log
logging support |
static Logger |
validationLog
|
static String |
WILL_SWITCH_TAB
|
| Fields inherited from class er.directtoweb.pages.ERD2WInspectPage |
|---|
_objectWasSaved, firstResponderContainerName, validationCat |
| Fields inherited from class er.directtoweb.pages.ERD2WPage |
|---|
_allConfigurations, _branch, _context, _nextPage, _nextPageDelegate, _pageController, _userInfo, errorKeyOrder, errorMessage, errorMessages, keyPathsWithValidationExceptions |
| Fields inherited from class com.webobjects.directtoweb.D2WComponent |
|---|
_eo, _localContext, currentObjectKey |
| Fields inherited from class com.webobjects.appserver.WOComponent |
|---|
_Extension, _IsEventLoggingEnabled, _keyAssociations |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
|---|
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
NullValue |
| Fields inherited from interface com.webobjects.foundation.NSValidation |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERD2WTabInspectPage(WOContext c)
|
|
| Method Summary | |
|---|---|
void |
appendToResponse(WOResponse response,
WOContext context)
Overridden from the parent for better logging. |
void |
awake()
Overridden to lock the page's editingContext, if there is any present. |
boolean |
currentTabIsFirstTab()
|
boolean |
currentTabIsLastTab()
|
boolean |
disableCancel()
|
boolean |
disableNext()
|
boolean |
disablePrevious()
|
boolean |
disableSave()
|
WOComponent |
nextTab()
Deprecated. use nextTabAction |
WOComponent |
nextTabAction()
|
WOComponent |
previousTab()
Deprecated. use previousTabAction |
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()
Constructs a JavaScript string that will give a particular field focus when the page is loaded. |
String |
urlForCurrentState()
Implementation of the ERXComponentActionRedirector.Restorable
interface. |
boolean |
useSubmitImages()
|
boolean |
useTabImages()
|
boolean |
useTabSectionImages()
|
| Methods inherited from class com.webobjects.directtoweb.D2WPage |
|---|
alternateRowColor, dataSource, extraBindings, finalize, replacementAssociationForAssociation, setExtraBindings |
| Methods inherited from class com.webobjects.directtoweb.D2WComponent |
|---|
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface er.directtoweb.interfaces.ERDEditPageInterface |
|---|
object |
| Methods inherited from interface com.webobjects.directtoweb.InspectPageInterface |
|---|
setNextPage, setNextPageDelegate, setObject |
| Field Detail |
|---|
public static final String WILL_SWITCH_TAB
public static final Logger log
public static final Logger validationLog
protected Integer _tabNumber
| Constructor Detail |
|---|
public ERD2WTabInspectPage(WOContext c)
| Method Detail |
|---|
public String switchTabActionName()
public boolean switchTabAction()
public void appendToResponse(WOResponse response,
WOContext context)
ERD2WPage
appendToResponse in class ERD2WPagepublic Integer tabNumber()
tabNumber in interface ERDTabEditPageInterfacepublic void setTabNumber(Integer newTabNumber)
setTabNumber in interface ERDTabEditPageInterfacepublic WOComponent printerFriendlyVersion()
printerFriendlyVersion in class ERD2WInspectPagepublic void awake()
ERD2WPage
awake in class ERD2WPagepublic void setTabByName(String tabName)
public String urlForCurrentState()
ERD2WPageERXComponentActionRedirector.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.
urlForCurrentState in interface ERXComponentActionRedirector.RestorableurlForCurrentState in class ERD2WInspectPagepublic 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.
tabScriptString in class ERD2WInspectPagepublic boolean shouldNotSwitchIfHasChanges()
public boolean shouldSaveChangesForTab()
public boolean shouldShowNextPreviousButtons()
public boolean shouldShowPreviousButton()
public boolean shouldShowNextButton()
public boolean useSubmitImages()
public boolean useTabImages()
public boolean useTabSectionImages()
public WOComponent nextTab()
public WOComponent previousTab()
public WOComponent nextTabAction()
public WOComponent previousTabAction()
public boolean currentTabIsFirstTab()
public boolean currentTabIsLastTab()
public String tabComponentName()
public boolean disablePrevious()
public boolean disableNext()
public boolean disableCancel()
public boolean disableSave()
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||