Defines submissions.
Type
- uiplugin
Property Summary
- abortTrigger
- Displays the Cancel button while the process is running.
- action
- Server URL to conduct submission. URL of the data to bind.
- customHandler
- User-defined handler
- encoding
- Encoding method on the server side
- errorHandler
- Handler to be executed upon error occurrence
- id
- ID of the submission. Allocated as a global object. The script can access the component through the ID.
- instance
- Instance ID
- mediatype
- Communication method with the server. (Asynchronous or synchronous.)
- method
- Request method
- mode
- Communication method with the server. (Asynchronous or synchronous.)
- processMsg
- Message to be displayed during the process
- ref
- XPath of the instance or DataCollection of the source to send to the server
- replace
- Subject to be replaced with the response document returned by the submission action
- target
- XPath of the instance or DataCollection to store the data sent by the server
- useModal
- [default:false, true] Creates a modal to disable other components while the submission is running and the process message is being displayed.
Event Summary
- submit
- Pre-processing before a submission request.
- submitdone
- Triggered when the response status code is normal.
- submiterror
- Triggered when the response status code is an error (smaller than 200 or higher than 300).
Method Summary
Property Detail
- abortTrigger
-
Displays the Cancel button while the process is running.
- action
-
Server URL to conduct submission. URL of the data to bind.
- customHandler
-
User-defined handler
- encoding
-
Encoding method on the server side
- errorHandler
-
Handler to be executed upon error occurrence
- id
-
ID of the submission. Allocated as a global object. The script can access the component through the ID.
- instance
-
Instance ID
- mediatype
-
Communication method with the server. (Asynchronous or synchronous.)
- method
-
Request method
- mode
-
Communication method with the server. (Asynchronous or synchronous.)
- processMsg
-
Message to be displayed during the process
- ref
-
XPath of the instance or DataCollection of the source to send to the server
- replace
-
Subject to be replaced with the response document returned by the submission action
- target
-
XPath of the instance or DataCollection to store the data sent by the server
- useModal
-
[default:false, true] Creates a modal to disable other components while the submission is running and the process message is being displayed.
Event Detail
- submit
-
Pre-processing before a submission request. If false is returned, submission will not be made.
Parameter name type description e Object Submission object - submitdone
-
Triggered when the response status code is normal.
Parameter name type description e Object Submission object - submiterror
-
Triggered when the response status code is an error (smaller than 200 or higher than 300).
Parameter name type description e Object Submission object