加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Flex学习笔记作用域与布局约束

发布时间:2020-12-15 03:38:16 所属栏目:百科 来源:网络整理
导读:配置远程对象作用域: remote-config.xml destionation id = “store Cart” properties sourcecom.mark.pojoservice.storeService/source scopesession/scope ——LCDS维持用一个实例 或??? scoperequest/scope ——每次客户端调用,即重新生成新实例 或???

配置远程对象作用域: 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″/>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读