WCRefreshController.updateUrl(newURL)
The WCRefreshController.updateUrl function allows developers to update the URL of the refresh area. The URL is usually defined in the JSP using the refreshurl attribute, but in some circumstances we might need to change the URL.
Example
$("#WishlistSelect_Widget").refreshWidget("updateUrl", "<c:out value="${WishListSelectAreaView}"/>");
Parameters
- newURL
- (String) The new URL of the refresh area.
Related reference
WCRefreshController.refresh(parameters)
WCRefreshController.updateFormId(newFormId)
wcRenderContext.declare (id, refreshAreaIds, initialProperties)
wcRenderContext.getRefreshAreaIds (id)
wcRenderContext.addRefereshAreaId (id, refreshAreaId)
wcRenderContext.getRenderContextProperties (id)
wcRenderContext.updateRenderContext (id, updates)
wcRenderContext.testForChangedRC (id, propertyNames)
wcRenderContext.checkIdDefined (id)
wcService.declare (initProperties)
wcService.getServiceById (serviceId)
wcService.invoke (serviceId, parameters)