- 10
- 0
- 约3.81万字
- 约 7页
- 2016-08-24 发布于河南
- 举报
dorado7入门教程
Var tt =”${argument.foo}”;
Alert(tt);
//意思是 取 argument里面的 foo的值
View 里面 分为3个部分 ,全局变量,属性,JS事件,
View 里面的 caption 的值 是 按钮的名字,
Argument 全局的 其他都有可以 应用到
Caption 里面 可以直接 使用 EL表达式 ${argument.foo}
按钮 直接显示 EL表达式的 值
Context 是 上下文的 意思, 前后台交互的 类型 ,数据交互 leisistruts
下面有一个 attrubute 节点 定义 name attrubute 和 value 321
在定义 一个 butten caption 叫做 获取 attrubute
在 onclick 里面写 事件
Var context =view.get(“context”).get(“contextFoo”);
Alert(context);
Argument只能通过 EL表达式 不能 使用 view 。Get 的 方法
Model节点 定义一些数据模型,以dataset来驱动 是 私有的,
当前的 produce.view.xml才能应用到 自己的 model
Datatype name属性 dtproduce
Creationt
原创力文档

文档评论(0)