Issue Details (XML | Word | Printable)

Key: FDT-1062
Type: Improvement Improvement
Status: Confirmed Confirmed
Priority: Major Major
Assignee: FDT Team
Reporter: Meinhard Gredig
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FDT

Auto-completion and binding for remote methods

Created: 16/Jul/10 03:00 PM   Updated: 22/Jun/12 06:42 PM
Component/s: MXML
Affects Version/s: FDT 4.5.2
Fix Version/s: FDT
Security Level: public

Time Tracking:
Not Specified

Review Type: Review by Product Owner


 Description  « Hide
AC + binding (wrong problem marker atm) for 'getProductsByName'
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" 
               xmlns:parsley="http://www.spicefactory.org/parsley"
               applicationComplete="start()">         
	<fx:Declarations>
		<mx:RemoteObject id="srv"
			destination="product"
			showBusyCursor="true"
			fault="handleServiceFault(event)">
			<mx:method name="getProductsByName" result="handleSearchByNameResult(event)">
				<mx:arguments>
		        	<fx:String />	
		        </mx:arguments>
			</mx:method>
		</mx:RemoteObject>
	</fx:Declarations>
	
	<fx:Script>
		<![CDATA[
			import mx.rpc.events.FaultEvent;
			import mx.rpc.events.ResultEvent;

			private function start() : void {
				srv.getProductsByName('a');
			}
			
			private function handleSearchByNameResult(event:ResultEvent) : void {
			}
			
			private function handleServiceFault(event:FaultEvent) : void {
			}
		]]>
	</fx:Script>
	
</s:Application>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.