Adds or modifies a workspace context. The Context Updater also examines the workspace for any portlets that are wired to the context and forces a refresh.
With this control on the page, the context property value can be changed from javascript like in the example below:
//This requires a control with the id of 'contextUpdater' to be present on the page as well as a valid 'value' variable
var updaterID = '#{caf:cid("contextUpdater")}';
Noodle.Context.updaters[updaterID].updateContext(value);
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.script.ContextUpdater |
Handler Class | None |
Renderer Type | com.webmethods.caf.faces.script.ContextUpdater |
Description | Adds or modifies the current workspace context |
Palette Location | MWS Html/Control/Scripts/Context Updater |
Client-Side Model | Noodle.Context |
Name | Required | Type | Description |
---|---|---|---|
id | false | java.lang.String | Control identifier |
name | true | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Context property name to modify |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
Output generated by Vdldoc View Declaration Language Documentation Generator.