public class Dialog extends PageInstance
DOMAINS, LOOKUP_RENDERID, markForDesigner, menuHandlerId, processTabIndex, SHARED_ATTRIBUTES
amIinitialize, DATASOURCE, INPUTMODE, labelOverride, ONDATACAHNGE, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, RERENDER_PROPERTY
EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST
Constructor and Description |
---|
Dialog() |
Modifier and Type | Method and Description |
---|---|
int |
advancedlongop()
Handler for the dialogok event, associated with the usetr pressing OK on a dialog.
|
int |
closelongop() |
int |
dialogcancel()
Call the cancelDialog() handler on the dialog bean then close the dialog
|
int |
dialogclose()
Close the dialog without taking any action
|
int |
dialogno()
The default dialogno event only closes the dialog.
|
int |
dialogok() |
int |
dialogok(boolean advancedLongOp) |
int |
dialogtoggle()
Toggle between minimized and normal display of the dialog
|
int |
dialogyes()
The default dialogyes event only closes the dialog.
|
int |
dolongop()
The dolongop event is identical to dialogok except that dolongop forces the event handler to run in an
asynchronous thread (a.k.a.
|
java.lang.String |
getLabelRenderId()
Provides a way to get the label renderid for tabindex looping within a dialog
NOTE: If the component structure of a dialog or it's header change in the registry this may need to be updated.
|
java.lang.String |
getProperty(java.lang.String key)
Provides special processing for the properties positionX and positionY
|
void |
initialize()
should be extended to do any setup required by the instance.
|
void |
instantiatedatasrc()
this method will set up the datasource on the control.
|
java.lang.String |
isExpanded() |
int |
longopcheck()
Called periodically from the client (default interval is 4s) to check if the running long operation has
completed
|
int |
longopquerycheck() |
int |
nextdialog()
Processing nextdialog follows the following rules:
If there is no datasource, just close dialog
Otherwise, first call callMethod(event) on the datasource then close the dialog.
|
int |
render()
Render this control's components
|
void |
renderDialogBody() |
void |
renderDialogBottom() |
void |
setLabelRenderId(java.lang.String id)
Provides a way to set the label renderid for tabindex looping within a dialog
NOTE: If the component structure of a dialog or it's header change in the registry this may need to be updated.
|
int |
setposition() |
java.lang.String |
toggleExpand() |
addChangedErrorContainer, addControlInstanceToIndex, addDataBeanToSiteOrgList, addDataStoreForAutoFill, addSharedAttributes, cleanup, clearChangedErrorContainers, clearFocusContainer, clearMenus, containsKey, copyDesignerControlInstances, createControlInstance, createControlInstance, createControlInstances, createControlInstances, createDesignerControlInstances, createDesignerControlInstances, createRuntimeControlInstance, focus, focusOnLast, get, getAppInstance, getAutoFillInfo, getBeans, getChangedErrorContainers, getComponentInstance, getControlInstance, getDialogDataStores, getErrorLevel, getFocusableList, getFocusRenderId, getFocusRenderId, getIndexForErmName, getMainTabId, getMenuHandlerId, getPageAutoFillId, getPageId, gotoTab, hideWebReplay, initialize, isLookup, isThisTabProcessed, processTabs, put, remove, removeAttributeError, removeControl, resetwizard, setAttributeError, setComponentInstance, setControlInstance, setDialogDataStores, setMainTab, setMarkForDesigner, setPageAutoFillId, setReloadAutoFillInfo, shouldReloadAutoFillInfo, showViewport, showWebReplay, stopFocus, toggleViewport, togglewebreplay
broadcastEvent, getDataBean, instantiatedatasrcdesign
addChild, addComponent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, clearComponent, clearErrors, copy, createRenderId, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasVisibleChildren, isDesignerEditedProperty, isDisabled, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, moveChild, needsRender, parseParamvalues, preRender, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, stopRender, walkForId, walkForId
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toString
public void instantiatedatasrc()
DatasrcInstance
instantiatedatasrc
in class DatasrcInstance
public void initialize()
BaseInstance
initialize
in class ControlInstance
public int advancedlongop()
If the OK is not handled yet (i.e. the handler spawned a long operation), this dialog is kept alive until that operation completes and handles again the interrupted dialogok event as it finishes.
Dialog.dialogyes()
,
WebClientSession.handleDialogOK()
,
AsyncProcess.longOpCleanup()
public int dialogok()
public int dialogok(boolean advancedLongOp)
public int dolongop()
WebClientSession.handleDialogOK()
public int dialogyes()
Dialog.dialogok()
public int dialogno()
Dialog.dialogok()
public int dialogcancel()
Dialog.dialogclose()
public int dialogclose()
Dialog.dialogcancel()
public int closelongop()
public int longopcheck() throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
public int longopquerycheck() throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
public int dialogtoggle()
public void renderDialogBody() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void renderDialogBottom() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public int nextdialog() throws java.rmi.RemoteException
If the called method spawns an asynchronous thread (a.k.a. a long operation), this dialog is kept alive until that operation completes and handles again the interrupted nextdialog event as it finishes.
java.rmi.RemoteException
public java.lang.String getProperty(java.lang.String key)
getProperty
in class ControlInstance
public int setposition()
public java.lang.String isExpanded()
public java.lang.String toggleExpand()
public int render() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
ControlInstance
render
in class PageInstance
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void setLabelRenderId(java.lang.String id)
String
- idpublic java.lang.String getLabelRenderId()