Navigate to other page in controller.onInit

Hi there,
I want to check on each and every page of my app, if the login cookie has been set and if not, I would like to navigate to the login page. I therefore implemented the onInit function of the controller:
onInit: function () {
       // if user is not logged in, no cookie is set
       if (this.getCookie("myCookie") == null) {
       var app = sap.ui.getCore().byId("appTools");
       app.to("js.Login");
Both views have been added to the app like this:
// instantiate the View
var loginView = sap.ui.view("js.Login", {type:sap.ui.core.mvc.ViewType.JS, viewName:"js.Login"});
// add page to the App
app.addPage(loginView);
The code is processed but unfortunately, nothing happens, at least, no navigation to js.Login.
What am I doing wrong here?
Thanks

Hi,
Are you sure you are getting the instance of the app correctly?
Ran

Similar Messages

  • Navigate to other page without using task flow

    Hi.,
    I m using jdeveloper 11.1.1.5
    I had created a Following jspx pages
    =>glm0101.jspx
    =>cfs0010.jspx
    =>generalledger.jspx
    =>glm2080.jspx
    =>login.jspx
    I need to create following
    GLm ----> While user clicks this it should navigate to glm0101.jspx
    CFS ----> While user clicks this it should navigate to cfs0010.jspx
    GeneralLedger ----> user clicks this it should navigate to generalledger.jspx
    Querry -----> user clicks this it should navigate to glm2080.jspx
    could anyone help me to provide the solution without using the task flow

    I had used The following procedure
    In adfc config i had created a unbound task flow as given below
    http://www.4shared.com/photo/BFcI1zVp/E024.html
    I had draged and dropped ADF:Link and anmed it as General Ledger
    In its action i wrote gl [which i had specified in TaskFlow]
    When i click this i am getting this error
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity 'GeneralLedger'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:928)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:778)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         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.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at 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 weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         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:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)and also i m getting error as
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'Cfs0010'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'GeneralLedger'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'GLM0101'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'Glm2080'].

  • Problems navigate to other page when handover an internal table

    Hi all,
    I am navigating from one bsp page to another bsp page within an bsp application. In the first page an internal table is filled, handed over to the second page, and displayed in an html table. Everything works fine, while the internal table is small, once the internal table is growing, system does not navigate anymore, instead a message is coming up: internal error 500 in the IE.
    maybe there is a limitation on the html pagelenght, even if i did not limit ?
    muchos gracias for any hints or suggestions. thx Michael

    Hi Michael,
    Server side cokies is also a very good option for
    transferring bigger data, but using
    navigation->use_auto_submit_form( ) is having some problems.... see this
    Re: using navigation->use_auto_form_submit().
    Hope it helps.
    Regards,
    Narinder Hartala
    Message was edited by: Narinder Hartala

  • Base page navigate to other OA page on event pop-up

    Hi,
    i should open a pop-up window on an event in OA page. where popup have 'Yes' 'No' button if it is yes then the base page should navigate to other page if 'No' then it remain in same page and popup window should exit and focus should be on the base page
    can any help me

    Hi,
    i have tried the below code in PFR on the button click its not showing up the Popup. i have same AM as of Base page. in the popu window i have attached JS code for the buttons.is this that problem ? can any help me
    where i am worng
    OAButtonBean b = (OAButtonBean)webBean.findChildRecursive("HGridBtn");
    String page = "/xxx/oracle/apps/xxdd/tutorial5/webui/PopupPG";
    String destURL =
    APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?" +
    OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT + "=" + page +
    "&retainAM=Y";
    OABoundValueEmbedURL jsBound =
    new OABoundValueEmbedURL(b, "openWindow(self, '", destURL,
    "' , 'longTipWin', {width:" + 250 +
    ", height:" + 250 +
    "}, true); return false;");
    b.setAttributeValue(oracle.cabo.ui.UIConstants.ON_CLICK_ATTR, jsBound);

  • Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. How do I fix this?

    Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. Once i reconnect to the network, the page loads, but after loading a few more pages, the same thing happens all over again.
    This happens each and every time, on different Wifi networks, in different locations.  On the other hand, I don't ever encounter this problem when I tether my laptop to my mobile phone's 3g/2g network using Personal Hotspot. How do I fix this?

    Try this DNS server ...
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch both your browsers to test.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections
    And here >  Wi-Fi: How to troubleshoot Wi-Fi connectivity

  • Navigate to next page based on inputtext input

    hi i have a situation where i have to enter value in inputtext and navigate to next page and display values in lov in next page based on the value entered in inputtext,and able to make selection in lov and navigate to next page and display value on lov selection for example i have inputtext where i have to enter department name and when i navigate i must have lov in next page which list employees belong to that department and make selection of one employee and navigate to next page and display that employee information in next page,am in jdeveloper 11.1.1.6.0 have anybody done that
    Edited by: adf009 on 2013/03/16 4:18 PM

    hi am not able to navigate based on the lov selection am geting this error ,this happen after i enter my departmentname and able to navigate to next page,but when i make selection in my lov next page to navigate to another page i get below error
    JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    Error     
    View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    i re-upload the sample http://www.datafilehost.com/download-023d31b6.html
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    neworg 105
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         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 view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         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(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         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.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         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:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at 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 weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RegionRenderer> <encodeAll> The region component with id: r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         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 view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         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(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         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.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         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:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at 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 weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)hi did you able to undestand my problem
    Edited by: adf009 on 2013/03/26 4:52 PM

  • How to Navigate to Another page and Back

    Hi,
    Is there any way to navigate from page1 CO to page 2 (to run its CO) and then immediately return it back to Page 1
    Something similiar to method redirectToCurrentPage(), except in my case I want it to execute the CO of the 2nd page and return to page1.
    Basically, my page 2 CO populates some temp tables automatically when user logs in based on certain criteria. I want to know in Page 1 CO, if this table will be populated as I need to control some buttons rendering on page1.
    I am avoiding having to write the same code (from page2 CO ) to check if any records will be populated and wondered if there was any method which let me navigate to 2nd page and back.
    Thanks
    Shanky

    Hi,
    In the PR method of 2nd controller, try using forwardImmidiately() to previous page.
    --Sushant                                                                                                                                                                                                               

  • How do I stop Firefox from playing video after I navigate from the page or leave Firefox?

    Simple and annoying. . Extremely frustrating issue with Firefox for Android. ..
    I watch a YouTube video or any flash video. . And after I hit play, the ONLY way to stop it is to hit pause or let it play to the end or close the tab. .
    It will NOT automatically stop if I open another tab. or if I navigate from Firefox. .
    I feel this is a very basic feature. Did I set something up that was wrong?
    Can I ask two questions?
    I have another extremely annoying and frustrating problem with Firefox for Android.
    The "top" (if you pull down the tabs) search bar DOES NOT allow my stock Samsung keyboard to auto space. . Thus instead of typing
    "How do I stop Firefox from playing video after I navigate from the page or leave Firefox?"
    I'll type in
    "HowdoIstopFirefoxfromplayingvideoafterInavigatefromthepageorleaveFirefox?"
    Unless I manually got the space bar.
    Using a recently factory data reset Samsung Galaxy s4 active.. android 4.2.2 and stock Samsung keyboard ... Firefox 34.0.1
    Thanks in advanced.
    Ps
    I was a hardcore xscope user for years and just recently gave in to Firefox when i lost all my bookmarks due to a forced factory data reset. .

    I'm using a different keyboard which works fine in the most top search bar...
    I cannot believe that it's not a feature.
    What if I was watching a video and wanted to shut it off quickly? I'll have to hit back? Wait for the previous screen to load then hit the power button?
    Please tell me that feature ids soon to come

  • Navigate to a page with this.pageNum

    Hi,
    I have a 3D PDF and I have added several other pages with normal text to this pdf. The 3D Media is on the first page. Now I'd like to navigate from the first page with Javascript to an other page.
    this.pageNum = 3;
    works for all pages except the first page with the 3D media.
    When I am on the first page and call this.pageNum = 3; page zooms out and centers the 3D Media but doesn't go to the page 4.  But when a press then the adobe button for going to the next site, the pdf goes directly to the fourth page.

    Peter,
    I know, but I have no other idea, how I could resolve this. DBA do not want to see hundreds of Discoverer user created in the database. I have to authenticate users via APEX (calling Microsoft Active Directory using the built in LDAP package) and then I have to navigate them to the appropriate Discoverer enabled Oracle user. This seemed to be the less painful solution.
    These are simple end users, and reports are not that sensitive to justify more effort than described above.
    Tamas

  • I am creating an I-Web webpage.  When I add pages, the only way to navigate throught the pages is with the menu bar on the left.  How do I navigate to each page on the actual website?

    I am creating a website using i-web.  When I add pages, they appear at the top of the webpage, but I cannot navigate to each page in the navigation bar.  I can only navigate in the menu bar located on the left side of the program.
    How do I navigate thru the website?

    You don't unfortunately, iWeb though great does not allow that funtion.
    If it is a deal breaker for you I would suggest SandVox or RapidWeaver.
    I personal like SandVox
    How ever my website is WordPress, you have to understand a little code, but a lot more freedom
    LearnFromLee
    I may receive some form of compensation, financial or otherwise, from my recommendation or link. <Edited by Host>

  • JSP links to other pages

    Hi,
    I have a web app that does not use a framework. I do try to follow the MVC pattern though by having all requests go through one Controller Servlet.
    I have a Home page jsp, which only has links to other pages. The Home JSP does not have a <form>. Just <a href's.
    These links take the user from the home page to other pages which do work and submit forms. However, some of these pages (jsp's) need to be prepopulated with data. For example, I have a page which gives a random phrase from the Database when clicking on the submit button. But when I first get to the page by following the link from Home Page, it is empty. I want to arrive at the page and have it already gotten the first phrase for me.
    One option I thought of is to have the link from the Home Page which took me to the Random Phrase page, go through the Controller servlet initially and have the Controller servlet, after having done the work of retrieving the phrase redirect to the Random Phrase page.
    If this is the correct approach, how can I accomplish this? How do I have a <a href link in a jsp, redirect to a servlet right away without submitting a form or something?
    Thanks.

    So I put this in my home.jsp:
    <a href="/Household/randomPhrase.php">Random Phrase of The Day</a> In web.xml I have this:
    <servlet>
           <servlet-name>VHController</servlet-name>
      </servlet>
      <servlet-mapping>
           <servlet-name>VHController</servlet-name>
           <url-pattern>*.php</url-pattern>
      </servlet-mapping>According to the above, when I click on this link it should take me to the Servlet's doGet() method.
    However, when I actually click on it, I get the following exception in the browser:
    java.lang.NullPointerException
         com.myapp.servlet.VHController.doPost(VHController.java:47)
         com.myapp.servlet.VHController.doGet(VHController.java:35)All I do in the doGet() method is:
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              out.println("URL: " + request.getRequestURL());
              out.println("URL: " + request.getRequestURL());
              out.println("METHOD: " + request.getMethod());Could anyone suggest what the problem may be? Why I am not getting the expected behavior?
    Thanks.

  • Clicking on 'ADF Calendar Component activity' should navigate to New page

    Jdeveloper Version - 11.1.2.0.0
    We implemented the ADF calendar component and it displays fine. However, we have a requirement that by clicking on the activity, it should navigate to another new page. For an activity, there are options like contextMenu, acitivtyHover, activityDetail etc.., where all shows the details in popup of the same page. We want to navigate to new page by clicking on the activity. Is it possible?
    Thanks in Advance.

    Hi,
    I don't think it is possible.
    All the facets you mentioned support only af:popup as child to them.
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_calendar.html
    -Arun

  • Navigate to correct page after login

    Hi Ben
    I have a list of links that navigate to different pages. Some of the pages that the links navigate to require authorisation, so page 101 is presented to the user. When the user successfully logs in, page 101 directs them to page 1 (home). How can I make the users experience smoother by taking them on to the page that they expected to go to. Some times this page will be in a different application.
    Thank You
    Ben

    Ben,
    When you use that first format (P_FLOW_PAGE => :APP_ID||':1'), the result should be that the after-login page is the page originally requested (the deep link). If no page was requested, say you just specified the application ID in the run link, then the after-login page will be the current application's page 1.
    When you use that second format (P_FLOW_PAGE => :APP_ID), the result should be that the after-login page is the page originally requested (the deep link). If no page was requested, say you just specified the application ID in the run link, then the application's Home Link attribute would be used for the after-login URL.
    Scott

  • Frame targeting in other pages

    I have a page where the initial start page is all flash. All
    the following pages are html with flash menus in a default template
    that stays as you navigate. The pages all have one main inline
    frame called "main" that all content is loaded in. The rest of the
    page does not change. What I need help with is on the initial page,
    I need to be able to click one of the buttons and have it open the
    home page with the content related to the button clicked to be
    loaded in the frame window. So essentially they will all be opening
    the "home.html" file, but with different content in the frame
    within that page.
    Thanks for your help
    -Shane Hollon

    quote:
    Originally posted by:
    kglad
    use getURL("yourPage.html","yourFrameName");
    I do use that, but in the other page. The frame that I am
    referencing does not exist in the page where the button is. I need
    to be able to open the new page using getURL("home.html","_self");
    but then I need it to open, for example, "main.html" in the frame
    named main within the home.html file. the "main" frame doesn't
    exist in the "index.html" where the button is. I need to send the
    information to the page I'm opening to tell it what to load in the
    frame after it is done loading. Any help?

  • In OA Framework, How to retain a session after moving to some other page??

    Hi All,
    I am developing a page in OA Framework. In this i have developed a search page on which user provides search criteria & look for results. After getting results, user submits or saves the data & move to next page.
    Now user wants to move back to previous page with all the same query that he entered for previous search.
    Can anybody help me, what i have to do to maintain that session or anything else to achieve that functionality.
    Thanks & Regards
    Nisha

    QueryBean would have been the ideal choice, but since you have already implemented the search, you can do what Mitishka has suggested.
    So when you move to any other page, you need to retain the AM (true) and when you move back from that page to the search page, you need to retain the AM and navigate back.
    Idea is , not to lose the AM from your search page.
    Thanks
    Tapash

Maybe you are looking for

  • HT5654 how do i get on my phone of it says i need to be a registered devolper

    I downloaded ios 7 over the summer and now that ios 7 id offically out i cant get on my phone! Itsay  need to be a registered iphone developer ! please help me fix this

  • FW CS5: Copy Page from one document to another without changing layers

    Hi, how can I copy a Page from one document to another without changing the layers? Drag-and-drop isn´t possible and by Copy-Paste all elements are placed in the same layer. Greetings, toho

  • Nokia 6280 -problem with slider

    Hi ! When i tried to change the front case on my nokia 6280, the whole frontpanel "jumpt of" the slides, and i don´t know how to fix it. There isn´t any warrenty left on the phone, and there aren´t any service centers nearby. Is is possible for me to

  • Local variable cross-talk?

    I have three VIs, call them A, B, and C. A uses C as a subVI, and B uses C as a subVI. Now, when A contains only C, I run A and everything is fine. C has a boolean control and indicator, very simple. When I place B in A's diagram, and leave it unwire

  • Which method to use to separate out invoices from one large xml file

    I will generate one massive invoice file , say , containgoin aout 200 invoices. However, I would like them to be produced as separate .pdf files instead of a singular pdf Th eintention is to take each pdf and email it out to customers. Is there anoth