Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dynamic region with taskflow id as null is not working

Peddi Kristipati-OracleJun 18 2009 — edited Jun 18 2009
Hi All,
We have the requirement as follows.
dynamic region should get executed only if the taskflow id is passed through configuration file(.properties file).
If the taskflow id is not passed through configuration file then the region should not get executed.

But what is happening is, dynamic region is getting invoked during base page load, if the taskflow id is null (not passed through configuration file) it is giving the error provided end of this message.
How to stop the excution of dynamic region if the taskflow id is null during base page load?

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<Jun 18, 2009 3:14:09 AM PDT> <Error> <HTTP> <BEA-101020> <ServletContext@29793173--app:TaskFlowClient module:TaskFlowClient-ViewController-context-root path:/TaskFlowClient-ViewController-context-root spec-version:2.5-- Servlet failed with Exception
oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${backingBeanScope.dyn.dynamicTaskFlowId}' is invalid.
at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getTaskFlowId(DCTaskFlowBinding.java:673)
at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:188)
at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:127)
at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:88)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:114)
Truncated. see log file for complete stacktrace
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks
Kristi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2009
Added on Jun 18 2009
1 comment
408 views