I want to submit the values of a flex form to a ColdFusion cfc.
If I have a flex form (see below) is the data in the form an object? Or do I have to create an object based on the id's in the form and then pass that new object to the coldfusion component?
<mx:Form x="10" y="10" width="790" id="myFrom" defaultButton="{createReport}">
<mx:FormItem label="Resume Report Type:">
<mx:RadioButtonGroup id="showtype"/>
<mx:HBox>
<mx:RadioButton groupName="showtype" id="NotUpdated" value="notupdated" label="Not Updated" width="100" />
<mx:RadioButton groupName="showtype" id="Updated" value="updated" label="Updated" width="75" />
<mx:RadioButton groupName="showtype" id="All" value="all" label="All" width="75" />
</mx:HBox>
</mx:FormItem>
<mx:FormItem label="User Organzation:">
<mx:ComboBox dataProvider="{qOrganization}" labelField="UserOrganization" /> </mx:FormItem>
<mx:FormItem label="Between the following dates:">
<mx:HBox>
<mx:DateField/>
<mx:DateField left="10"/>
</mx:HBox>
</mx:FormItem>
<mx:FormItem>
<mx:Button label="Create Report" id="createReport"/>
</mx:FormItem>
</mx:Form>