flexÖж¯Ì¬µ÷ÓÃremoteobjectµÄÎÊÌâ
ÎÒµÄJAVA¶Ë·µ»ØµÄÊÇÒ»¸öLIST,Èç¹ûÓÃÏÂÃæµÄ·½·¨,¿ÉÒÔÊÇÄÜÔÚÒ³Ãæ¼ÓÔØÊ±,µÃµ½·þÎñ¶Ë·µ»ØµÄÊý¾ÝµÄ,¼´:
?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="srv.getCategoriesByPidflex()" width="706" height="417">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
private function findAllFaultHandler(event:FaultEvent):void
{
Alert.show(event.fault.faultString, "Error");
}
private function clickHandler(event:Event):void {
trace(event.currentTarget.getRepeaterItem().@id);
}
]]>
</mx:Script>
<mx:RemoteObject id="srv" destination="categoryservice">
<mx:method name="getCategoriesByPidflex" fault="findAllFaultHandler(event)">
<mx:arguments>
<categoryid>
144</categoryid>
</mx:arguments>
</mx:method>
</mx:RemoteObject>
<mx:VBox id="h" horizontalAlign="right" verticalAlign="bottom" h
Ïà¹ØÎÊ´ð£º
ÓеÄÅóÓÑÇëÁôÑÔ£¬Ð»Ð»ÁË¡£¡£
http://www.blogjava.net/vip01/archive/2008/02/26/182336.html
ÒýÓÃ
http://www.blogjava.net/vip01/archive/2008/02/26/182336.html
лÁË£¬ÎÒÔÙÕÒÕÒ£¬ÆäËû ......
ÐÎÈ磺 A B C
1 2 3
1 2 3
1 2 3
1 2 3
......
ºǫ́javaÀàÊÇ
public class EFInputProperty
{
private String name;
private String value;
public String getName() {
return name;
}
public void setName(String properyName) { ......
ÎÒ¶¨ÒåÁËÒ»¸öComboBox£¬ComboBoxµÄproviderÓõÄÊÇÒ»¸öArrayCollection,ArrayCollectionÀï±£´æµÄÊÇÒ»¸ö¶ÔÏ󣬶ÔÏóÀïÓÐÁ½¸öÊôÐÔÒ»¸öΪname ,Ò»¸öΪid£¬labelFieldÓõÄÊÇname£¬µ«ÎÒÏëÑ¡ÖÐÒ»¸öÒÔºó£¬Í¬Ê±È¡³öÁ½¸ ......