6/22/2023 0 Comments Actions server pluginFor example if you were saving the position of two different splitters use a unique name for each one so that latest update to one doesn't overwrite a previous lazy write of the other. The queue name is unique for each data unit. For example this is useful for persisting splitter position, or tree expansion and focus state etc. Use when the data may change frequently and only the last data values need to be saved. This should only be used to persist non critical data such as user interface settings or state. "lazyWrite" This action is used to throttle requests to the server to persist data. Waiting requests are rejected with status "superseded". This current request aborts any in progress request and clears out any waiting requests on the named queue and then is executed. "replace" Action replace is used when this current request makes any previous requests on the named queue in progress or waiting obsolete or invalid. Otherwise it waits on the named queue until the ones before it are complete. If there are no other requests in that queue in progress or waiting then this request is executed. When the action is wait the request is added to the named queue. ![]() "wait" This action is the default and is used to send requests one after the other. The action property can be one of the following: The name property specifies the name of the queue to add the request to. Object specifying the name of a queue and queue action. Page: Displays in the center of the page. Prepend: Displays inside at the beginning of the DOM element(s) defined by loadingIndicator.Īppend: Displays inside at the end of the DOM element(s) defined by loadingIndicator.Ĭentered: Displays in the center of the DOM element defined by loadingIndicator. Only considered if the value passed to loadingIndicator is not a function.īefore: Displays before the DOM element(s) defined by loadingIndicator.Īfter: Displays after the DOM element(s) defined by loadingIndicator. ![]() Six options to define the position of the loading indicator displayed. loadingIndicator can also be a function which gets the loading Indicator as jQuery object and has to return the jQuery reference to the created loading indicator. ![]() The element can be specified with a jQuery selector, jQuery or DOM object. Identifies the element(s) that will have a loading indicator (progress spinner) displayed next to it during the Ajax call. JavaScript function used to clear the DOM after the apexbeforerefresh event is triggered and before the actual Ajax call is made. For custom jQuery event handlers, this can be accessed through the pData parameter of the event handler. In Dynamic Actions defined for the Before Refresh or After Refresh events, this can be accessed from JavaScript using the this.data property. Specify data that is passed by the apexbeforerefresh and apexafterrefresh event triggering code, so that any handlers defined for these events can access this data. Only applies if refreshObject option is given. ![]() If this option is not supplied these events are not triggered. JQuery selector, jQuery or DOM object which identifies the DOM element on which the apexbeforerefresh and apexafterrefresh events are triggered. The async option is deprecated and will be removed in a future release. See jQuery documentation of jQuery.ajax for these supported options: accepts, dataType, beforeSend, contents, converters, dataFilter, headers, complete, statusCode, error, success. See below pOptions properties table for a list of Application Express specific options. Optional object that is used to set additional options to control the Ajax call including before and after processing. See below pData special properties table for a list of properties that are treated special.ĭata for specific regions can be sent in the following format: The Object is serialized as JSON and sent to the server in parameter p_json. Optional object containing data to send to the server in the Ajax request. If not given then pData must include a regions array that includes a region with property ajaxIdentifier.
0 Comments
Leave a Reply. |