开始本实验前,请先完成《使用 ADF BC 开发业务服务 》。
完成《Developing a User Interface with ADF Faces》。
1. 如何使用其它Project的资源
共享资源如 servlet classes,helper classes,images,和 templates,可以通过创建ADF library来为其它Project所共用。
2. 关于Commit/Rollback operation
The Commit operation executes at the Application Module level, and by default, is only enabled if the transaction has been modified.
At the time that the edit function is called, none of the attribute values have changed.
To enable the operation in the case that the user makes changes in the editLineItems page, open the Behavior tab in the Property Inspector for the Commit button.
Delete the contents of the Disabled property(#{!bindings.Commit.enabled})to default the disabled property to false.
3. 三种方法设置 Attribute 为 Read-Only
(1)在View Object中设置(也就是在模型层设置)
(2)在.jsp(.jspx)中设置(也就是在视图层设置)
(3)在.jsp(.jspx)中设置(也就是在视图层设置),把Input Text转换成Output Text。
4. AutoSubmit
5. immediately
6. PPR
思考问题1:Edit 按钮是如何把参数传过去的?
没有评论:
发表评论