Use case : Invoke a method in backing bean just before ADF life cycle ends, For eg : Whenever use closes the browser window of a specific page fragment, Want to invoke a method in backing bean.
Implementation
Define a finalizer entry in taskflow corresponds to the page fragment as shown below, releaseLock() is the method defined in CustomerBean.
This will invoke releaseLock() method whenever exit from specific page fragment.
<finalizer id="1">#{pageFlowScope.CustomerBean.releaseLock}</finalizer>
Implementation
Define a finalizer entry in taskflow corresponds to the page fragment as shown below, releaseLock() is the method defined in CustomerBean.
This will invoke releaseLock() method whenever exit from specific page fragment.
<finalizer id="1">#{pageFlowScope.CustomerBean.releaseLock}</finalizer>
Looking forward to reading more. Great post.Really looking forward to read more. Will read on…
ReplyDeleteweb methods training