摘要:
有时候我们需要让两个组件之间实现联动,并且在其中传递数据,自定义事件机制可以帮助我们比较优雅的实现这种需要.下面的例子,是打算实现一个列表和一个编辑框的联动.编辑框代码Xml代码列表代码Xml代码-->DummyVO代码Java代码packagemy{[Bindable]publicclassDummy{publicfunctionDummy(){}publicvarname:String;publicvarmobile:String;publicvaremail:String;publicvarqq:String;publicvarmsn:String;publicvaraddress 阅读全文
摘要:
1.array作为控件使用FLEX3写法:FlashDirectorDreamweaverColdFusionFLEX4写法:FlexFlashDreamweaver举例注:写{},则当barname数据的值修改后,linkbar的数据同步更新2.array在程序中使用[Bindable]public var barname:Array=["Flex","Flash","Dreamweaver"];var barname:Array = new Array();barname.push("Flex");barnam 阅读全文
摘要:
In order to support this, PyAMF needs to provide a synonym mapping between fields. Until then, you could useIExternalizable(although clumsily):classUserProfile(model.Model): user = models.ForeignKey(User, unique=True) blurb = models.CharField( max_length=200,null=True, blank=True)public= ... 阅读全文