| Package | lc.core |
| Class | public class FormConnector |
| Inheritance | FormConnector EventDispatcher Object |
| Implements | IMXMLObject |
FormConnector class is used in Flex applications to simplify communication
with Workspace ES. This class must be used in a Flex application that you want to
function within Workspace ES.
MXML Syntax
Hide MXML Syntax
<lc:FormConnector
Properties
id="lcConnector"
Events
formInitialData="formInitListener(event)"
formSaveDataRequest="formSaveDataRequestListener(event)"
formSubmitDataRequest="formSubmitDataRequestListener(event)"/>
See also
| Method | Defined By | ||
|---|---|---|---|
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event.
| EventDispatcher | |
|
Specifies that the Flex application has completed creation and binds the
required event listeners to events.
| FormConnector | ||
![]() |
Dispatches an event into the event flow.
| EventDispatcher | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
|
Initializes communication with Workspace ES.
| FormConnector | ||
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Removes a listener from the EventDispatcher object.
| EventDispatcher | |
|
Specifies that changes in the data have not been made in the Flex application.
| FormConnector | ||
|
Specifies that data store is not valid.
| FormConnector | ||
|
Specifies that the data stored is valid.
| FormConnector | ||
|
Specifies that changes have been made in the Flex application.
| FormConnector | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
|
Notifies Workspace ES that the Flex application is ready to
start communicating.
| FormConnector | ||
|
Sends the data to Workspace ES to save.
| FormConnector | ||
|
Sends the data to Workspace ES to submit to a process.
| FormConnector | ||
|
Specifies that the Flex application has completed creation and binds
the required event listeners to events.
| FormConnector | ||
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type.
| EventDispatcher | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
![]() | Dispatched when Flash Player gains operating system focus and becomes active. | EventDispatcher | ||
![]() | Dispatched when Flash Player loses operating system focus and is becoming inactive. | EventDispatcher | ||
| The event is dispatched after the Flex application has completed loading. | FormConnector | |||
| The event is dispatched when a user clicks the Save Form Data button within LiveCycle Workspace ES. | FormConnector | |||
| The event is dispatched when a user clicks the Complete button within Workspace ES. | FormConnector | |||
| creationComplete | () | method |
public function creationComplete(event:Event):void
Specifies that the Flex application has completed creation and binds the required event listeners to events.
Parameters
event:Event — Specifies that event the intialization of the object has completed.
|
| initialized | () | method |
public function initialized(document:Object, id:String):void
Initializes communication with Workspace ES.
Parameters
document:Object — Specifies the Flex application to initialize.
|
|
id:String — Reserved for future use.
|
| setClean | () | method |
public function setClean():void
Specifies that changes in the data have not been made in the Flex application.
| setDataInvalid | () | method |
public function setDataInvalid():void
Specifies that data store is not valid. Use this method when at least one portion of the data to be submitted is not correct or is not formatted correctly.
| setDataValid | () | method |
public function setDataValid():void
Specifies that the data stored is valid. Use this method when all the pieces of data to be submitted is correct.
| setDirty | () | method |
public function setDirty():void
Specifies that changes have been made in the Flex application.
| setReady | () | method |
public function setReady():void
Notifies Workspace ES that the Flex application is ready to
start communicating. To use it, associate it with the mx:Application
container's creationComplete event.
| setSaveData | () | method |
public function setSaveData(data:XML):void
Sends the data to Workspace ES to save. Data does not need to be validated before being saved.
Parameters
data:XML — Specifies data to save that is formatted as XML.
|
| setSubmitData | () | method |
public function setSubmitData(data:XML):void
Sends the data to Workspace ES to submit to a process. The data must be validated before it is submitted to a process.
Parameters
data:XML — Specifies the data to submit to a process that is formatted as XML.
|
| setSubmitDataInvalid | () | method |
public function setSubmitDataInvalid():void
Specifies that the Flex application has completed creation and binds the required event listeners to events.
| formInitialData | Event |
flash.events.DataEvent
flash.events.DataEvent.FORM_INITIAL_DATA
The event is dispatched after the Flex application has completed loading.
| formSaveDataRequest | Event |
flash.events.Event
flash.events.Event.FORM_SAVE_DATA_REQUEST
The event is dispatched when a user clicks the Save Form Data button within LiveCycle Workspace ES.
| formSubmitDataRequest | Event |
flash.events.Event
flash.events.Event.FORM_SUBMIT_DATA_REQUEST
The event is dispatched when a user clicks the Complete button within Workspace ES.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/core/FormConnector.html