dynamic region with taskflow id as null is not working
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