Several Save Point in stubborn TaskFlow

Hello

I'm working on a stubborn workflow that requires me to set up dedicated points for each page, backup, so that when you click on the button 'back' of a page, I can navigate to the previous page, restore its State.

However, I find that it works for both pages, i.e. I have enter data on a single page, click 'next', go to the next page and click on 'back' and get the data from the previous page.

But, I see that the save point only works for the page immediately before the current. I used separate record markers point for each page, but it seems that the point save entry in the oradfcsavpt table replaces the old entry and create a new whenever I have create a save point. I'm looking to save and restore programmatically. without saving the point to restore the activity in the workflow.

Could someone please help?

Hello

Yes, I think that what you see is how it is designed. It is not intended to be a mechanism for canceling, but to allow you to recover from current developments

Frank

Tags: Java

Similar Questions

  • Error when restoring save point

    Hello

    I have a problem when I try to restore my save point.  My restoration activity is called from a stubborn task incorporated as a region in a plain .jspx page flow.  The workflow is configured to always start a new transaction and has a range of isolated data control.  I can create and remove backup points, and I also have access to them properly as I can query for them using SavePointManager, so I don't have to go to a point record that is not available on my user account.  Is there something I'm missing in my configuration of workflow or something that does not work with fragments of page?

    Thanks for your time.

    Here is my code to create/delete/restore save points

        // creates save point with specified name and adds it to the list
        public void createSavePoint() {
            ControllerContext cc = ControllerContext.getInstance();
            if (cc != null) {
                SavePointManager mgr = cc.getSavePointManager();
                if (mgr != null) {
                    SavePointAttributes attrs = new SavePointAttributes(savePointName, reportType, null);
                    mgr.createSavePoint(attrs);
                    ADFUtils.findOperation("execute").execute();
                    ADFUtils.findIterator("savePointsIterator").executeQuery();
                }
            }
        }
      
        // removes save point from the database and list
        public void removeSavePoint() {
            DCIteratorBinding dcIter = ADFUtils.findIterator("savePointsIterator");
            Row row = dcIter.getCurrentRow();
            if (row != null) {
                String id = (String) row.getAttribute("id");
              
                ControllerContext cc = ControllerContext.getInstance();
                if (cc != null) {
                    SavePointManager mgr = cc.getSavePointManager();
                    if (mgr != null) {
                        mgr.removeSavePoint(id);
                        ADFUtils.findOperation("execute").execute();
                        ADFUtils.findIterator("savePointsIterator").executeQuery();
                    }
                }
            }
        }
    
    
        // Restores application state to selected save point
        public String restoreSavePoint() {
            DCIteratorBinding dcIter = ADFUtils.findIterator("savePointsIterator");
            Row row = dcIter.getCurrentRow();
            if (row != null) {
                savePointId = (String) row.getAttribute("id");
                return "restoreSavePoint";
            }
            return null;
        }
    
    
    
    

    Here's the complete stack trace.

    < 7 July 2014 11:11:45 AM CDT > < error > < oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter > < BEA-000000 > < ADF_FACES - 60096:Server Exception during the PPR, #8

    oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08014: the controller of the ADF is unable to run the point backup restoration activity.

    at oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:56)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.restoreSavePoint(SavePointManagerImpl.java:695)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.restoreSavePoint(SavePointRestoreListener.java:59)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.afterPhase(SavePointRestoreListener.java:43)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:537)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:302)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:88)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    Caused by: oracle.jbo.JboException: ADFContext Houston-29114 is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-29000. Error messages settings are {0 = oracle.adf.model.adapter.AdapterException, 1 = DCA-29000: Unexpected exception caught: java.lang.NullPointerException, msg = null}

    at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:219)

    at oracle.adf.model.adapter.bean.BeanDCFactoryImpl.createSession(BeanDCFactoryImpl.java:66)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:234)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1247)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1746)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1608)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1568)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1380)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1330)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreDataControl(DataControlFrameImpl.java:980)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreSnapshot(DataControlFrameImpl.java:1052)

    at oracle.adfinternal.controller.util.model.DCFrameImpl.restoreSnapshot(DCFrameImpl.java:81)

    at oracle.adfinternal.controller.state.ControllerState.restorePageFlowStackEntry(ControllerState.java:1726)

    at oracle.adfinternal.controller.state.ControllerState.restoreViewPort(ControllerState.java:1625)

    at oracle.adfinternal.controller.state.ControllerState.restoreViewPort(ControllerState.java:1694)

    at oracle.adfinternal.controller.state.ControllerState.restoreControllerState(ControllerState.java:1559)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.restoreSavePoint(SavePointManagerImpl.java:681)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.restoreSavePoint(SavePointRestoreListener.java:59)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.afterPhase(SavePointRestoreListener.java:43)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:537)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:302)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:88)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    Caused by: oracle.adf.model.adapter.AdapterException: ADFContext Houston-29114 is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is DCA-29000. Error messages settings are {0 = java.lang.NullPointerException, 1 = null}

    at oracle.adf.model.adapter.bean.BeanDataControl.getDCProvider(BeanDataControl.java:74)

    to oracle.adf.model.adapter.bean.BeanDataControl. < init > (BeanDataControl.java:41)

    to oracle.adf.model.adapter.bean.BeanDCDefinitionDataControl. < init > (BeanDCDefinitionDataControl.java:43)

    at oracle.adf.model.adapter.bean.BeanDCDefinition.createDataControl(BeanDCDefinition.java:55)

    at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:197)

    at oracle.adf.model.adapter.bean.BeanDCFactoryImpl.createSession(BeanDCFactoryImpl.java:66)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:234)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1247)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1746)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1608)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1568)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1380)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1330)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreDataControl(DataControlFrameImpl.java:980)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreSnapshot(DataControlFrameImpl.java:1052)

    at oracle.adfinternal.controller.util.model.DCFrameImpl.restoreSnapshot(DCFrameImpl.java:81)

    at oracle.adfinternal.controller.state.ControllerState.restorePageFlowStackEntry(ControllerState.java:1726)

    at oracle.adfinternal.controller.state.ControllerState.restoreViewPort(ControllerState.java:1625)

    at oracle.adfinternal.controller.state.ControllerState.restoreViewPort(ControllerState.java:1694)

    at oracle.adfinternal.controller.state.ControllerState.restoreControllerState(ControllerState.java:1559)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.restoreSavePoint(SavePointManagerImpl.java:681)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.restoreSavePoint(SavePointRestoreListener.java:59)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.afterPhase(SavePointRestoreListener.java:43)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:537)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:302)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:88)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    Caused by: java.lang.NullPointerException

    at com.dnr.welltests.utils.SavePointHelper.execute(SavePointHelper.java:39)

    to com.dnr.welltests.utils.SavePointHelper. < init > (SavePointHelper.java:26)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

    at java.lang.Class.newInstance0(Class.java:374)

    at java.lang.Class.newInstance(Class.java:327)

    at oracle.adf.model.adapter.bean.BeanDataControl.getDCProvider(BeanDataControl.java:64)

    to oracle.adf.model.adapter.bean.BeanDataControl. < init > (BeanDataControl.java:41)

    to oracle.adf.model.adapter.bean.BeanDCDefinitionDataControl. < init > (BeanDCDefinitionDataControl.java:43)

    at oracle.adf.model.adapter.bean.BeanDCDefinition.createDataControl(BeanDCDefinition.java:55)

    at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:197)

    at oracle.adf.model.adapter.bean.BeanDCFactoryImpl.createSession(BeanDCFactoryImpl.java:66)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:234)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1247)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1746)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1608)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1568)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1380)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1330)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreDataControl(DataControlFrameImpl.java:980)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreSnapshot(DataControlFrameImpl.java:1052)

    at oracle.adfinternal.controller.util.model.DCFrameImpl.restoreSnapshot(DCFrameImpl.java:81)

    at oracle.adfinternal.controller.state.ControllerState.restorePageFlowStackEntry(ControllerState.java:1726)

    at oracle.adfinternal.controller.state.ControllerState.restoreViewPort(ControllerState.java:1625)

    at oracle.adfinternal.controller.state.ControllerState.restoreViewPort(ControllerState.java:1694)

    at oracle.adfinternal.controller.state.ControllerState.restoreControllerState(ControllerState.java:1559)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.restoreSavePoint(SavePointManagerImpl.java:681)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.restoreSavePoint(SavePointRestoreListener.java:59)

    at oracle.adfinternal.controller.application.SavePointRestoreListener.afterPhase(SavePointRestoreListener.java:43)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:537)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:302)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:88)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    You would like to check why there at - it a NPE in these lines in your code.

    Caused by: java.lang.NullPointerException

    at com.dnr.welltests.utils.SavePointHelper.execute(SavePointHelper.java:39)

    to com.dnr.welltests.utils.SavePointHelper. (SavePointHelper.java:26)

  • save point restore activity except

    Hi all

    jdev version - 11.1.1.7

    I have created example for implicit savepoints. I am able to store points of database based on the connected user to backup.

    now when I try to get back them on under the scenarios that I get

    oracle.jbo.AlreadyLockedException: Houston-26030: unable to lock the file, another user owns the lock.

    I have 2 pages in stubborn tf. principal and hand update I select save point and click on restore to update the page and restore save point.

    Scenario 1) if I click the page 2 (updated) back button I go back to the home page and if I try to restore save point just this problem.

    Scenario 2) if I close the browser and connection and try to recover save point this problem occurs.

    But if log out me of the application and sign in again, then everything works fine.

    can anyone help on this?

    Thank you

    Hello

    Try this,

    1 change the mode of locking in the App to "Optimistic" fi module is not.

    2. your bean managed must implements Serializable.

    Thank you

    Gopi

  • Implicit ADF controller save points of the BTF vs transactions?

    Developers familiar with JDev 11 g features flow defined task ADF (BTF) know about the following options of the transaction for the working group called:

    (a) no transaction controller
    (b) always start new transaction
    (c) always use existing transaction
    (d) use the existing if possible transaction

    For the States of the option 'c' pg171 Oracle Fusion Developer Guide Frank Nimphius & Lynn Munsinger:
    >
    The stubborn workflow expects an existing transaction to be present. The workflow must not to commit or rollback of the transaction upon return to the flow of the appellant. Entering the flow of stubborn work creates implicit except the point that is used to roll back the transaction when return activity that leaves the workflow has the element of restore point - save the value. Uncommitted of the parent workflow data changes are visible in the bounded task called stream.
    >
    Note my emphasis on the implied except pointexpression. I can't find any confirmation of the implicit save point in the Guide of the merger, but the same concept is listed on Duncan Mill pg403 (et al.) Oracle JDeveloper 11g Handbook:
    >
    [A] rollback can be restored, or you can have the frame roll back of an implicit except the point that is created at the beginning of the workflow.
    >
    The reason for the implicit except point is understood, it gives a point in time restore of the transaction if the user to navigate through a return of restore activity.

    Regarding implicit save points, on pg137 of the same Oracle Fusion developer's Guide under the heading "Configuration explicit and implicit Save Points for Oracle Fusion Applications Web" and section 18.7.9 Fusion Guide under the heading "How to enable implicit Save Points" (http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#BACDHHAA), the two sections which save points retails only activated/used if inputs for < savepoint-datasource > and < enable implicit record > are made in the adf-config. XML file.

    Q1: for a BTF configured with "Always use the existing transaction", to create an implicit point save at the entrance to the BTF, should the implicit-economy-point function be activated?

    Q2: if she needs to be activated, but was not, when the working group called navigates a rollback activity back to where is the cancelled transaction?

    Appreciate your thoughts and responses.

    DMI

    Chris,

    the implicit save point taken when a workflow is only a transaction save point as if you could do this manually in Colombia - British ADF. The ADFc backup point is a bigger save point that describes the State current controller and view. This must be explicitly enabled. If you enable implicit except point on the controller, then an ADFc save point is taken when you exit a workflow you have marked as "critical". Savepoints explicit are ADFc savepoints and require you to allow the backup first points. They have a life expectancy of at least 24 hours, while the transaction savepoints are released with a commit and rollback of a transaction, which means that you can not keep it for a long time

    Frank

  • WiFi HP ENVY 4500 with several Access Points - same SSIS Configuration

    Hello

    We just got a HP ENVY 4500.  I have a main homenetwork with a wifi Modem/Router and an old router acting as an Access Point to the floor to extend coverage.

    Both have the same SSID and password and are set to different channels.

    My HP ENVY 4500 fails to connect when the Access Point is lit.

    It will connect with it.

    Once connected, I can turn on the PA and all is well.

    The two router an AP using WPA-PSK/WPA2-PSK encriptación

    The router (that it connects to) should have a better sgnal when both are on, so I do not understand why they need the AP to be turned off to connect.

    Any thoughts people?

    Eserim

    I think he has always had problems with several access points.  Try this, what ever AP is closest to the printer, set it to channel 1.  Then try channel 11.  Try now.

  • Vista crashes-cannot recover save point. a way to recover lost files and avoid crashing

    Vista crashes-cannot recover save point.  a way to recover lost files and avoid crashing.

    E-mail address is removed from the privacy *.

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1st in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Vista Media recovery obtaining and/or using the Vista recovery on your computer Partition to factory settings .

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    See you soon.

    Mick Murphy - Microsoft partner

  • parameter to the stubborn taskflow passage

    jdev 11.1.1.7

    I have 2 jspx

    second jspx delimited taskflow added as a region as:

    < af:region value = "#{bindings.OrgRegistrationTF1.regionModel} '"

    ID = "r1" / >

    the stubborn taskflow expects the parameter as

    < Input-definition-parameter id = "__31" >

    < name id = "__30" > OrgId < / name >

    < value > #{pageFlowScope.OrgId} < / value >

    java.lang.String < class > < / class >

    < / Input-parameter-definition >

    first jspx has field entry as:

    < af:inputText label = "Registration Id" id = "it1" value = "#{pageFlowScope.OrgId}" / >

    When the second jspx is called first jspx, with entry in the text box, I don't find the value passed on the second jspx.

    Please notify

    Missed me it:

    While calling the btf in jspx, the def file was missing the settings!

    taskFlowId="/WEB-INF/OrgRegistrationTF.xml#OrgRegistrationTF".

    Activation = "deferred."

    xmlns ="http://xmlns.oracle.com/adf/controller/binding" >. "

    This solved my problem.

    Thanks for the help, Timo

  • Should we use the same data source for the internal connection and Save Point?

    Hello

    Configuration of AM has an internal connection location db, adf - config.xml has also a Save Point db connection parameter, should we are all set to the same source database of the system or should create us a separate data source that is used only for the connection internal db AM of Save?

    jdev: 11.1.2.1

    Thank you very much!

    Hello

    its everything to you and you have security concerns if the backup point is registered with the business data.

    Frank

  • Stubborn Taskflow isn't region jspx page

    Hi, I created merely the workflow that contain jsff page with form of the ADF, when I tried to drag this stubborn taskflow as a region on the page jspx, that does not, instead of this it open a stubborn taskflow page in another tab.
    I use 11.1.2.3.0 version jdeveloper.

    Hello
    Set the jspx in Source view, and then try to drag the TF

  • Load several stubborn taskflows independently on a page

    Hello

    I use Jdev 11.1.1.7.

    I have 3-4 taskflows on my demand jspx page.

    • All taskflows have the property to update the value if necessary.
    • All taskflows have the same input parameter. (single input param)
    • All taskflows must be updated when I change the value in the LOV in the same page.
    • All taskflows have a fragment (one), all fragemnts have only a single table. (nothing else)
    • The data in these tables come from webservices.

    As I put update as 'ifNeeded', the taskflows are automatically get updated on change of value without [completely declarative] code

    The problem is: it runs the tasklows and load all the data in all taskflows in the end (after completing all Web service calls)

    What I need: what first taskflow finished their execution, which must be charged.

    The pointers on this would be useful.

    Thank you

    Alisson

    Read http://www.ateam-oracle.com/improving-adf-page-rendering-time/ and try to implement this strategy.

    Timo

  • Confused about how to programmatically navigate a stubborn taskflow

    Dear all,

    My use case:
    I have a taskflow which has a wilcard rule control flow that corresponds to the activities of the different point of view.
    I wanted to come back by programming in my stubborn workflow say for example through a value change event.

    Now I found Frank' article about navigation in delimited task flow from this link.
    http://blogs.Oracle.com/jdevotnharvest/entry/how-to_navigate_in_bounded_task_flowsc

    But I'm currently confused which calls this method?
    private void navigateByQueueAction() {
       FacesContext fctx = FacesContext.getCurrentInstance();
       UIViewRoot root = fctx.getViewRoot();
       //client Id of button includes naming container like id of region.
       RichCommandButton button =
               (RichCommandButton) root.findComponent("r1:cb3");
       ActionEvent actionEvent = new ActionEvent(button);
       actionEvent.queue();
    }
    I'm leaning towards using Option 2 and I've already put a button on my page template that is hidden.
    But I don't know what the next thing to do?

    Any tips? Thank you

    With the help of your sample (value change event): If you handle the event in a bean you simply call the navigateByQueueAction() method. The method queue an event for the button (as you click on the button) that behaves like you clicked on the page. If the action set for the button is executed and if you have set a navigation button on the navigation takes place.

    In the simple form of a button with a fix action (newEmp' in the sample)

    
              
    

    You can access the target "newEmp".
    If you need pass the target (for example, "editEmp") you need to a second button (and more if you need more targets) or use an EL as action that you define based on your target

              
              
    

    Here, you define the actual target in a bean or any other variabel that can be access through EL. If you handle the event of changing value in the xxyyzzBean, you can set the target of a navTarget variable of the string (do not forget to generate getter/setter for the variable).

    // in your value change event
    if( //condition to navigate to edit emp)
      setNavTarget("editEmp");
    else
    setNavTarget("newEmp");
    ...// do some other stuff
    // call navigation
    navigateByQueueAction();
    

    Timo

  • several data points Boolean indiacator

    I run a program (which I'm still trying to work the kinks log data on) where I need to take several different channels and give me a warning if the temperature exceeds a certain limit. I'm 7 channels linking fieldpoint in a picture and sending it to a curve of waveform. I want each of these signals during playback to trigger a Boolean indiactor (LED) if the ambient temperature is more than 83. Ideally the temperature will be much higher later so I'll use it for fire tests (e.g. 1600) and it is very important that I get this down before we use the .vi in the fires of the test.

    For some reason, when I write to spread sheet file, I get 1 column of the last data point are met. There is also no time stamp on the left most column. I need to ensure that data are collected on every second and is stored in this file.

    I was also wondering if anyone knew how to change the names to write to destination of the spreadsheet (the gall that you create) file once instead of put the path in there. Finally, we will run several tests and we do not want to replace all the tests by accident. Please if someone could help with anything that would be great. Thank you!

    Tanya

    PS works with version 8.6

    Well, we can discuss one thing at a time. First of all, it is a way, you could do the evaluation of Boolean values.

    I think that I would split the data collection and processing of data in two loops. Have a loop that takes just the data and another that processes the data. This will also allow a state machine architecture. That would leave you do checks if a file exists before you leave and a few other things.

  • Trying to keep the search criteria in the session and stubborn taskflow outdoors

    I have a page within a delimited taskflow on which the user can search. I use ViewCriteria and af:query.
    I can get the taskflow anytime, but when I return to my search criteria are still empty. I don't want to. I tried the following:

    a custom queryListener that calls saveState() so that we remember the search criteria (I also put a boolean session to remember whether there were non-empty search criteria):
    <af:query id="qryId1" disclosed="true" 
                              model="#{bindings.StandaardFilterQuery.queryModel}"
                              value="#{bindings.StandaardFilterQuery.queryDescriptor}"
                              queryListener="#{reinigingsRechtBean.onQuery}"
                              queryOperationListener="#{reinigingsRechtBean.processQueryOperation}"
                              displayMode="compact" headerText="blaaa" 
                              resultComponentId="::t1"
                              visible="#{reinigingsRechtBean.showFilter}" 
                              saveQueryMode="hidden" styleClass="querypanel"
                              maxColumns="1">
    public void onQuery(QueryEvent queryEvent) {
            // zet het filter standaard op nonactief
            filterActief = false;
    
            QueryDescriptor queryDescriptor = queryEvent.getDescriptor();
            DCBindingContainer bc = FacesUtils.getBindings();
            Object execBinding = bc.findExecutableBinding("StandaardFilterQuery");
            ViewCriteria vc =
                JUSearchBindingCustomizer.getViewCriteria((DCBindingContainer)execBinding,
                                                          queryDescriptor.getName());
            Variable[] variables = vc.getVariableManager().getDeclaredVariables();
    
            //         loop door de variabelen en kijk of er 1 een waarde heeft.
            //         zoja dan markeren we het filter als actief.
            //         kunnen we dat aan de gebruiker melden
            for (Variable o : variables) {
                System.out.println(o.getColumnName());
                System.out.println(vc.getVariableManager().getVariableValue(o));
                if (vc.getVariableManager().getVariableValue(o) != null) {
                    filterActief = true;
                }
            }
            // raarheid, deze methode wist de waardes die we hierboven uitlezen.
            // dus niet boven de loop zetten want daar zie je ze dan niet meer
            vc.saveState();
    
            
            // voer nog wel de query uit, anders krijg je geen gegevens :)
            FacesUtils.invokeMethodExpression("#{bindings.StandaardFilterQuery.processQuery}",
                                              Object.class, QueryEvent.class,
                                              queryEvent);
    
        }
    That part works. I leave the taskflow and enter again and see my values. Yay! This feature breaks the "reset" button but reset() goes into its last saved state. I want to "reset" to clear the values and research. So I created this:
        public void processQueryOperation(QueryOperationEvent event) {
            if (event.getOperation().equals(event.getOperation().RESET)) {
                QueryDescriptor queryDescriptor = event.getDescriptor();
                DCBindingContainer bc = FacesUtils.getBindings();
                Object execBinding =
                    bc.findExecutableBinding("StandaardFilterQuery");
                    ViewCriteria vc =
                        JUSearchBindingCustomizer.getViewCriteria((DCBindingContainer)execBinding,
                                                                  queryDescriptor.getName());
                    Variable[] variables =
                        vc.getVariableManager().getDeclaredVariables();
                    for (Variable o : variables) {
                        vc.getVariableManager().setVariableValue(o, null);
                    }
                    
                    //JUSearchBindingCustomizer.applyNamedCriteria(bc, queryDescriptor.getName());
                    // saveState() hoeven we volgens mij niet uit te voeren want de onQuery zal ook afgaan en die doet een saveState()
                    vc.saveState(); // toch maar wel
                    FacesUtils.getRRAppModuleImpl().getMoeReinigingsRechtRO().applyViewCriteria(vc);
            }
        }
    When I press reset, I catch the ViewCriteria, empty values, save the State and even to apply the Victoria Cross to the viewObject. However, the af: query indicates the criteria I entered before AND the search is made to these criteria.
    When I loop through the values of ViewCriteria they all void in the onQuery that is executed immediately after processQueryOperation(), but still it is ignored.

    What I am doing wrong?
    (Jdeveloper 11.1.1.3)

    Wendy,

    Here's one that is generic

        public void onQueryOperation(QueryOperationEvent queryOperationEvent) {
    
            if (queryOperationEvent.getOperation().equals(queryOperationEvent.getOperation().RESET)) {
                QueryDescriptor queryDescriptor =
                    queryOperationEvent.getDescriptor();
                DCBindingContainer bc =
                    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
                Object execBinding =
                    bc.findExecutableBinding("queryEmployeesByDepartmentOrJobIdQuery");
                ViewCriteria vc =
                    JUSearchBindingCustomizer.getViewCriteria((DCBindingContainer)execBinding,
                                                               queryDescriptor.getName());
                Row rw = vc.getCurrentRow();
                String[] attrNames = rw.getAttributeNames();
    
                for (String name : attrNames) {
                    if(rw.getAttribute(name)!=null){
                        rw.setAttribute(name, null);
                    }
                }
    
                vc.saveState();
            }
    
            //--------------------------------------
            FacesContext fctx = FacesContext.getCurrentInstance();
            ELContext elctx = fctx.getELContext();
            ExpressionFactory exprFactory =
                fctx.getApplication().getExpressionFactory();
    
            MethodExpression me =
                exprFactory.createMethodExpression(elctx, "#{bindings.queryEmployeesByDepartmentOrJobIdQuery.processQueryOperation}",
                                                   Object.class,
                                                   new Class[] { QueryOperationEvent.class });
            me.invoke(elctx, new Object[] { queryOperationEvent });
        }
    }
    

    Frank

  • Creation of several end points

    As a user of Captivate for quite long, I am really puzzled thread on something that is probably easy. Normally, I create linear kinds of sims in Captivate and use other tools when I need branching. However, with my purchase of 2 CAP, I couldn't wait to use it for my needs of ramifications. However, I can't understand how to create a slide that is not related to the rest of the project in a linear way.

    In the demo for connection included with A2, it shows several paths that a correct from incorrect action can take. It also shows the specific paths that leave the main "timeline" to a single slide that becomes at the end of this path. However, I can't understand how "unlink" a landslide from the rest of the timeline so that the movie stops right there. (Of course, I can do so by simply have no action on this slide, but to do that does not create the same type of Visual demo shows)

    In case this was not clear enough, here is more than an example. In slide 1, if I had two areas of click, I would want the A of click to take them on channel A, which has three other slides and then ends. I would like to click on B to move in the direction of B, which has only five slides more then ends. When I got to the top of the cylinder head, I can't understand how making the separate paths A and B. They are all still connected visually (and linear) and do not separate in the 'lines' that I see on the demo included with A2.

    Can someone point me in the right direction? Thank you very much!

    Through experimentation, I found my own solution. It seems that you can create a 'distinct' line in the Visual display of branch by the link in the slide to less than 2 slides with either a success or failure, or a back button.

    Once you do this, you now have a visually distinct 'line' that you can add slides to no impact on the rest of the "mainline".

    Yet once, do not do to actually create branching, only if you want to visually SEE the separate lines in the branching vierw as opposed to a long "line".

  • Several webgates pointing to the entrance of an access door in OAM

    Can we install webgates on several boxes and are pointing to the same OAM access door entry.
    Are there problems with this kind of Setup?
    No position taken?

    You can have different policies if you have different resources such as / Application1 and / Application2 like you mentioned.

    Yours is perfect scenario where an accessgate entry can be used for installations multiple webgate :)

    Hope this helps,
    Sagar

Maybe you are looking for

  • Satellite L30-10 X - CPU Upgrade

    Hello I have rather old laptop L30-10 X Satellite and I recently got Intel CPU T5300 and I wanted to replace Original Celeron M440 for newer processor. I read a lot (even on this forum) that people were able to make these changes (and event to the to

  • F750 Toshiba Qosmio requests have stopped working all of a sudden

    Hello can someone help me?Applications of my Toshiba Qosmio F750 toshiba stopped working. Including Toshiba bulletin board, blu - ray, toshiba reeltime player tohsiba, etc... I don't know why and when it doesn't work anymore... Please someone help me

  • 8670M AMD Radeon HD drivers needed

    Hello. I installed WIndows 7 x 64 on HP Pavilion e002sc 17. As it is ready for Windows 8 x 64, I had problems to get drivers, but now have all but one. AMD Radeon HD M 8670 graphics card. I couldn't find other drivers for Windows x 64 8. Vendor ID: P

  • PersistentObject and problem SendListener

    I recorded a SendListener in order to intercept outgoing e-mail. When my manager is called I want to access my application stored in PersistentObject settings to determine what I should do in my manager of sendMessage. The problem is that I can't acc

  • a blank sheet of paper

    Where can I find a blank sheet of paper for writing on?