component controller and view controller methods

Depending on the controller type,additional hook methods are available.For the [color=red]component controller[/color],there are three additional standard methods.Two are of importance:
1. wddobeforenavigation()
Whenever a client event is raised,the corresponding action method in the view controller is processed.The method wddobeforenavigation() is called after the action method has been processed and just before the Web Dynpro framwork processes the events in the navigation queue.
2. wddopostprocessing()
In complex Web Dynpro applications,it is possible that the data from multiple components must be validated before the next step in the business process can be taken.This method has been impplemented so that cross-component validation can take place.It is the last controller method that is processed before the UI is sent to the client.

For [color=red]view controllers[/color],there are two additional hook methods:
1.wddobeforeaction()
After the Web Dynpro application has been started and the user has raised a client event,the first methods to be processed in the Web Dynpro application are the wddobeforeaction() methods of all view controllers of the previous rendered view assembly.This happens even before the action handler method related to the client event is processed.
2. wddomodifyview()
The only method that allows to access the UI element hierarchy is the view's wddomodifyview() method.The interface parameter VIEW is a reference to the UI element hierarchy;the FIRST_TIME parameer can be used to find out if this method has been previously processed in the view controller's life cycle.This method can be used to manipulate the UI element hierarchy dynamically.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值