Projects/ImproveUIVisibility/TechnicalDocumentation
Contents |
Keyboard Operation - Technical Documentation
Related files and functions
appStatus.js: here are located the functions related to the status change
- disableToolBarButton(id): Disables a button (given with the id)
- enableToolBarButton(id): Enables a button (given with the id)
- setWindowEditing(value): Puts a window in editing mode (all the toolbar icons activated) or to reading mode (save toolbar icons disactivated)
- setCalloutProcessing(value): Puts or remove the right window icon to roll while a callout is being processed
- setGridRefreshing(value): Puts or removes the right window icon to roll while a callout is being processed
- setMenuLoading(value): Puts or removes the loading menu window
processingModeCode(target, display): Code that will be injected into the window with a 'Processing' state
- setProcessingMode(target, value): Puts or removes the 'Processing' state of a window or popup
utils.js: functions related to the 'Popup Loading'
- openServletNewWindow(Command, depurar, url, _name, processId, checkChanges, height, width, resizable, hasStatus, closeControl, hasLoading): added hasLoading parameter to set if the target popup has or doesnt' have the Loading.
- openPopUp(url, _name, height, width, top, left, checkChanges, target, doSubmit, closeControl, parameters, hasLoading): added hasLoading parameter to set if the target popup has or doesnt' have the Loading. Added var urlLoading to determine which is the 'Popup Loading' template.
- synchronizedSubmitCommandForm(accion, bolDepurar, Formulario, newAction, newTarget, bolComprobar, bolComprobarCambios, isCallOut, controlEvt, evt): to ensure that the 'Popup Loading' has been loaded before follow with the target servlet processing
Previous steps
In order to the project works, the utils.js has to be loaded to make appStatus.js works
Implementation guidelines
- Add <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script> after <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
Category: Projects


