RefreshBlocksProcess |
![]() ![]() ![]() |
RefreshBlocksProcess is used to refresh the records of one or more ProcessBlocks with the new data obtained from the specified data sources. See RefreshBlocksAction. Warning: The recordManip properties of the Process Blocks must be set to true and additionally all the elements in the block must be Ajax compatible Process Fields. RefreshBlocksProcess Confiiguration:
Parameters dataSources (Accepts MScript) The names of the data source definitions that are configured with dataSource configuration elements. The data source names have to be separated with commas. nodesToEncrypt (Accepts MScript) The names of the nodes (separated with commas) whose values to be encrypted. If more than one data sources are used then the nodes belonging to the different data sources should be separated with a semi-column. targetBlocks (Accepts MScript) The HTML ids of the target process blocks (separated with commas) to refresh. fieldMap (Accepts MScript) Unless otherwise specified, the values of the Process Fields existing in the target process blocks are taken from the identically named data source nodes. For the exceptions cases field mappings can be defined w,th this element using the following notation. Example: ORDER_ID:ID, CUSTOMER_NAME:NAME
responseHandler (Accepts MScript) The name of the response handler Javascript function that will receive the AjaxResponse and manage the refreshing of the target blocks. Unless a very special treatment is required the value of this element can be left to its default which is AjaxMgr.refreshBlocksResponseHandler. |