Page flow scope questions

Hi guys,
I'm continuing my investigation of ADF Faces 11 and have a few questions about pageFlowScope:
1. When are objects removed from pageFlowScope, aside from a session ending? Do they need to be removed manually or are they removed when they are no longer accessed, such as in Orchestra's conversation.access scope?
2. Managed beans cannot be declared to be of this scope in the core release. Does anybody know of an extension that provides a Spring custom scope based on pageFlowScope, similar to what Orchestra's offering?
Thanks all!

Hi,
+1. When are objects removed from pageFlowScope, aside from a session ending? Do they need to be removed manually or are they removed when they are no longer accessed, such as in Orchestra's conversation.access scope?+
If you open a dialog within the external dialog framework then this creates a new pageFlowScope. This is cleaned up for you when you exit it. Beside of this the pageFlowScope of the base flow is cleaned up when the session ends.
+2. Managed beans cannot be declared to be of this scope in the core release. Does anybody know of an extension that provides a Spring custom scope based on pageFlowScope, similar to what Orchestra's offering?+
The managed bean scope is handled by the JSF RI navigation handler, which you use if not using ADFc. This means that unless you build your own decorator for it there are no additional scopes to put managed beans into. Maybe posting the same question to the Trinidad mailing list on Apache gives you some more inside
Frank

Similar Messages

  • How to set value in Request ,page Flow Scope in AmImpl Class

    i was able to get and set the value in any scope using following line of code
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("serviceId",allRowsInRange.getAttribute("ServiceId"));
    but i do not why it is not working right now .it's throwing following exception
    java.lang.NoClassDefFoundError: oracle/adf/view/rich/context/AdfFacesContext
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         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)
    Caused by: java.lang.ClassNotFoundException: oracle.adf.view.rich.context.AdfFacesContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         ... 90 more
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: oracle.adf.view.rich.context.AdfFacesContext
    java.lang.ClassNotFoundException: oracle.adf.view.rich.context.AdfFacesContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         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)
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: oracle/adf/view/rich/context/AdfFacesContext
    java.lang.NoClassDefFoundError: oracle/adf/view/rich/context/AdfFacesContext
    Please let me know how to access and set any variable in Scope in AMImpl Class

    you should nto use this way to set the value in pageflowscope in AM. that is in model layer..
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("serviceId",allRowsInRange.getAttribute("ServiceId"));AdfFacesContext class is part of JSF library.. and the model propject will not have it..
    to set it in scope.. and use it in the View layer you have to set it like
    getDBTransaction().getSession().getUserData().put(serviceId, allRowsInRange.getAttribute("ServiceId"));in the view layer you can get the same from the maanged bean by
          DCIteratorBinding dciter;
          BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
          dciter = (DCIteratorBinding) bindings.get("lineItemIterator");
          dciter.getDataControl().getApplicationModule().getSession().getUserData().get("ServiceId");

  • ADFC-12003 : The page flow scope tack is empty

    Hello,
    I'm trying to deploy an ADF application (ADF faces + BC) on a JBoss server (5.1.0). Everything is going quite well for now, but I can see in the server log this exception several times :
    2011-03-22 17:45:33,625 SEVERE [oracle.adfinternal.controller.state.PageFlowStackEntry] (ajp-0.0.0.0-8009-2)
    oracle.adf.controller.internal.AdfcIllegalStateException: oracle.adf.controller.ControllerException: ADFC-12003: La pile de portée du flux de pages est vide.
         at oracle.adfinternal.controller.state.PageFlowStackEntry.getPageFlowScope(PageFlowStackEntry.java:271)
         at oracle.adfinternal.controller.state.ViewPortContextImpl.getPageFlowScopeMap(ViewPortContextImpl.java:737)
         at oracle.adfinternal.controller.application.AdfcPageFlowScopeProvider.getPageFlowScope(AdfcPageFlowScopeProvider.java:80)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.getPageFlowScope(RequestContextImpl.java:125)
         at org.apache.myfaces.trinidadinternal.context.DialogServiceImpl.pinPriorState(DialogServiceImpl.java:321)
         at oracle.adfinternal.view.faces.renderkit.rich.RichRenderKit$CreateARC.encodeBegin(RichRenderKit.java:415)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:183)
         at com.traxxeo.buildixx.view.handler.BuildixxViewHandler.renderView(BuildixxViewHandler.java:65)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         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 oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.traxxeo.buildixx.view.filter.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:37)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.traxxeo.buildixx.view.filter.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:58)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.traxxeo.buildixx.view.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:97)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
         at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
         at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    Caused by: oracle.adf.controller.ControllerException: ADFC-12003: La pile de portée du flux de pages est vide.
         at oracle.adf.controller.internal.AdfcIllegalStateException.<init>(AdfcIllegalStateException.java:25)
         ... 56 more
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2) java.lang.NullPointerException
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:324)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:398)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at com.traxxeo.buildixx.view.filter.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:37)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,625 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at com.traxxeo.buildixx.view.filter.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:58)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at com.traxxeo.buildixx.view.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:97)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    2011-03-22 17:45:33,640 ERROR [STDERR] (ajp-0.0.0.0-8009-2)      at java.lang.Thread.run(Unknown Source)This doesn't seem to cause major trouble in my application but I would like to know where such issue could came from...
    Remark : I don't use taskflows in this application
    Thanks for your help,
    Stephane

    I'd really like to see the answer to this as well. Oracle documentation simply states that the program couldn't find the taskflow and to "contact the administrator"... I AM the administrator and have no clue where to go from here. My system is based on ADF 11.1.1.3 running on WLS 10.3 w/ JRockit. It does have some taskflows but, they are used for regions and consist of a single jsff each. FYI, this is in production, so, it's kind of a big deal when the user sees something like this.

  • Can I reference page-flow bean from a bounded-task-flow page-fragment?

    I have a view activity implemented as page fragment in my bounded task flow.
    I declare a page-flow scope managed-bean in adfc-config.xml to do some initialization for the bounded-task-flow:
    <managed-bean id="__23">
    <managed-bean-name id="__22">TaskFlowBean</managed-bean-name>
    <managed-bean-class id="__21">view.backing.TaskFlowBackingBean</managed-bean-class>
    <managed-bean-scope id="__20">pageFlow</managed-bean-scope>
    </managed-bean>
    In my bounded task flow, the default activity is a method-call activity which call the page-flow bean method
    <method-call id="initFlow">
    <method>#{pageFlowScope.TaskFlowBean.initFlow}</method>
    <outcome id="__27">
    <fixed-outcome>showPanel</fixed-outcome>
    </outcome>
    </method-call>
    But JDeveloper (11.1.1.2) show a warning "Refereneed pageFlowScope not found" at the "Diagram" view of the flow definition.
    The fixed outcome of the default activity is to render a page-fragment which also reference the page-flow scope bean method getPanelTitle():
    <af:panelBox text="#{pageFlowScope.TaskFlowBean.panelTitle}" id="pb1">
    <f:facet name="toolbar"/>
    </af:panelBox>
    At runtime, the page fragment was rendered properly except the panel box title is missing. No other error is reported
    When I debugged the application, the bean methods initFlow() and getPanelTitle() didn't get call as the program didn't stop at the breakpoint set in the bean methods.
    The page fragment was rendered properly except the panel box title is missing.
    When I change the scope to backing bean, both initFlow() and getPanelTitle() get called but under a different backing bean.
    As the bean attributes set by initFlow() were not no longer set when getPanelTitle() was invoked even though the methods were invoked in the correct order.
    Why can't I use a page-flow scope bean within the bounded task flow?
    On further debugging, I noticed the bean was not created when it is set to be page-flow scope. I put a debug message in the constructor... never get called.
    When should a page-flow scope bean be created to be accessible on entry to a bounded task flow?
    Edited by: Pricilla on Apr 29, 2010 3:16 PM

    Please check the scope of the pageFlow from the manual.
    pageFlowScope is only available for the pages/views in that taskflow and not in the included taskflows.

  • I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

  • Page Flow Question

    I have 2 page flows in my application :PageFlow1 and PageFlow2
    PageFlow 1 has a method jumpToPageFlow2() that calls begin method of PageFlow2
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="/PageFlow2.jpf"
    protected Forward jumpToPageFlow2()
    return new Forward( "success" );
    The index page of PageFlow 2 gets executed successfully. If I do refresh on the
    index page of PageFlow2, it throws me PageFlow error - Action Not Found and expects
    method jumpToPageFlow2() to be in PageFlow2.
    This is strange.
    Is there any work around solution
    Thanks

    Hi
    You can access pageflow variable from any JSP page that is part of that page flow. Is the jsp part of the pageflow?
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conDatabindingXScript.html
    Vimala-

  • Re: Page Flow Question

    John,
    We are looking into this and will get back to you.
    Regards,
    Anurag
    "John Hundley" <[email protected]> wrote in message
    news:3f184486$[email protected]..
    >
    Hi,
    I have developed a Page Flow application that has more than one entrypoint into
    a given set of pages that perform updates to a database. Depending onwhere the
    user entered the pages from I want to return to that page once the personhas
    completed making the updates. I have been toying with the return to pagebut
    that only works to go to the previous page and no further. I was thinkingI could
    set a variable in the globalApp class that would point to the initialentry page
    but I would have to do that in the .jsp and I haven't quite figured outhow to
    access globalApp from a .jsp. Is this the best approach or are therebetter ways
    of doing what I am trying to do? Has anyone done this sort of thing andhave an
    example?
    Thanks,
    John

    Thanks suggestion from Eddie and Gregory! Actually Eddie's suggestion by putting
    everything in a single line did work, however I encountered a even weirder problem:
    I am using a plugin called Chime Pro from MDL, by putting everything in a single
    line, the plugin is able to render picture on the test brower on server machine,
    however, the picture still won't be rendered on the client browser (on another
    PC with plugin installed), the weirdest thing is that when I start the TCPtrace
    utility:http://www.pocketsoap.com/tcptrace/, the plugin start to work.
    I initially think it may due to the port problem, I switched the server port to
    the common 8080, it still won't work.
    Does anyone in this group use Chime Pro plugin? Any suggestion is appreciated.
    Thanks
    Zhenhao
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    Try putting everything on a single line; it looks like the \n's at the
    end of the taglib definitions are putting returns in the output page.
    Eddie
    Zhenhao Qi wrote:
    Hi Eddie,
    Thanks for the hint, by using <netui:content/> tag, I did get rid ofthe HTML
    <span> ...</span> wrap. However, I still got several empty lines beforemy output
    (please see the attached returned-format.txt and the format_wanted.txtand the
    screen shot ), this causes my plugin refuse to render the picture.I think those
    empty line is due to my code below, somehow the WLS output newlineif I have code
    on that line "
    <%@ page contentType="chemical/x-mdl-molfile"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib prefix="netui" uri="netui-tags-html.tld"%>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:content value="{pageContext.jpfMol}" >
    </netui:content>
    I think we are getting close to solve the problem, but this maybe adifficult
    one due to workshop's own setting.
    Thanks!
    zq
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    Try using the <netui:content/> tag; this simply writes the text to
    the output stream and does not wrap it in an HTML <span>...</span>
    as
    the <netui:label/> tag does.
    Let me know if that helps...
    Eddie
    Zhenhao Qi wrote:
    Hi,
    Looks like my workshop debugger is behaving better this afternoon.My apology
    for the previous message, the "call PageFlow" did return the stringI expected,
    However, the format is little off from what I expected, please seethe attached
    return format and the format I wanted.
    I have the following jsp code:
    <%@ page contentType="chemical/x-mdl-molfile"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib prefix="netui" uri="netui-tags-html.tld"%>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:label value="{pageContext.jpfMol}" >
    </netui:label>
    Is there any way inside workshop that I maybe able to tweak code alittle to make
    the format suit my need, this is critical for my plugin to recognizethe format
    to reder some picture.
    Thanks!
    Zq
    "Zhenhao Qi" <[email protected]> wrote:
    Hi Eddie,
    Thanks a lot for the info.! the "{url.Sample_code}" did solve my
    dynamic
    data
    binding problem, however it looks like it did not return any thingwhen
    I use
    the following code:
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:label value="{pageContext.jpfMol}" >
    </netui:label>
    The method "GetMolbyscode" in the .jpf as following:
    public String GetMolbyscode(String S_code)
    try {
    java.sql.Clob molfile = structuredb.getmolbyscode(S_code);
    int len = (int)molfile.length();
    String molfil = molfile.getSubString(1, len);
    return molfil;
    catch (SQLException e) {
    System.err.print("Caught Exception : ") ;
    e.printStackTrace() ;
    return null;
    I did use "toggle breakpoint" to step through the excution of "GetMolbyscode",
    I got the expected "molfil". I need to particularly mention that
    the
    returned
    string "molfil" contains several "\n" inside it, I am wondering this
    may cause
    the problem.
    By the way, the "toggle breakpoint" debugging function sometimesdid
    not work,
    I am wondering why.
    Thanks!
    Zq
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    The NetUI tags use data binding expressions to access data. Oneof
    the ways you could do this is to use the "url" binding context,
    which
    provides access to the first parameter that shows up on the URLfor
    each
    parameter key; this is equivalent to your getParameter(...) call.
    Replace your methodParameter with this:
    <netui-data:methodParameter value="{url.Sample_code}"/>
    Hope that helps...
    Eddie
    Zhenhao Qi wrote:
    Hi All,
    I am new to this newsgroup. I am using workshop 8.1 and try to
    call
    dynamically
    the PageFolow method, but it won't work, is there alternatives?
    I have the follwing codes:
    <%
    String S_code = request.getParameter("Sample_code");
    %>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfmol">
    <netui-data:methodParameter value="<%=S_code%>"/>
    </netui-data:callPageFlow>
    However, it give me the error: this attribute does not supportrequest
    time value.
    Thanks!
    zq
    ISISHOST03270216272D 1 1.00000 0.00000 26670
    41 44 0 0 0 999 V2000
    2.7381 -3.0319 0.0000 C 0 0 0 0 0 0 0 00
    3.5627 -3.0960 0.0000 C 0 0 0 0 0 0 0 00
    4.0298 -2.4093 0.0000 C 0 0 0 0 0 0 0 00
    3.6710 -1.6674 0.0000 C 0 0 0 0 0 0 0 00
    2.3818 -2.2873 0.0000 C 0 0 0 0 0 0 0 00
    2.8488 -1.6080 0.0000 C 0 0 0 0 0 0 0 00
    2.3471 -0.9539 0.0000 N 0 0 3 0 0 0 0 00
    1.5699 -1.2290 0.0000 C 0 0 0 0 0 0 0 00
    1.5915 -2.0530 0.0000 C 0 0 0 0 0 0 0 00
    0.8901 -0.7616 0.0000 C 0 0 0 0 0 0 0 00
    0.9549 0.0608 0.0000 O 0 0 0 0 0 0 0 00
    0.1454 -1.1167 0.0000 N 0 0 0 0 0 0 0 00
    -0.5344 -0.6494 0.0000 C 0 0 0 0 0 0 0 00
    -0.4678 0.1701 0.0000 C 0 0 0 0 0 0 0 00
    -1.1469 0.6373 0.0000 C 0 0 0 0 0 0 0 00
    -1.8925 0.2822 0.0000 C 0 0 0 0 0 0 0 00
    -1.9550 -0.5447 0.0000 C 0 0 0 0 0 0 0 00
    -1.2751 -1.0082 0.0000 C 0 0 0 0 0 0 0 00
    -1.0817 1.4597 0.0000 C 0 0 3 0 0 0 0 00
    -0.3368 1.8145 0.0000 C 0 0 0 0 0 0 0 00
    -1.7613 1.9274 0.0000 C 0 0 0 0 0 0 0 00
    -0.3041 1.1839 0.0000 C 0 0 0 0 0 0 0 00
    -1.3358 -1.8310 0.0000 O 0 0 0 0 0 0 0 00
    -2.0787 -2.1898 0.0000 C 0 0 0 0 0 0 0 00
    -2.6984 -0.9024 0.0000 N 0 0 0 0 0 0 0 00
    -3.3799 -0.4375 0.0000 S 0 0 3 0 0 0 0 00
    -4.1233 -0.7952 0.0000 C 0 0 0 0 0 0 0 00
    -2.7549 0.1042 0.0000 O 0 0 0 0 0 0 0 00
    -3.7404 0.3098 0.0000 O 0 0 0 0 0 0 0 00
    4.1342 -0.9847 0.0000 N 0 0 0 0 0 0 0 00
    4.9571 -1.0445 0.0000 C 0 0 0 0 0 0 0 00
    5.4203 -0.3619 0.0000 C 0 0 0 0 0 0 0 00
    5.3167 -1.7870 0.0000 O 0 0 0 0 0 0 0 00
    6.2476 -0.4235 0.0000 C 0 0 0 0 0 0 0 00
    6.7107 0.2583 0.0000 C 0 0 0 0 0 0 0 00
    6.3511 1.0018 0.0000 C 0 0 0 0 0 0 0 00
    5.5239 1.0593 0.0000 N 0 0 0 0 0 0 0 00
    5.0645 0.3766 0.0000 C 0 0 0 0 0 0 0 00
    6.8135 1.6851 0.0000 N 0 0 0 0 0 0 0 00
    7.6364 1.6264 0.0000 C 0 0 0 0 0 0 0 00
    2.5816 -0.1629 0.0000 C 0 0 0 0 0 0 0 00
    9 5 1 0 0 0
    19 20 1 0 0 0
    4 6 1 0 0 0
    19 21 1 0 0 0
    8 10 1 0 0 0
    19 22 1 0 0 0
    5 6 2 0 0 0
    18 23 1 0 0 0
    10 11 2 0 0 0
    23 24 1 0 0 0
    1 2 2 0 0 0
    17 25 1 0 0 0
    10 12 1 0 0 0
    25 26 1 0 0 0
    5 1 1 0 0 0
    26 27 1 0 0 0
    12 13 1 0 0 0
    26 28 2 0 0 0
    2 3 1 0 0 0
    26 29 2 0 0 0
    13 14 2 0 0 0
    4 30 1 0 0 0
    30 31 1 0 0 0
    14 15 1 0 0 0
    31 32 1 0 0 0
    3 4 2 0 0 0
    31 33 2 0 0 0
    15 16 2 0 0 0
    32 34 2 0 0 0
    6 7 1 0 0 0
    34 35 1 0 0 0
    16 17 1 0 0 0
    35 36 2 0 0 0
    7 8 1 0 0 0
    36 37 1 0 0 0
    17 18 2 0 0 0
    37 38 2 0 0 0
    38 32 1 0 0 0
    18 13 1 0 0 0
    36 39 1 0 0 0
    8 9 2 0 0 0
    39 40 1 0 0 0
    15 19 1 0 0 0
    7 41 1 0 0 0
    M END
    </span>------------------------------------------------------------------------

  • JSR-168 vs Page Flow question

    Hi,
    I i use JSR-168 to do my Portlets instead of page flow, which functionnality/features
    will i loose ?
    Thanks

    Two main features
    * Managing flow: WLW can help manage flow for pageflows, but with JSR168
    portlets, you need to create the flow programmatically.
    * Databinding: Pageflows support advanced databinding features, and
    these features are not part of the spec defining JSR168 portlets.
    Subbu
    Carl Samson said the following on 12/08/2003 07:12 AM:
    Hi,
    I i use JSR-168 to do my Portlets instead of page flow, which functionnality/features
    will i loose ?
    Thanks

  • How to change the "Page Flow Error - Unsatisfied Role Restriction" page

    When you try to access a page and are denied authorization to it, Weblogic automatically redirects you to a
    "Page Flow Error - Unsatisfied Role Restriction" page, on the bottom of which tells you what roles you have to be in in order to access the resource. My question is how can I change this page to match the general look and feel of my application?

    I know you asked this almost a month ago, so you may have already figured it out... but you just need to add a handler for com.bea.wlw.netui.pageflow.UnfulfilledRolesException. Something like this:
    @jpf:catch type="com.bea.wlw.netui.pageflow.UnfulfilledRolesException" path="roles-error.jsp"
    You can put it at the class level of a specific page flow, or at the class level of WEB-INF/src/Global.app, which will apply it to all page flows.
    Hope this helps.
    Rich

  • Page Flow and Java Control interaction

    Hi everybody !
    Even after to read some documents like
    http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
    and
    http://dev2dev.bea.com/pub/a/2004/01/jones.html
    i still didn't get what is really happening "behind the scenes" between Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone could send to me more detailed documentation or explanation about this subject.
    How can a Java Control to stand behind a Stateless Session Bean (GenericStatelessSLSB) and still to keep its internal state (instance variables) consistent ? How can a statefull Java Control to remain statefull being accessed by a stateless component (the EJB) ? Or is the source code of a Java Control (the JCS file) kept by the Page Flow and sent to EJB for its execution ?
    Thanks in advance.

    Hi Daniel
    I have attached a doc I created that explains what happens behind the scenes
    when a pageflow call a JCS va a JWS calling a JCS.
    Can you please go through the document and let me know any questions you may
    have?
    Thanks
    Vimala
    <Daniel Lima> wrote in message news:[email protected]..
    Hi everybody !
    Even after to read some documents like
    http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
    and
    http://dev2dev.bea.com/pub/a/2004/01/jones.html
    i still didn't get what is really happening "behind the scenes" between
    Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone
    could send to me more detailed documentation or explanation about this
    subject.
    How can a Java Control to stand behind a Stateless Session Bean
    (GenericStatelessSLSB) and still to keep its internal state (instance
    variables) consistent ? How can a statefull Java Control to remain
    statefull being accessed by a stateless component (the EJB) ? Or is the
    source code of a Java Control (the JCS file) kept by the Page Flow and
    sent to EJB for its execution ?
    Thanks in advance.

  • UIX/XML BC4J - Controlling page flow in event handlers

    We have an event handler that executes some data processing using bc4j tags, and need to redirect the flow to another page, based on the value of some parameters. For example, we have a checkbox Prepare for another insert, and we want to check for its state in the event handler to determine which page to display.
    We tried the following code
    UIX page event handler:
    <event name="saveEvent" >
         <bc4j:findRootAppModule name="TipoPunteggioViewAppModule" >
              <bc4j:findViewObject name="TipoPunteggioView" >
                   <bc4j:findRow name="CreateTipoPunteggioView" >
                        <bc4j:setPageProperty name="keyTipoPunteggio" >
                             <bc4j:stringKey />
                        </bc4j:setPageProperty>
                        <bc4j:setAttribute name="FlgObsoleto" />
                        <bc4j:setAttribute name="Firma" />
                        <bc4j:setAttribute name="TitTipoPunteggio" />
                        <bc4j:insertRow/>
                        <bc4j:commit/>
                        <bc4j:executeQuery/>
                        <ctrl:method class="com.websiteitalia.valutazioni.handlers.Handlers"
                             method="anotherInsertEventHandler" />
                   </bc4j:findRow>
              </bc4j:findViewObject>
         </bc4j:findRootAppModule>
    </event>
    Java method event handler:
    public static EventResult anotherInsertEventHandler(BajaContext bCtx,
                                       Page page,
                                       PageEvent event) {
         // AnotherInsert is the name of the checkbox on the page
    if ("on".equals(event.getParameter("AnotherInsert"))) {
              return new EventResult(page);
         } else {
              return new EventResult(new Page("ListPage"));
    When we return the same page, things work fine, but when we return another page we get an ArrayIndexOutOfBoundException. We have also noticed that if we return a simple page, without data scopes and bc4j tags, we get the correct result. We are probably wrong in the manner we do the redirect inside of a java event handler, because seems that the page we return is not completely processed.
    Can anyone explain the available techniques to control the page flow, using UIX XML tags or Java APIs alone or both of these together? For example, how can be replicated the <ctrl:go> behavior using Java APIs?

    The UIX page works correctly if loaded directly, the error takes place only when we redirect in this manner from a page that has a different application module / view object scopes. In fact, when we redirect to a page that have the same scopes of the first (or when the second page has not scopes at all the simple page) the error doesnt occur. Thats why we suppose that some step of the page rendering process arent executed correctly, it seems that the new page still finds some of the old page (the scopes)..
    To redirect to a page from a java event handler we have returned an event result with the next page (see above post for a code snippet), is this the correct way? Can we simulate the ctrl:go tag from the java code (with the redirect=true option)? There are any other?

  • Warn About Changes and page flow

    Hi, in dev guide, it is said:
    For any single page, or first page in a navigation flow where the retainAM URL parameter value is set to Y (and the pages share the same root UI application module) as you navigate between each page, set the Warn About Changes property to True on the pageLayout region.
    in other word, if pages in page flow are in the same AM, after changing am in the first page, anytime leave the following page to click the home link(oracle branding), the WarnAboutChanges msg should be alerted?
    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    And how to implement the page flow warnAboutChanges?
    And how root application module to set if different pages in different AMs?
    PreThanks to you very much!

    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    I asked u previously also read dev guide properly, here it what dev guide say:
    "By default, the Warn About Changes property is set to True for each of the items in this list except for the
    OASubmitButtonBean whose default value is False (a ccording to the UI guidelines, the "Warn About
    Changes" check should be performed for all submit button instances except for Cancel, Apply and Submit
    buttons). If you want to explicitly enable the check for a submit button, set this property to True. Note that can
    also set it programmatically by calling OASubmitButtonBean.setWarnAboutChanges(pageContext,
    Boolean.TRUE) in processRequest()."
    I hope this answers ur question.
    And how to implement the page flow warnAboutChanges?
    Read "Save Model ('Warn About Changes')" in dev guide :).And how root application module to set if different pages in different AMs?
    You can nest differnt AMs in on AM in AM wizard.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is there a way to RECREATE the Page Flow Overview in BEA Workshop 4WL?

    BEA Workshop foe weblogic makes JSP development a lot simpler, and the auto generated Page Flow Overview is a nice feature - as long as your page flows are relatively small and simple. It doesn't take much to completlly confuse the tool though and you end up with a workflow with all sorts of flow lines cris-crossing each other - often I which I could just reach in and move a single jsp or action item and the whole mess would straighten out.
    Is there a way to reposition individual elements of the Page Flow Overview or failing that to have it Recreate itself (in hopes that it will straighten out the mess itself).
    Also is there a way to manually edit the flow - adding notes and/or objects and flow lines?

    There is no explicit "refresh" button for the Page Flow Overview (PFO), however clicking the "Show Link Labels" button on the toolbar will cause the graph to be redrawn.
    That said, in my experience replotting the graph nearly always arrives at the same layout. While the layout algorithm does a pretty good job with large graphs generally, some very highly connected graphs can be pretty tough to read right off the bat.
    For various reasons we've moved away from having users manually tweak the layout to deal with this situation. However, we added some highlighting functionality to help make graphs easier to read even if the layout appears tangled.
    If you click the Graph Tracing button on the PFO toolbar you can select a given node and see all directly connected nodes highlighted. If some of the directly connected nodes are far away on the canvas, park the PFO next to the Page Flow Editor view and you'll be able to see a more regular arrangement of the same nodes.
    When you're more interested in following a specific path than seeing the whole immediate neighborhood, you can hit the slash key repeatedly to cycle through highlighting all the links connected to the selected node.
    Finally, you can ctrl-click to multi-select links of interest if you want to trace a given path all the way through the flow. If you were doing this for documentation purposes you can print the graph in this state, or click the Export to Image button, to make a copy of the highlighted path.
    WRT your other question about editing the flow - the Page Flow Editor is intended to complement the PFO as a means of efficiently editing the flow. Select a node in the PFO and you be able to add/modify connections to that node viat the Page Flow Editor.
    There is no provision to add notes or other objects to the flow (though the exported image files can of course be annotated in a graphics editor for documentation purposes).
    I hope that helps.

  • Page flow inheritance in Workshop 10 application structure?

    This question will probably expose my relative ignorance in this forum but I don't know who else to ask. I'm trying to use page flow inheritance to extend an abstract base controller class to controllers for several projects (which should all behave the same way but have different jsps, templates, and configuration parameters) in an application. I can't figure out how/where to build the base class and where it needs to be in order for the project controllers to have access to it. I tried building the class in its own project and exporting a jar, or including the module in an enterprise app - although I've been able to build and deploy some of these attempts, everything I've tried gives runtime errors that seem to be due to classes/files not being found because the application structure isn't workable. If anyone has examples of how to do this, or suggestions for other ways to do this besides inheritance, I would be very happy to hear them.

    This is why you break your application into task flow, this allows you to have a hierarchy of taskflows and one icon in a diagram that can represent a complete flow.
    Learn more about taskflows here:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a2

  • Multiple entry points into a Page Flow

    Is it possible to define multiple entry points into a PageFlow ? That is, can I forward to an arbitrary Action inside a PageFlow (other then the standard begin) ?
    If so, is there sample code illustrating this ?
    Thank you
    Cristian

    The flow view should show the action from the anchor.
    "Cristian" <[email protected]> wrote in message
    news:405892c9$[email protected]..
    >
    John,
    That answers my questions.
    One more thing though :
    When using an anchor to forward from a jsp to an action in a pageflow,
    the 'Flow View' does not show the corresponding link. Is that normal ?
    Thank you
    Cristian
    "John Rohrlich" <[email protected]> wrote:
    Cristian,
    Yes the samples implicitly go to begin because jumping into the middle
    of
    some flow can lead to code that is difficult to follow and to debug.
    If
    there are pieces of a page flow that are useful in multiple contexts
    you
    might want to make them independent page flows or nested page flows
    You can go from a jsp to an action in another page flow using an anchor
    and
    setting the href attribute, for example
    <netui:anchor
    href="/WebApp/anotherPageFlow/someAction.do">continue</netui:anchor>
    notice that you set href= rather than action= because you are going
    outside
    of the local page flow.
    If you want to go from an action in one page flow to an action in another
    page flow of the same application you can do this
    * @jpf:forward name="success" path="/anotherPageFlow/someAction.do"
    If you want to pass a form to the action you can do that also. You just
    follow the last example and add the form to the forward, for example
    return new Forward("success", someForm);
    I hope that covers it - john
    "Cristian" <[email protected]> wrote in message
    news:405787a2$[email protected]..
    I need to go from either an action or a jsp in one page flow to ajsp/action in another page flow, passing around a session scoped action
    form.
    What is the syntax for the forwarding path ?
    All the samples I found implicitly
    forward to the 'begin()' action in the destination jpf.
    How do I tell it to go to
    another action/jsp in the target jpf ?
    Thanks
    Cristian

Maybe you are looking for