A control that connects a standard client-side JavaScript control-model action to a parent control's (or specified for control's) client-side event. The following standard actions are available:
raise
actuates the command control specified by the control
propertysetDisabled
enables or disables the input control specified by the control
property, based on the value of the value
property or value
facet; true to disable, false to enable.setValue
sets the value of the control specified by the control
property to the value of the value
property or value
facet.setVisible
shows or hides the control specified by the control
property, based on the value of the value
property or value
facet; true to show, false to hide.toggle
shows the control specified by the control
property if the control is hidden, hides the control specified by the control
property if the control is visible.In addition, the following map-specific actions are available:
setCoords:
(map or marker) sets the map's center or the marker's location to the specified string coordinate pair, for example, "37.0625;-95.677068".setAddress:
(map or marker) sets the map's center or the marker's location to the
specified natural-language address, for example, "600 108th Ave NE Bellevue, WA 98004".setZoom:
(map-only) sets the map's zoom level to a number between 1 (whole world) and about 20 (city block).setMapType:
(map-only) sets the map-type to either G_NORMAL_MAP, G_SATELLITE_MAP, or G_HYBRID_MAP.autoCenter:
(map-only) centers the map among the map's markers.autoZoom:
(map-only) zooms the map to fit the map's markers.setLabel:
(marker-only) sets the marker's ToolTip to the specified value.setDescription:
(marker-only) sets the contents of the marker's information (bubble) window to the specified value.showInfoWindow:
(marker-only) opens the marker's information (bubble) window.hideInfoWindow:
(marker-only) closes the marker's information (bubble) window.
You can nest other script controls inside the value
facet of this script control to provide a value for actions that require a value.
Children
The Control Reference control can specify multiple controls to invoke client-side model actions.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.gmap.GMapInvokeScript |
Handler Class | None |
Renderer Type | com.webmethods.caf.faces.gmap.GMapInvokeScript |
Description | Script which returns invokes a client-side map action or sets a client-side map property |
Palette Location | CAF Html/Control/Map/Invoke Map Script |
Name | Description |
---|---|
value | Drop other script controls or script parameter here to provide a value |
Name | Required | Type | Description |
---|---|---|---|
action | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Target action to invoke
Valid values are:
|
control | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Target control to invoke action on |
event | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Client side event type to respond
Valid values are:
|
for | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| ID of control to which to apply this behavior |
id | false | java.lang.String | Control identifier |
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". |
rowvariable | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Expression that resolves to the current row when using inside tables |
value | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Value to pass to the control action |
Output generated by Vdldoc View Declaration Language Documentation Generator.