Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

showWaitCursor() - method for showing the loading cursor in the panel. accepts as a parameter the dynObject. 

example :


Code Block
akioma.invokeServerTask({                  name: 'Akioma.Swat.FilterBT',
                methodName: 'GetFilters', 
                paramObj: {
                    plcParameter: oData
                },
                showWaitCursor: true,
                uiContext: oSelf.dynObject
            })
Code Block
    akioma.WaitCursor.showWaitCursor(opts.uiContext);akioma.WaitCursor.showWaitCursor(oSelf.dynObject);


between links

fetch

show



 


showProgressState() - method for showing the progressState which will block the user from clicking on buttons inside the window/container object and show/hide blur depending on the debugMode property.

example of waitCursor + progressState with blur(debugMode set to true)

Image Removed

clearProgressStateGlobally() - method to clear progress state globally on all windows.


onErrorClearProgressState() - clear progressState globally in case of an client-side javascript error and log the errors on an debug level.On every fetch, the waitCursor and the progressState are triggered. Example with debugMode on :

Image Added