Flex学习笔记作用域与布局约束
配置远程对象作用域: remote-config.xml <destionation id = “store Cart”> <properties> <source>com.mark.pojoservice.storeService</source> <scope>session</scope> ——LCDS维持用一个实例 或??? <scope>request</scope> ——每次客户端调用,即重新生成新实例 或??? <scope>application</scope> –在服务端只维持一个实例 </properties> </destionation> 需要Flex保留生成的Actionscript代码,添加 -keep-generated-actionscript 使用消息服务,订阅与发布 <mx:Consumer> <mx:Producer> www.flex.org/showcase ———-RIA应用的橱窗 //用户体验规划、人机接口设计,服务器技术接口 布局:创建约束行和约束列,使用“约束ID:偏离值”格式 列: <mx:constraintColumns> <mx:constraintColumn id=”colA” width=”30%”/> <mx:constraintColumn id=”colB” width=”60%”/> </mx:constraintColumns> 行: <mx:constraintRows> <mx:constraintRow id=”rowA” height=”100″/> <mx:contraintRow id=”rowB”/> </mx:constraintRows> <mx:comboBox top=”rowA:50″ right=”colB:20″/> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |