Share on Google+Share on Google+

Flex Data Modal Example

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="">

<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.





Posted on: April 6, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial 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.


Advertisement null