Packagecom.exadel.flamingo.flex.components.flamingo
Classpublic class BindingService
InheritanceBindingService Inheritance flash.events.EventDispatcher

This component allows synchronizing server objects with client objects and vice versa. It uses AMF protocol for server comunication.



Public Properties
 PropertyDefined by
  bindingManager : String
Name of server binding component
BindingService
  destination : String
Specifies name of the server component to bind to
BindingService
  source : *
Reference to local binding source.
BindingService
Public Methods
 MethodDefined by
  
Constructor.
BindingService
  
commit():void
Sends a client version of the bound component (bindingSource) to the server.
BindingService
  
update():void
Takes the server version of the bound component (bindingTarget) from the server and transfer the data to the client component (bindingSource).
BindingService
Events
 EventSummaryDefined by
    BindingService
    BindingService
Property detail
bindingManagerproperty
bindingManager:String  [read-write]

Name of server binding component

The default value is "com.exadel.flamingo.service.binding.bindingManager".

This property can be used as the source for data binding.

Implementation
    public function get bindingManager():String
    public function set bindingManager(value:String):void
destinationproperty 
destination:String  [read-write]

Specifies name of the server component to bind to

This property can be used as the source for data binding.

Implementation
    public function get destination():String
    public function set destination(value:String):void
sourceproperty 
source:*  [read-write]

Reference to local binding source. Use Flex binding notation to specify this property.

This property can be used as the source for data binding.

Implementation
    public function get source():*
    public function set source(value:*):void
Constructor detail
BindingService()constructor
public function BindingService()

Constructor. Initializes component.

Method detail
commit()method
public function commit():void

Sends a client version of the bound component (bindingSource) to the server.

update()method 
public function update():void

Takes the server version of the bound component (bindingTarget) from the server and transfer the data to the client component (bindingSource).

Event detail
faultevent 
Event object type: mx.rpc.events.FaultEvent

resultevent  
Event object type: mx.rpc.events.ResultEvent