context mapping and data binding
来源:互联网 发布:网络教育报考时间 编辑:程序博客网 时间:2024/06/09 14:25
Controllers are the heart of Web Dynpro components, since program logic and
data are defined in these entities
Each view consists of the layout part and exactly one view controller. This
controller cares for view-specific flow logic, like checking user input and
handling user actions.
For information to be shared between different controllers, one controller must
declare the use of another controller. This is done on the Properties tab of the
controller that needs to access another controlle
Using the generic name <Outbound plug> for an outbound plug, its declaration
will cause a method to be generated in the views component controller, called
FIRE_<Outbound plug>_PLG,A static registration of an inbound plug (method HANDLE<Inbound plug>) to
the navigation event raised by an outbound plug (method FIRE_<Outbound
plug>_PLG) is called a navigation link.
实例:两个视图,一个包含一个button,一个form,含有两个输入字段。
一个同样含有一个button,一个form,含有两个输入字段,但属性为READ ONLY,内容为视图1输入的值。
点击视图1的按钮,跳转到视图2,点击视图2的按钮,跳回视图1.
点击Next后为:
1,两个视图与上一篇的例子一致,在comopenent context里新建一个node,参考数据表sflight,选择字段carrid,connid作为添加的属 性。
2,分别在两个视图的context里做MAPPING.
3,在视图1,2 layout里增加一个form,context选择刚才创建的节点,binding的复选框勾中。form的属性LAYout,选择MATRIX layout
视图2里的form里的输入字段属性设置为READ ONLY。
4,navigation link创建不变,创建application,active。
5,测试的结果如上图。
- context mapping and data binding
- Data Binding DataConnector and DataNavigator
- Binding and Context Concept, from JNDI Tutorial
- Windows Forms Data Binding and Objects
- Mapping SQL and Java data types
- Data Binding
- Data Binding
- Data && Binding
- Data Binding
- Data binding
- Data Binding
- data binding
- Data Binding
- Data Binding
- Data Binding
- Data Binding
- data binding
- Data Binding
- SPSS(|PASW)18 学习笔记(1):入门示例-克山病例
- ASP.NET日期时间型算法(月,星期,季度)
- servlet单实例多线程
- 转:GCC笔记(警告.优化以及调试选项)
- 英特尔何淑芬:MeeGo是不同平台的桥梁
- context mapping and data binding
- 从Struts1到Struts2
- 再叙指针
- 准备开技术博
- sql server对时间(月、周)的操作
- Frambuffer
- js的一些基础
- SQLServer2008高版本文件移植到低版本SQLServer2005文件或SQLServer2000文件
- Android初学上路,那配置环境是首选吧~