wcRenderContext.addRefereshAreaId (id, refreshAreaId)
The wcRenderContext.addRefereshAreaId function adds a refresh area ID to an existing render context.
Example
wcRenderContext.addRefreshAreaId("paymentContext", "orderTotalAmountArea");
Parameters
- id
- (String) The unique ID of the new refresh area.
- refreshAreaId
- (String) The unique ID of the refresh area.
Related reference
WCRefreshController.refresh(parameters)
WCRefreshController.updateFormId(newFormId)
WCRefreshController.updateUrl(newURL)
wcRenderContext.declare (id, refreshAreaIds, initialProperties)
wcRenderContext.getRefreshAreaIds (id)
wcRenderContext.getRenderContextProperties (id)
wcRenderContext.updateRenderContext (id, updates)
wcRenderContext.testForChangedRC (id, propertyNames)
wcRenderContext.checkIdDefined (id)
wcService.declare (initProperties)
wcService.getServiceById (serviceId)
wcService.invoke (serviceId, parameters)