Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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


Ïà¹ØÎÊ´ð£º

Flex Builder 3 plugin ×¢²áÂë¡£



ÓеÄÅóÓÑÇëÁôÑÔ£¬Ð»Ð»ÁË¡£¡£
http://www.blogjava.net/vip01/archive/2008/02/26/182336.html

ÒýÓÃ
http://www.blogjava.net/vip01/archive/2008/02/26/182336.html


лÁË£¬ÎÒÔÙÕÒÕÒ£¬ÆäËû ......

flexÖÐdatagridºÏ²¢µ¥Ôª¸ñ

ÐÎÈ磺 A  B  C
      1  2  3
      1  2  3
      1  2  3
      1  2  3
......

½«flex ArrayCollectionÊý¾ÝÀàÐÍ´«µÝµ½ºǫ́³öÏÖÎÊÌâ

ºǫ́javaÀàÊÇ
public class EFInputProperty
{
private String name;
private String value;
public String getName() {
return name;
}
public void setName(String properyName) { ......

Flex ComboBox

  ÎÒ¶¨ÒåÁËÒ»¸öComboBox£¬ComboBoxµÄproviderÓõÄÊÇÒ»¸öArrayCollection,ArrayCollectionÀï±£´æµÄÊÇÒ»¸ö¶ÔÏ󣬶ÔÏóÀïÓÐÁ½¸öÊôÐÔÒ»¸öΪname ,Ò»¸öΪid£¬labelFieldÓõÄÊÇname£¬µ«ÎÒÏëÑ¡ÖÐÒ»¸öÒÔºó£¬Í¬Ê±È¡³öÁ½¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ