ubMethodParams

ubMethodParams

Structure passed as parameter to all entity level scripting methods

Constructor

new ubMethodParams()

Members

skipOptimisticLock: Boolean

Do not check row modification date while execute statement.

dataStore: TubDataStore readonly

Data Store associated with current method execution context. If initialized - will be added to client response

originalParams: TubList

Params caller pass to HTTP request.

mParams: TubList

In/Out method parameters. All parameters added or modified in this object is passed back to client

externalCall: Boolean readonly

Indicate current method execution initiated by external caller (client). If false - this method is called from server.

Methods

preventDefault()

Do not call methods of other mixins with the same method name. This mean if preventDefault() is called in the overridden beforeselect, only beforeselect of mixin method will not be called. Useful if we want to override original method implementation by our own implementation.

See ubm_form.update implementation for usage sample.