Home Tutorial Flex Flex-components Flex Data Modal Example


Share on Google+Share on Google+
Flex Data Modal Example
Posted on: April 6, 2010 at 12:00 AM
In this tutorial we have illustrate how to use Date Modal in flex application and what process to use it.

DataModal in Flex:-

If user want to store application specific data then use data model that is provide a way to store the data before sending data on the server or store the data before to display the data by the application. This process have done with the help of <mx:Model>tag. In this example we have discuss about data model.


<?xml version="1.0"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Model id="address">










<mx:Panel title="Data Modal Example" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10" >

<mx:TextInput id="country" text=""/>

<mx:TextInput id="state" text=""/>

<mx:TextInput id="distric" text=""/>

<mx:TextInput id="town" text=""/>

<mx:TextInput id="name1" text=""/>

<mx:TextInput id="emailInput" text=""/>



In this example you can see data that are address type is store in the data model before sending on the server.




Related Tags for Flex Data Modal Example:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 6, 2010

Recommend the tutorial

Advertisements Advertisements