ADF:Dynamic Region Refreshing

Hi,
My JDeveloper version is 11.1.1.5
I am facing one problem.
I have one table to which I have Save and Remove buttons.
To the Save button, I have one action which programmatically inserts the row into the table. And Remove button removes the row present from the table programmatically.
The Problem I am facing is, whenever I save or remove I need to reload the page to see the row inserted or deleted. It is not happening automatically...
Could anyone please tell me how to reload a dynamic region which reflects DB table modification onto the Dynamic Region?
Many thanks in advance

Hi Guys,
Here I will try to put my scenario...
There is one table called APPLICATION which displays all the data using ViewObject1. To this table I am adding and saving and deleting a new row.
ViewObject1 Query :
SELECT Application.BUSINESS_UNIT,
Application.DESCRIPTION,
Application.ID,
Application.NAME
FROM APPLICATION Application
And there is one more viewObject which refers the same table which also displays the same columns with the data which is mentioned in below viewobject query.
ViewObject2 Query:
SELECT Application.BUSINESS_UNIT,
Application.DESCRIPTION,
Application.ID,
Application.NAME
FROM APPLICATION Application
WHERE ID not in (select ID_application from project_application)
So
Whenever I am saving/removing a row, the table with ViewObject1 is being reflected with the saved row... but not the table with ViewObject2. So can you please advise me how to reflect the saved row in ViewObject2 also..
ViewObject1 and ViewObject2 are referring to the same table(APPLICATION) in the DB with different queries...
Many Thanks in Advance,
Edited by: 977652 on Jan 22, 2013 4:42 AM

Similar Messages

  • ADF Dynamic region in a popup does not load

    Hi Experts,
    JDEV version used 11.1.1.5
    I have a page which has a table and each row has a command link on one of the columns.
    When I click on the command link an action listener is invoked which decides the DYNAMIC TF that is to be loaded in a pop up .
    The pop up has a dynamic adf region in it.
    Based on the record clicked (using command link) task flow is loaded in the dynamic region of the the Popup .
    But, when i click the same link for the second time or a different record the popup is displayed as blank , The taskflow in the dynamic region is not loaded at all.(getDynamicTaskFlowId is invoked and is also returing the correct TF to be loaded)
    First time it works as expected  , but its not happening from the second time.
    I have used conditional activation , but later due to the above issue I have tried to put an expression #{true} for the active property to test if it works. It didn't.
    Please note that first time there is no issue.It does not work from the second click on same record or any other record.
    Any other suggestions to fix the above issue  are much appreciated.
    Thanks,
    Vikranth

    Hi Frank,
    I have followed the same approach. However in my case its a dynamic af:region which is causing the issue.
    Any other pointers is much apprecitaed.
    Thanks,
    Vikranth

  • ADF dynamic region - Browser is blank

    Hi All,
    I am following a hands-on practice in Oracle JDeveloper 11g Handbook. I have created two bounded task flows named "searchEmployee-flow.xml" and "departmentTee-flow.xml". I want to call these task flows from af:commandLink in a dynamic region. In the Choose Managed Bean for Dynamic Scope dialog I have provided following steps:
    1. Click New (green “+”) to add a managed bean. Set Bean Name as “searchScreenBB,” Class Name as “SearchScreenBean,” and Package as “tuhra.view.backing.” Click OK. Click OK.
    2. I wrote UIManager class to switch page fragments:
    package tuhra.view;
    public class UIManager implements Serializable
    public enum Screen {EMPLOYEE_SEARCH, DEPARTMENT_TREE}
    private Screen searchScreenFocus = Screen.EMPLOYEESEARCH;
    public void setSearchScreenFocus(String focus) {
    this._searchScreenFocus = Screen.valueOf(focus);
    public void setSearchScreenFocus(UIManager.Screen focus){
    this._searchScreenFocus = focus;
    public UIManager.Screen getSearchScreenFocus() {
    return _searchScreenFocus;
    3.
    I opened adfc-config (under Page Flows in the Application Navigator). On the Overview tab, selected Managed Beans and added a bean (using the green “+”) and fill in Name as “uiState,” Class as “tuhra.view.UIManager,” and Scope as “session.”
    4.
    Updated SearchScreenBean.java to read as in the following code listing (without the line numbers).
    package tuhra.view.backing;
    import java.util.HashMap;
    import oracle.adf.controller.TaskFlowId;
    import tuhra.view.UIManager;
    public class SearchScreenBean {
    private static final HashMap<UIManager.Screen,String> REGIONMAP;
    static {
    REGIONMAP = new HashMap<UIManager.Screen,String>(2);
    REGIONMAP.put(UIManager.Screen.EMPLOYEE_SEARCH,
    "/WEB-INF/searchEmployees-flow.xml#searchEmployees-flow");
    REGIONMAP.put(UIManager.Screen.DEPARTMENT_TREE,
    "/WEB-INF/departmentTree-flow.xml#departmentTree-flow");
    private UIManager _uiManager;
    public TaskFlowId getDynamicTaskFlowId(){
    return TaskFlowId.parse(
    REGIONMAP.get(_uiManager.getSearchScreenFocus()));
    public void setUiManager(UIManager _uiManager){
    this._uiManager = _uiManager;
    6.
    To have JSF inject the UI manager value, I switched back to the adfc-config.xml editor and locate the Managed Beans area on the Overview tab and performed folliwing steps as told in book:
    6.1. Select the searchScreenBB bean and then click Add (green “+”) in the Managed Properties: searchScreenBB table. Set the managed property Name to “uiManager” (to match the setUiManager() method in the bean), the Class to tuhra.view.UIManager, and the Value to “#{uiState}.”
    6.2. Now that the logic to switch the screens is in place, you can define how the UI will activate the change in searchScreenFocus values. You could of course use a custom method in SearchScreenBean, but using a af:setPropertyListener is simpler. In the employeeSearch.jspx file, locate the af:commandLink that surrounds the “Search for Employees” image.
    6.3. Drop into the af:commandLink a Set Property Listener (Operations panel). Set From as “#{'EMPLOYEE_SEARCH'},” To as “#{uiState.searchScreenFocus},” and Type as “action.” Click OK.
    6.4. Repeat the preceding step for the “View by Department” link. This time, fill in From as “#{'DEPARTMENT_TREE'}.”
    6.5. Click Save All.
    When I run the form as directed, It is blank and is giving following error messages:
    [Application tuhra2 deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/tuhra2/faces/employeeSearch.jspx
    Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
         ... 82 more
    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/searchEmployees-flow.xml"
         at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
         at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
         at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:213)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
         ... 88 more
    <Jul 7, 2011 11:21:14 AM PKT> <Error> <HTTP> <BEA-101020> <[ServletContext@18426608[app:tuhra2 module:tuhra2 path:/tuhra2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/searchEmployees-flow.xml"
         at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
         at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
         at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
         at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:213)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
         Truncated. see log file for complete stacktrace
    >
    <Jul 7, 2011 11:21:14 AM PKT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 7, 2011 11:21:14 AM PKT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jul 7, 2011 11:21:14 AM PKT SERVER = DefaultServer MESSAGE = [ServletContext@18426608[app:tuhra2 module:tuhra2 path:/tuhra2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
         at jsp_servlet.__employeesearch_jspx._jspService(__employeesearch_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at java.security.AccessController.doPrivileged(Native Method)
    Caused By: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:440)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:358)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__employeesearch_jspx._jspx___tag21(__employeesearch_jspx.java:1036)
         at jsp_servlet.__employeesearch_jspx._jspService(__employeesearch_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = bilal-PC TXID = CONTEXTID = d87127fb8baddada:4155b820:130fd94af8a:-8000-00000000000006c4 TIMESTAMP = 1310019674635
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Jul 7, 2011 11:21:20 AM PKT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\administrator\appdata\roaming\jdeveloper\system11.1.1.5.37.60.13\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_16 with a lockout minute period of 1.>
    Any help will be highly appreciated.
    Thanks

    Hi
    This error occurs on account of the scope of backing bean Taskflow id not set up correctly and taskflow id leads to null pointer exception.
    Open EmplloyeeSearch.jspx - go to bindings. click taskflow - dynamic region in binding. Set the property as follows:
    #{backingBeanScope.searchScreenBB.dynamicTaskFlowId}
    This should resolve the issue.
    Edited by: Krithivasan N on Mar 6, 2012 11:52 AM

  • Can't view filtered VO properly in a dynamic region

    Hi all,
    I am using Jdeveloper 11.1.1.0
    I have a view object (myVO) that has some view criterias (FilteredVO1, FilteredVO2, ecc.)
    In myPage I have a dynamic region in which I can view different fragments. These fragments contain filtered data (FilteredVO1, FilteredVO2, ecc.), but I always see all the data (myVO)
    If I run the application module, in FilteredVO1, FilteredVO2, ecc. I see the data properly (I see the filtered data, not all the data).
    Also if I run a normal page (without fragments) with a panel tab for every FilteredVO, I see the filtered (and not all) data.
    In myPageDef I have set the property "refresh" on "ifNeeded".
    What's the problem? Any suggestions?
    Thanks
    Andrea

    Hi Andrea,
    Why do you want to set the refresh parameter? Is your task-flow has any parameters set..? Refresh parameter should be used only when you want the dynamic region to respond based on task-flow parameter. Otherwise, the dynamic region can automatically refresh based on different task-flow selection. So, precisely if you reset this param to default, it should work as expected provided these fragments uses different task-flows. See this document section [16.2 Creating ADF Dynamic Regions|http://download.oracle.com/docs/cd/E15051_01/web.1111/b31974/taskflows_regions.htm] for more info.
    Regards,
    ~Krithika

  • Dynamic regions issue data transmission was interrupted

    Hi. I'm using JDev 11.2.2 and ADF full stack.
    Issue is when I'm trying to refresh a dynamic region to load a new task flow. Let me give a test case step by step:
    1.- Using HR, build model: Create objects(Entities, View Objects) for tables Employees and Departments and an Application Module.
    2.-In VC, add a facelets page with two columns layout, first for a tree for switching regions and a dynamic region in the second column.
    3.- Create a page fragment which includes a table generated from employees view in data controls and another page fragment for departments view.
    4.- Create two bounded task flows, one for employees fragment and another for departments fragment.
    5.- Drag and drop a bounded task flow to create a dynamic region in the second column of main page. Make sure selecting backingBean scope for new bean (default is Request scope).
    6.- In model, create a static list populated View Object with two attributes: one for task flow id and one for description
    7.- In VC, generate a Tree in the first column of main page
    8.- Write a selection listener for tree component to read the current task flow id and set that value to dynamic region task flow id in appropriate bean.
    9.- Set partials triggers in dynamic region in the main page to listen to tree events.
    10.- Run and try to load a new task flow by clicking in the tree. An alert is fired with this message:
    *"The content of this page failed to load as expected because data transmission was interrupted. Please try again, or contact your system administrator."*
    And, in the log appears following lines:
    *<FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[index.jsf]*
    java.lang.IllegalStateException: Could not find component to stream
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager.submit(StreamingDataManager.java:378)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3666)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1474)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1674)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1032)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:339)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    If the taskflow id of taskflow which didn't work is established in dynamic region bean as initial taskflow for the region, it works, but the other taskflow fails.....
    Any suggestions?
    DEMR

    Thank you. That solves the issue. Maybe a mistake in docs:
    [http://docs.oracle.com/cd/E35521_01/web.111230/e16182/taskflows_regions.htm#CHDJHACA]
    It says:
    To create an ADF dynamic region:
    In the Application Navigator, select and open the JSF page where you want to create the ADF dynamic region.
    Drag and drop the first bounded task flow onto the JSF page.
    From the context menu that JDeveloper displays, choose Create > Dynamic Region.
    Choose the appropriate option in the Choose Managed Bean for Dynamic Region dialog that JDeveloper displays:
    If you want an existing managed bean to store the bounded task flow's ID, select an existing managed bean from the Managed Bean dropdown list.
    The managed bean passes the value of the bounded task flow's ID into the task flow binding of the ADF dynamic region. Make sure that the managed bean you select is not used by another ADF dynamic region.
    If no managed bean exists for the page, click the Add icon next to the Managed Bean dropdown list to create a new one. Enter values in the dialog that appears as follows:
    Bean Name: Enter a name for the new managed bean. For example, enter DynamicRegionBean.
    Class Name: Enter the name of the new managed bean class.
    Package: Enter the name of the package that is to contain the managed bean or browse to locate it.
    Extends: Enter the name of the Java class that the managed bean extends. The default value is java.lang.Object.
    Scope: This field is read-only and its value is set to backingBean. For more information about the memory scope for managed beans, see Section 18.2.4, "What You May Need to Know About Memory Scope for Task Flows."
    Click OK to close the dialogs where you configure the managed bean.
    Regards,
    DEMR

  • Issue while deploying dynamic region to stand alone server

    Hi,
    In my application there is one page I have panel splitter, where i have drag and dropped menu-taskflow as regionModel, and created dynamic region on second facet panel.
    <af:region value="#{bindings.menutaskflow1.regionModel}" id="r1"/>
    <af:region value="#{bindings.dynamicRegion4.regionModel}" id="r2"/>
    I have created application level class to handle dynamic region loading.
    This settings are working fine when i run application with integrated web logic server, When I deployed my application to stand alone server, its giving me exception as
    java.lang.IllegalStateException: The expression "#{bindings.menutaskflow1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.menutaskflow1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
         at jsp_servlet.__editopportunity_jspx._jspx___tag18(__editopportunity_jspx.java:923)
         at jsp_servlet.__editopportunity_jspx._jspService(__editopportunity_jspx.java:452)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I tried to update bindings with data level binding as
    <af:region value="#{data.view_MenuPageDef.menutaskflow1.regionModel}" id="r1"/>
    <af:region value="#{data.view_MenuPageDef.dynamicRegion4.regionModel}" id="r2"/>
    but it is rendering empty page with another exception..
    Please help
    Regards,
    Meera

    Hi,
    Check
    Runtime errors with ADF Dynamic region
    java.lang.IllegalStateException: The expression "#{bindings.dynamicRegion1.
    Problem with bounded task flow: binding lost?

  • Problem Refreshing Dynamic Region

    Hi ,
    I am facing problems in refreshing the dynamic region. Here is the usecase :
    One JSPX page : TestDynamicTaskflow.jspx
    First Taskflow : LinksTF -> Has one page with 3 command Buttons and one dynamic region.
    On click of 1st and second command button link tf-1 should be displayed and for third command button  tf2.
    Second Taskflow : tf-1    -> Taskflow has one jsff page with a inputText field ( required = true )
    Third taskflow : tf-2  -> Taskflow has one  jsff page with a inputText field ( required = true )
    Problem : Click 1st command button and tf1 is loaded. Now enter some value in inputText and click commandButton2 ... tf-1 is loaded but inputText retains the entered value... This is what is issue .

    Hi,
    the task flow is reloaded as you should be able to tell when setting a print message to be invoked in the task flow initializer. I assume the problem is with the text component not resetting its value. So its a JSF lifecycle problem, not a region issue. Have the command link switching the task flow, issuing
    oracle.adf.view.rich.util.ResetUtils.reset(regionId_in_here);
    Frank

  • Dynamic action with interactive report region refresh

    Hi!
    I'm using APEX 4.02
    I've got a page with 2 regions.
    Region1 is a (input) form
    Region2 is an interactive report on the same table as region 1
    When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
    I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
    The dynamic report is based on a query with bind variables pointing to the form fields, for example
    where
    field1 = :P2_FIELD1
    This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
    But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
    Any ideas why this can go wrong ?
    I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
    Cheers
    Bas
    Edited by: bklerk on 26-apr-2011 3:07

    Hi,
    When you change value to item, I assume you do not set value to session state.
    Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
    Similar post/issue here
    Hide and show region - hides on refresh
    Regards,
    Jari

  • Issue with refresh of task flow in dynamic region

    Hi All,
    I am using Jdeveloper version 11.1.1.6. In my fusion application I am facing an issue with the task flow refresh in the dynamic region. In my application, I have one task flow in which the side navigation command links are there and on the right side it has a dynamic region which is used to display the respective task flows on click of navigation links. Now two of the links actually call the same task flow in dynamic region but for different purpose. One for creating a record and another one for modifying the record. The default activity of that task flow has a page fragment that has couple of fields. One a drop down and another one a text field for searching the accounts against which the record is to be created or modified. On click of the navigation link, I set the task flow id to be displayed and refresh the dynamic region. Now the issue is with those two links which shows the same task flow. Let's say  I searched for a record by putting some value in input text and then went on to modify flow using the modify navigation link. Then the value that I entered in search input text in the create flow stays and does not go away. I found out the cause for the issue and this is happening because of the immediate = true on the navigation command links. Now I cannot remove that because of the obvious reason that then it will start throwing exceptions for the mandatory fields when I am in middle of any flow. Is there any way to achieve it.
    Please help as this is quite urgent. I can also upload the sample application if anyone needs it.
    Regards
    Ajay

    try to put RefreshCondition in the pageDef file for that particular task Flow and try to make that condition to true only when you switch between edit or add. While switching, make sure that the mapped bean properties should also point to respective values i.e. either empty for new or holds some value for edit.
    So, when ever the above condition returns true, task flow gets refreshes and it will holds only the current values not the old values.
    i hope this will resolve your issue.

  • Best approach -Tabs based ADF Tree left side navigation with Dynamic Regions with out UI Shell

    Hi,
    Somebody can help for the best approach to implement the following requirement.
    Req: When the user select the ADF Tree left side navigation menu, each menu will open as multiple tabs(Dynamic Tabs) in right side content area with out UI Shell Template.
    I completed the
    Step-1: From the Model project, I can able to render ADF Tree in the using view and view links. I can get the adf tree which is having 3 menu items. Each menu item having 2 sub menu's.
    I took each menu item as one(1) taskflow, each taskflow will have two(2) fragments.
    Total I have 3 task flows as Menu Items and 6 fragments for sub menu's.
    Step-2:  My question is How do I implement Tab based the ADF tree navigation (left side area to dynamic regions in content area) through dynamic regions? Please provide the steps in view layers.

    Than ks for your response.
    This is working fine for ADF Tree navigation with dynamic regions if the taskflow having only one fragment. if the taskflow having more than one fragments, this will not work. The following conditions are always satisfies one page fragment of either "employees" or "departments" task flow.  If the "employees" task flow have 2 page fragments, it's not work even you pass parameters through routers.
    public TaskFlowId getDynamicTaskFlowId() {
    if (currentTaskFlowID == null ||
    currentTaskFlowID.equalsIgnoreCase(“employees”)) {
    return TaskFlowId.parse(employeetaskFlowId);
    if (currentTaskFlowID != null &&
    currentTaskFlowID.equalsIgnoreCase(“departments”)) {
    return TaskFlowId.parse(departmetaskFlowId);
    return TaskFlowId.parse(employeetaskFlowId);
    My question is "Same use case with Dynamic Tabs" when the user click on any adf tree node.

  • How ADF save client state for dynamic region

    Hi,
    I am wondering what is the best value for "org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS"?
    Our application uses one single dynamic region to render a lot different user menu items outside the region, each menu item corresponds to a bounded taskflow. So if user clicks the back button, user will always goes back to login page.
    Moreover, when the content of the dynamic region change (taskflow id change), is the client state of the previous taskflow UI's state of the region still tracked by adf? Looks like not necessary but I just want to confirm.
    env: jdev11.1.2.1
    Many thanks.

    Hi,
    when you switch a dynamic region then the task flow displayed in the region is discarted and no client state other than the current is saved. Each change of the dynamic region changes the current view Id but does not replace it
    Frank

  • ADF Region Refreshing Mechanism

    Hi all,
    i have a doubt on how ADF region refreshing mechanism works. Let me explain my doubts with an example. Suppose you have a page .jspx inside whom you put a region with the following relevant properties:
    - Refresh: ifNeeded
    - Activation: deferred
    - Parameters:
    ID Value
    param1 #{pageFlowScope.myBean.param1}
    param2 #{pageFlowScope.myBean.param2}
    paramN #{pageFlowScope.myBean.paramN}
    As you can see, the region is instructed to re-execute its task-flow everytime any of its parameters change. What i don't understand is if the parameters must be changed in particular ways that let the region know that it must be re-executed or they can be changed in any way, for example from within the method of a managed bean: returning to the example above, if inside myBean i have a method like the following:
    public void refreshRegion(){
    setParam1(new Param1());
    the region gets re-executed everytime i call this method?
    If not so, could you please explain how exactly the region detects that one of its parameters is changed and then it must re-execute its task-flow?!?
    Thanks in advance!
    Bye!
    Fabio

    Hi,
    thanks for the reply. Is there some reason in particular to use variables stored at requestScope level? The mechanism used by regions to refresh theirselves don't should be the same regardless the scope at which their parameters are stored?
    As a technician, i imagine that the only way regions are able to automatically detect the need to re-execute their task flow is putting theirselves in constant listening to eventual changes in the value of their parameters. As far as i know, this is the only way for regions to detect the exact moments when refresh is required, despite the way their parameters are updated. If this is not the case, then i think the assumption according to which regions are able to refresh theirselves no matter the way their parameters are changed is wrong, and i'd like to know the real mechanism that hides behind the refresh of ADF regions.
    You said that:
    " Now, in any of the server code, if you are changing anyone of the above requestScope values, the taskflow would be re-executed "
    Please, let me ask you: even if the code that changes the value runs inside a thread different from the "ADF thread"?
    Thanks again,
    Bye!
    Fabio

  • Dynamic regions and taskflow in an adf library 11g

    Hi,
    I am facing a small issue. I have a an adf view project that uses an ADF Library containing a task flow. This view project has the following.
    1. A main page (with a splitter panel) that has two buttons (showpage1 and showpage2 as dynamic region links) which display a message from either of these pages in a dynamic region in the page. These two pages have their separate bounded task flows.
    This works great, i can click on either of these buttons and the dynamic region displays the default views of these task flows one at a time.
    2. When i add yet another button for a bounded task flow that comes from the above-mentioned adf library things break. Now i am able to only display the view from the 3rd taskflow by clicking the corresponding 3rd button. Clicking on showpage1 and showpage2 buttons do not show corresponding taskflows/views.
    I can send you my sample project right away if you wish.
    Thanks,
    The only difference seems to be that the following info. is added in web.xml when I start using the adf library's task flow.
    <filter>
    <filter-name>ADFLibraryFilter</filter-name>
    <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>ADFLibraryFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <servlet>
    <servlet-name>adflibResources</servlet-name>
    <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>adflibResources</servlet-name>
    <url-pattern>/adflib/*</url-pattern>
    </servlet-mapping>
    Edited by: user11219846 on Aug 5, 2009 4:10 PM

    Hi Can you send across your sample app where you are using the library and the ADF library as well to [email protected]? I'll take a look and letyou know. Thanks.
    Edited by: Vijay Allen Raj on Sep 7, 2009 12:55 PM

  • ADF: big issues (bug?) with dinamic region refresh

    Hi all,
    we are creating a page that contains a component like the DinamicTabUiShell, but we have several problems refreshing the dinamic region we are using.
    Here is a detailed explanation of our work.
    We have page (monitoraggio.jspx) that has a panel stretch layout. Inside the top facet, we have navigation pane, that draws its tabs with a for each, looping through a managed bean (monitoraggioTabbedPane) collection . Inside the center facet, we have a dinamic region (monitoraggio.jspx, ID=r1).
    We can say that we implemented the adf DinamicTabUiShell.
    This is monitoraggio.jspx
       <af:panelStretchLayout id="psl2" topHeight="auto"
                                             endWidth="0px" bottomHeight="0px"
                                             >
                         <f:facet name="bottom"/>
                         <f:facet name="center">
                               <af:region value="#{bindings.dynamicRegion1.regionModel}"
                                          id="r1" partialTriggers="::np1:cni1"
                                          />
                          </f:facet>
                         <f:facet name="end"/>
                         <f:facet name="top">
                            <af:panelGroupLayout layout="vertical" id="pgl2">
                               <af:spacer width="10" height="10" id="s1"/>
                               <af:panelBorderLayout id="pbl1"
                                                     styleClass="AFStretchWidth"
                                                     binding="#{viewScope.monitoraggio.tabbedPaneArea}">
                                  <af:navigationPane id="np1">
                                     <af:forEach items="#{monitoraggioTabbedPane.monitoraggioTabItems}"
                                                 var="tab">
                                        <af:commandNavigationItem text="#{tab.tabName}"
                                                                  id="cni1"
                                                                  action="#{tab.activateTab}"
                                                                  selected="#{tab.selected}"
                                                                  immediate="true"
                                                                 >
                                        </af:commandNavigationItem>
                                     </af:forEach>
                                  </af:navigationPane>
                                  <f:facet name="end">
                                     <af:group id="g1">
                                        <af:commandImageLink id="cil1"
                                                             icon="/icons/closeDialog_mo.png"
                                                             disabledIcon="/icons/closeDialog_d.png"
                                                             hoverIcon="/icons/closeDialog_n.png"
                                                             depressedIcon="/icons/closeDialog_md.png"
                                                             action="#{monitoraggioTabbedPane.removeSelectedTab}"
                                                             rendered="#{monitoraggioTabbedPane.currentTabPosition > 0}"
                                                             immediate="true"/>
                                        <af:spacer width="15" height="10" id="s2"/>
                                     </af:group>
                                  </f:facet>
                               </af:panelBorderLayout>
                            </af:panelGroupLayout>
                         </f:facet>
                      </af:panelStretchLayout>monitoraggio.jspx page def
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.56.60" id="monitoraggioPageDef"
                    Package="sop.view.pageDefs" SkipValidation="true"
                    ControllerClass="sop.view.pagePhaseListener.MonitoraggioListener">
       <parameters/>
       <executables>
          <variableIterator id="variables"/>
          <taskFlow id="dynamicRegion1"
                    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
                    activation="deferred"
                    xmlns="http://xmlns.oracle.com/adf/controller/binding"
                    RefreshCondition="#{monitoraggioTabbedPane.changed}">
             <parameters>
                <parameter id="oggettoCoinvolto"
                           value="#{monitoraggioTabbedPane.monitoraggioCurrentTab.oggettoCoinvoltoAllarme}"/>
                <parameter id="refreshFlag" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="isStandalone" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="beanRicercaTratte" value="#{null}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
             </parameters>
          </taskFlow>
       </executables>
       <bindings/>
    </pageDefinition>The content of the dinamic region is took from the managed bean of each tab added to the navigation pane: each tab keeps track (through OggettoCoinvolto attribute) of its content, and the dinamic region loads its task flow using the tab attribute OggettoCoinvolto.
    Since we have to open tabs programmatically, to open a tab, what we do is:
    - add a tab to the monitoraggioTabbedPane managed bean tabs collection (here we create the tab managed bean object, setting the OggettoCoinvolto property)
    - try to refresh both the dinamic region and the tabbed pane.
    All these operations, work flawlessly: we see that the model (monitoraggioTabbedPane tabs collection) contanis all the tabs, and each tab contains its correct task-flow-id, and this task-flow-id is correctly returned to the dinamic region.
    The problems is about refreshing the view (both the dinamic region and the navigation pane)
    To refresh them we tried using both AdfFacesContext.getCurrentInstance().addPartialTarget, and queueActionEventInRegion, we tried also setting the region refresh property to "ifneeded" and we changed a boolean flag passed as input of the region each time we wanted to refresh it, we used partianTriggers (you can all see in monitoraggio.jspx), but it does not work...
    Sometimes we see that only the NavigationPane is refreshed, and sometimes when switching tabs, we see that the dinamic region does not change its content.
    What can we do? Is our way to refresh region/dinamic pane wrong ?
    We tried also to set the refresh property of the region to 'default' and using the refresh condition, changing it programmatically, but it does not seem to work...
    Take, as an example, a refresh condition that simply gets the value of a boolean in a managed bean (monitoraggioTabbedPane.changed).
    TO make the refresh condition work, is it sufficient to change the boolean with a simple assignment (changed = true), or do we need to use JSFUtils.setExpressionValue(#{monitoraggioTabbedPane.changed}, true) ?
    Is there any way, in adf 11g, to dinamically launch an design-time-unknow-number of task-flows, where each task-flow is implemented as a region and each region must be associated to a different tab. Is possible to achieve this using dinamic region, or we are mis-using the dinamic region ? How can we refresh it ?
    Many thanks to anyone willing to lean an hand...

    I notice you have the activation property set to deferred.
    <taskFlow id="dynamicRegion1"
    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
    activation="deferred"
    I would set it back to default or immediate for the sake of clarity. According to the doc, setting it to deferred has the same effect as immediate for JSP based pages. This is purely cosmetic.
    You have refreshCondition set which is not what you want in this case.
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    RefreshCondition="#{monitoraggioTabbedPane.changed}">
    You should clear this setting and change the refresh attribute to ifNeeded.
    Your refreshFlag is hard-coded to true.
    <parameter id="refreshFlag" value="#{true}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    When dynamicRegion1 is refreshed, it will only execute if one of it's task flow parameters has a different value then it did during the previous execution. refreshFlag should be set to an el expression that changes at least every time you change tabs if not more often depending on your requirement.
    You mention "we changed a boolean flag passed as input of the region each time we wanted to refresh it" Did you set refreshFlag to an el expression in a different version of the code?
    Sounds like you may have already tried all the above - if that's the case here some suggestions to help diagnose the issue further after you've returned to settings above.
    1) Go to monitoraggio.jspx page def and - in the design tab - and right click to the right and the left of dynamicRegion1 and select Toggle Breakpoint to enable breakpoints before and after the task flow is evaluated.
    2) Go to the design view of the task flows that you are showing in the tabs. Right-click on the each task flows default activity and select Toggle breakpoint to set a breakpoint.
    When you run the application, you should hit the pageDef break points any time the task flow is queued for refresh. If you don't hit those breakpoints, then whatever you are doing to refresh the task flow isn't working.
    Assuming you are successfully queuing your task flow for refresh, you'll hit the pageDef breakpoints. When you hit the first one (on the left), go the expression evaluator in the debugger and enter the el expression for refreshFlag and evaluate it. You want to verify that it changes as expected. If the value of the expression doesn't change before the next tab is displayed, the task flow won't be re-executed. If the values not changing as expected, you need to change the logic you use to update the refreshFlag.
    You'll only hit the breakpoints on the default activities in your task flows when they are actually executed. If you hit the default activity breakpoint but are still seeing stale data, there's something wrong with the logic internal to the task flow.
    Hope that helps.

  • Form refresh issue inside dynamic region

    Hi
    I have a problem with dynamic region. I have a menu on left side containing two buttons and dynamic region on right side. On clicking one of the button employee form open inside the dynamic region but I am unable to navigate between records by clicking form first , next , previous or last buttons.

    I am new learner of Jdeveloper. I run this tutorial http://baigsorcl.blogspot.com/2010/06/working-with-dynamic-regions-in-oracle.html. I am able to learn about how to dynamically bind the taskflow id. When I click the form button on left side of menu Employee Form open in right side of splitter but its navigation button are not working.

Maybe you are looking for

  • Safari (and other browsers) won't open photos or slideshow

    I recently re-published my web site last night with a new template. Everything works fine but now when I click on any photos in my gallery I get the following message in Safari: "Safari can't open "photos:%20Kates%20Summer_files/slideshow.html?slideI

  • Firefox cannot load websites but other programs can (link to solution is dead)

    Firefox either takes a long time to load some pages or simply does not load them, ever. I've just tested it and tried in IE9 to load one of those pages that FF never loads. IE9 loaded it immediately. Browsing through your FAQ pages, i found a questio

  • Budgeting for Cost center in KPZ2 tcode

    Hi Friends, I have a requirement stating to create the cost center and do the budgeting for that cost center. This has to be done using BAPI / FM. Can anyone help me out in finding out the BAPI / FM .

  • Possible to convert autonomous AP to LWAPP via CLI?

    Hi, Probably a silly question but was wondering why it is not possible to convert an autonomous AP to LWAPP by using CLI commands? For example we have over 300 access points to convert and thought about using Linux to automate the task but seems ther

  • E52 Contacts search - Building cache

    I've recently upgraded my E52 to the latest firmware 031.012 and now the Contacts search function no longer works, every time I press a key to search the address book I get the message "Building cache. Search will be available in a moment", which it