# ViewContextValueProvider

Inherits from: | Legato.Control

Summary

ViewContextValueProvider |
Properties |
frequency | {Double} This is the minimum interval in ms at which update AJAX requests are made.
delayedPropagation | {Number} Timeout id of delayed propagateValue.
url | {String} The URL which will been used for submitting the viewcontext.
method | {String} The HTTP method to use for the request
Functions |
initialize | Basic ctor
destroy | <OpenLayer.Control>
setMap | <OpenLayer.Control>
draw | <OpenLayer.Control>
lc:ViewContextValueProvider | XML based config for a <Legato.Control.ViewContextValueProvider>.
Properties |
QName | The qualified name for this control.
url | The url which will been used for providing the current viewcontext of the client.
method | The HTTP method to use for the request.
frequency | This is the minimum interval in ms at which update AJAX requests are made.

### Properties

### frequency

{Double} This is the minimum interval in ms at which update AJAX requests are made.

### delayedPropagation

{Number} Timeout id of delayed propagateValue.

### url

{String} The URL which will been used for submitting the viewcontext.

### method

{String} The HTTP method to use for the request

### Functions

### initialize

> initialize : function( | options | )

Basic ctor

#### Parameters

options | {Object} A Hashmap containing option parameters for this control The following keys are supported

- observer {Object} A hashmap containing an observer

The following keys are supported for an observer element

- url {String} any url which will been used for submitting all viewcontext changes
- frequency {Double} This is the minimum interval in ms at which update AJAX requests are made.
- method {String} The HTTP method to use for the request.

### destroy

> destroy : function()

#### See Also

<OpenLayer.Control>

### setMap

> setMap : function( | map | )

#### See Also

<OpenLayer.Control>

### draw

> draw : function()

#### See Also

<OpenLayer.Control>

## lc:ViewContextValueProvider

XML based config for a <Legato.Control.ViewContextValueProvider>.

#### See Also

- Legato.Control
- Legato.Beans.BeanFactory
- QName

#### A valid config example for a ViewContextValueProvider would be

>     <lc:ViewContextValueProvider url="http://foo.com/viewContext" method="POST" frequency="2000" />

Summary

Properties |
QName | The qualified name for this control.
url | The url which will been used for providing the current viewcontext of the client.
method | The HTTP method to use for the request.
frequency | This is the minimum interval in ms at which update AJAX requests are made.

### Properties

### QName

The qualified name for this control. Needed by XML config to instantiate it.

### url

The url which will been used for providing the current viewcontext of the client.

### method

The HTTP method to use for the request. Possible values are GET or POST

### frequency

This is the minimum interval in ms at which update AJAX requests are made.

> initialize : function( | options | )

Basic ctor

> destroy : function()

OpenLayer.Control

> setMap : function( | map | )

OpenLayer.Control

> draw : function()

OpenLayer.Control
Abstract base class for all Legato control classes
The qualified name for this control.