JSPX Page navigation in ADF(Jdev 11.5)

Hi,
I am trying to navigate from task flow to a jspx page using the following code, but we are not able to redirect.
Requirement is:-
When user is accessing the registration page which is in taskflow, after registration it should automatically redirected to the Login page, but when we write the below line to forward the request, we are facing the below error.
*"Response already commited"*
Can anybody Please help or give any alternate approach?
Code snippet:-
private void sendForward(HttpServletRequest request,
HttpServletResponse response, String forwardUrl) {
FacesContext ctx = FacesContext.getCurrentInstance();
ExternalContext ectx = ctx.getExternalContext();
forwardUrl = request.getContextPath() + forwardUrl;
try {
ectx.redirect(forwardUrl);
} catch (IOException e) {
logger.error("IO Exception destination cannot be found");
Edited by: 811407 on Oct 12, 2011 12:44 AM

Hi,
I dont know exactly how you secured your Application.
To my understanding, the registrations should not be secured and the let's say home page will be secured.
So instead of navigating to Login page, you should navigate to the home page and since security is enabled, the user will be redirected to the login page instead.
Search the ADF tutorials and follow the cue cards of JDeveloper regarding this matter.
Hope this will help you,
Regards,
Dimitris.

Similar Messages

  • How to load jspx page in a ADF popup componenet

    Hi,
    I am using the jdeveloper11g ,Oracle ADF component's .I met with a problem while i am trying to load the page In ADFPOPUP component. .while i am able to load the component's in the ADFPOPUP why can't i Load jspx page in ADFPopup and have my application running in ADFPOPUP.If anybody able to give me the solution for my problem i will be more pleased and thankful to them
    from
    satyatheja kunchey Employer prapansol

    Hi,
    you can load a JSPX file in a dialog, not a popup. A popup shows content from the same JSPX file (you may want to use subviews to add external content, but this is not quite the same as you are asking for)
    Frank

  • Reg : Page Navigation In ADF usinj JDev 11.1.1.7

    Hi ,
    Can any one suggest me how to do pagination in jdev 11.1.1.7.
    Thanks & Regards :
    Pramila Padam

    You can try https://blogs.oracle.com/ATEAM_WEBCENTER/entry/adventures_in_webcenter_skinning_af the blog is for webcenter but you should be able to do this in 11.1.1.6.0 too.
    Or http://andrejusb.blogspot.de/2011/05/oracle-adf-11g-custom-table-pagination.html
    Timo
    Edited by: Timo Hahn on 16.04.2013 11:16

  • Page Navigation -- JDev11g, ADF BC

    Hi All,
    I'm using JDev11g, ADF BC, Windows XP. I'm building an application in which i have an index page which links to lots of other pages. The connectity is ok in forward direction i mean i click on the link i can go to the correct page using goLink. But the problem is when i use goLink for the backward direction from the page to the index page.
    When i click back to index page it doesn't change the address in the address bar.
    Address for the index page:
    /ADF_App-ViewController-context-root/faces/index.jspx?_adf.ctrl-state=1439195741_23
    Address for the selected page:
    /ADF_App-ViewController-context-root/faces/layout/secondary/simpleDialog.jspx?_adf.ctrl-state=1439195741_27
    Address for the index page when returned is
    /ADF_App-ViewController-context-root/faces/layout/secondary/simpleDialog.jspx?_adf.ctrl-state=1439195741_31
    I'm not able to go to another different page from index after returning from a page.
    */ADF_App-ViewController-context-root/faces/layout/secondary//layout/secondary/popUp.jspx?_adf.ctrl-state=1439195741_35*
    The Error displayed here is URI not found
    Assistance or Suggestions will be appreciated...
    Thanks and Regards
    Jyothi

    Hi Pedja,
    Your suggestion is fine but it doesn't help solve my problem completely. After creating a new adfc-config file do i need to include the index page. I am asking this because after i included that file i got a new error message.
    Jun 23, 2009 5:04:51 PM oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    Jun 23, 2009 5:04:51 PM oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/primaryWindows.xml'.
    Jun 23, 2009 5:04:51 PM oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    WARNING: ADFc: Duplicate activity 'index' detected.
    here *'/WEB-INF/adfc-config.xml'* is the default file and *'/WEB-INF/primaryWindows.xml'* is the file i've created. I'm not able to link to the page which is connected through *"/WEB-INF/primaryWindows.xml"*
    Thanks in Advance,
    Jyothi.

  • Page navigation using adf-config not working

    Hi,
    JDeveloper : 11.1.1.17
    I created a WebCenter Framework Portal application.
    1. Created a new page under "oracle\webcenter\portalapp\pages" by name Page1.
    2. Dragged both "home" and the new page "Page1" and dropped into the adf-config.
    3. Created a control flow between the pages and named it "search".
    4. Created a command button in "home" page and set the action outcome to "search".
    When I try and run this and click on the Home page's command button, I was expecting it to go to Page 1.
    But it doesn't do anything. It just stays on Home page. No exceptions are thrown either.
    Am I missing something ?
    Kindly let me know.
    Thank you.
    Regards,
    Ayyappan

    In the URL that you invoke remove the .jspx part and try again.
    So instead of http://server/app/faces/index.jspx use http://server/app/faces/index

  • How to generate dynamic table in JSPX page?(Use ADF to realize OAF)

    Dear all,
    My requirment is to realized the a EBS standard OAF page(PDH module) function by ADF technique. The key point is to realize Dynamic Search Layout and Dynamic Result Table Layout by ADF.
    If anyone who is skill at OAF and ADF, proficient in PDH module is prefered, your question will be highly appreciated.
    Because it is hard to paste image into this thread, so I will appreciate it very much if you can refer the attachment ifile of SR 3-1397372841 for detail information. Sorry for the trouble, I really thanks for your help.
    Edited by: user12264776 on 2010/02/22 17:32

    Hi,
    Thanks for the quick reply. I am using JSF for my ADF application.Could u please elaborate how to use the PhaseListener for Auditing user navigation?
    Arijit

  • How i can print jspx page in oracle adf 10g ?

    i want to print a page by clicking on button "print"
    i need to know if i can do it without java Script ,?!
    i mean from the manage Bean (java class) that related to the page ?
    is there any way that i can show the print dialog and customizeit ?

    hi Frank,
    thank you , i search alot for any solution , but nothing works
    i guess the best idea , is to convert the page that i want to print into pdf using Ireport and then print it !
    thank you again ,
    Malek

  • Hi i was trying to run an .jspx page in my ADF application .but i am getting bellow error .please help me to resolve this error

    IntegratedWebLogicServer startup time: 154811 ms.
    IntegratedWebLogicServer started.
    [Running application ContexttualEvent on Server Instance IntegratedWebLogicServer...]
    [04:59:17 PM] ----  Deployment started.  ----
    [04:59:17 PM] Target platform is  (Weblogic 10.3).
    [04:59:21 PM] Retrieving existing application information
    [04:59:21 PM] Running dependency analysis...
    [04:59:22 PM] Deploying 2 profiles...
    [04:59:24 PM] Wrote Web Application Module to D:\MyWork\system11.1.1.7.40.64.93\o.j2ee\drs\ContexttualEvent\ViewControllerWebApp.war
    [04:59:26 PM] Wrote Enterprise Application Module to D:\MyWork\system11.1.1.7.40.64.93\o.j2ee\drs\ContexttualEvent
    [04:59:26 PM] Deploying Application...
    <Feb 15, 2014 4:59:27 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\MyWork\system11.1.1.7.40.64.93\o.j2ee\drs\ContexttualEvent/META-INF/weblogic-application.xml of module ContexttualEvent. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
        at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
        at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
        at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
        at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
        at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
        at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
        at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:324)
        at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
        at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
        at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
        at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
        at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
        at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)
        at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86d71042(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
        at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
        at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
        at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
        at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
        at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
        at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
        at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
        at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
        at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
        ... 27 more
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86d71042(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
        at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
        at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
        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.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
        ... 35 more
    .>
    <Feb 15, 2014 4:59:28 PM IST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean ContexttualEvent. Error - weblogic.management.DeploymentException: Unmarshaller failed.
    weblogic.management.DeploymentException: Unmarshaller failed
        at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
        at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
        at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
        at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
        at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
        Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean alre
        a

    Hi,
    Check in weblogic-application.xml file for this library weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl might it may already there as shared library.
    check again.
    Regards,
    Kal

  • How to Create Page Navigation : ADF Swings

    How can i create Page Navigation in ADF swings ,which displays 20 records per page .
    Regards
    Bhanu Prakash

    Hi,
    if you base this on ADF then just edit the table binding to show 20 records at a time. The default is 10
    Frank

  • Partial Page Navigation in Oracle ADF

    Hi!
    I am looking for a solution in Oracle ADF for rendering different page content inside the current page defined layout using AJAX. Currently on command button i am able to send XMLHttpRequest but it is going to another page rather than rendering the other page content on the current page.
    my index page code is:-
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_index.d1}">
    <af:form id="f1" binding="#{backingBeanScope.backing_index.f1}">
    <af:commandButton text="Go"
    binding="#{backingBeanScope.backing_index.cb1}"
    id="cb1"
    action="#{backingBeanScope.backing_index.cb1_action}"
    partialSubmit="true"/>
    <af:panelFormLayout id="pfl1" binding="#{backingBeanScope.backing_index.pfl1}" partialTriggers="cb1"
    inlineStyle="height:403px;">
    <af:outputFormatted value="this is index page, click go button to go to home page" id="of1" binding="#{backingBeanScope.backing_index.of1}"/>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_index-->
    </jsp:root>
    my home page is:-
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_home.d1}">
    <af:outputFormatted value="welcome to CAP" id="of1" binding="#{backingBeanScope.backing_home.of1}"/>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_home-->
    </jsp:root>
    my adfc-config code is:-
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="home">
    <page>/home.jspx</page>
    </view>
    <view id="index">
    <page>/index.jspx</page>
    </view>
    <control-flow-rule id="__9">
    <from-activity-id id="__10">index</from-activity-id>
    <control-flow-case id="__11">
    <from-outcome id="__13">success</from-outcome>
    <to-activity-id id="__12">home</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean id="__1">
    <managed-bean-name id="__3">backing_index</managed-bean-name>
    <managed-bean-class id="__4">view.backing.Index</managed-bean-class>
    <managed-bean-scope id="__2">backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1index.jspx-->
    </managed-bean>
    <managed-bean id="__6">
    <managed-bean-name id="__8">backing_home</managed-bean-name>
    <managed-bean-class id="__5">view.backing.Home</managed-bean-class>
    <managed-bean-scope id="__7">backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1home.jspx-->
    </managed-bean>
    </adfc-config>
    Thank you in advance

    Hi.
    You can do it using ADF TaskFlows,Create two page fragments as index.jsff and home.jsff.Also need to create container page(.jspx) to add taskflow and finally need to run Content page.Then you can navigates page fragments within taskflow using controle flow case(navigation between page fragments).
    See:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows.htm
    http://andrejusb.blogspot.com/2010/03/passing-parameters-from-adf-task-flow.html

  • ADF: Page navigation and buttons stop working after a while

    Hi all,
    We have a web app built with ADF Faces/JDev 10.1.3 that runs in OC4J 10.1.2.0.2. Sometimes we encounter this problem in our JSF pages: after a while (can't relate to some particular action), all navigation in a page (links, tabs, buttons, etc) just stops working, i.e. you can click them, the server receives some request (we see this in the logs), but the desired action never happens. It's just like the page keeps refreshing all the time. There is no navigation out of the page at this point, it's completely stuck.
    If, at the same time, we connect to the app from a different browser, it will work fine, but the first browser will remain in the faulty state.
    I turned the enableTokenValidation in the pages on and off, but it seems to make no difference. Can anyone provide an idea about what might be going on?
    Thanks,
    Serban

    Hello,
    Any answer on this issue? It seems that ADF is pretty unstable if user clicks repetedly on the same submit button (like a double-click) or on different tabs on the old page, until the next page loads. We are using .jspx pages and combined with SSL access this behaviour is behaving even worser.
    Basically we encounter the following problems:
    1) It seems that users with not so good network access (and accessing ADF app on a SSL OC4J) still have access to the origin page until the target page loads on a submit. If they click a different button or tab on the origin page in this interval (waiting for their previous action to complete), they usually get a JavaScript error that will block the interface until they do a manual refresh (F5)...
    This can be reproduced even on client machines with good network access if you click very fast on the same button twice or on two different submit buttons.
    2) It seems that sometimes the browser keeps showing the loading bar in the status bar even if the new .jspx page is already loaded. Any advice on how to solve this, as the users might be tempted to push application buttons or browser navigation thinking that the page is blocked?
    All the above happen on IE 6, which is the preffered browser.
    Thanks! I can give you more details if needed.

  • ADF Menus for Page Navigation

    I have completed the [ADF Menus for Page Navigation|http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_43/ccset43_ALL.html] tutorial.
    Everything work as expected, with one exception. The 'Add and Bind Navigation Pane Components' section has you put a Navigation Pane in the menBar facet of the panel header. In the Hint dropdown you select 'buttons' and set some other properties.
    When I run the finished project, the menu items in the menbar are displaying vertically instead of horizontally as the image with the tutorial shows. Why? How do I get them to display horizontally?
    I really like that menu model and plan utilizing it in real world application; unfortunately, have the menubar dislay vertically in the panel header is unacceptable.
    <f:facet name="top">
            <af:panelHeader text="ADF Menu Example" id="pt_ph1" size="0">
              <f:facet name="context"/>
              <f:facet name="menuBar">
                <af:navigationPane id="pt_np1" hint="buttons" var="menuInfo"
                                   value="#{root_menu}">
                  <f:facet name="nodeStamp">               
                      <af:commandNavigationItem text="#{menuInfo.label}"
                                                id="pt_cni1" icon="#{menuInfo.icon}"
                                                destination="#{menuInfo.destination}"
                                                action="#{menuInfo.doAction}"/>
                  </f:facet>
                </af:navigationPane>
              </f:facet>
              <f:facet name="legend"/>
              <f:facet name="info"/>
            </af:panelHeader>
          </f:facet>

    Ok, I am still at a loss as to why this is happening.
    It seems to be related to the either navigationpane or the menu meta data.
    I have only foudn one difference so far. The tutorial states that JDeveloper us org.apache.myfaces.trinidad.model.XMLMenuModel managed bean class by default; however, my project used oracle.adf.view.rich.model.MDSMenuModel. When I use the XMLMenuModel, the only visible diference is in the Visual Editor and the Preview panes. The menus appear horizontally in those panes, but not when you run the application in a web borwser.
    Still troubleshooting.
    [Tutorial: ADF Menu Model Managed Beans|http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_43/ccset43_tellme4_5.html]
    My project code:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <metadata-resource>/WEB-INF/adfc-sale-config.xml</metadata-resource>
      <metadata-resource>/WEB-INF/adfc-products-config.xml</metadata-resource>
      <view id="home">
        <page>/home.jspx</page>
      </view>
      <view id="help">
        <page>/help.jspx</page>
      </view>
      <view id="preferences">
        <page>/preferences.jspx</page>
      </view>
      <view id="shop">
        <page>/shop.jspx</page>
      </view>
      <control-flow-rule id="__1">
        <from-activity-id id="__2">*</from-activity-id>
        <control-flow-case id="__3">
          <from-outcome id="__4">adfMenu_home</from-outcome>
          <to-activity-id id="__5">home</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__6">
          <from-outcome id="__7">adfMenu_help</from-outcome>
          <to-activity-id id="__8">help</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__9">
          <from-outcome id="__10">adfMenu_preferences</from-outcome>
          <to-activity-id id="__11">preferences</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__12">
          <from-outcome id="__13">adfMenu_shop</from-outcome>
          <to-activity-id id="__14">shop</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
      <managed-bean id="__15">
        <description id="__17">Menu Model Managed Bean</description>
        <managed-bean-name id="__16">root_menu</managed-bean-name>
        <managed-bean-class>oracle.adf.view.rich.model.MDSMenuModel</managed-bean-class>
        <managed-bean-scope id="__18">request</managed-bean-scope>
        <managed-property id="__20">
          <property-name id="__19">createHiddenNodes</property-name>
          <value id="__21">false</value>
        </managed-property>
        <managed-property id="__23">
          <property-name id="__25">source</property-name>
          <property-class id="__24">java.lang.String</property-class>
          <value id="__22">/WEB-INF/root_menu.xml</value>
        </managed-property>
      </managed-bean>
    </adfc-config>

  • Previous page navigation after on click of cancel button of a form in adf

    Hi,
    Can any one tell how previous page navigation works in adf?
    I am working on a portal page which is having a common footer for all jspx pages.This footer contains a golink for feedback form.
    so the problem is when I Navigate to any page (# page 1)and then Navigate to some other page (#page 2) and on click of Feedback link displayed on footer of page 2 Feedback form is displayed. and on Click of Cancel button of the form.
    Expected Result:
    User should be navigated to the page that they were on. (i.e., Page 2)
    Actual Result:
    User is navigated to page 1 instead of page 2
    i.e it is taking browser previous url.
    I am using the following code for the cancel button
    <af:commandLink text="Cancel" id="cl5">
    <af:clientListener method="goBack" type="click"/>
    </af:commandLink>
    java script....
    function goBack()
    window.history.back()
    Edited by: 993530 on Apr 23, 2013 3:35 AM

    Hi,
    Immediate = true is already been set for cancel button
    The problem is when i come back to the 1st page vo is getting executed again and is taking lot of time.. i need to see that vo does not get executed again
    in the vo for view criteria -- query execution mode , i have made as in memory and now it has become fast on click of cancel button. But i am getting the following error when i perform search in the first page
    Missing FROM in a SELECT statement
    An unexpected expression token is found.
    Thanks,
    .

  • Deployment exception while running a .jspx page in Jdev 11g 11.1.1.1.0

    I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
    java.lang.NullPointerException
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         Truncated. see log file for complete stacktrace
    >
    Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
    Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
    INFO: ADFApplicationLifecycleListener.postStop
    Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
    [11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    [11:39:47 AM] See server logs or server console for more details.
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
         ... 12 more
    #### Cannot run application UI due to error deploying to DefaultServer.
    [Application UI stopped and undeployed from Server Instance DefaultServer]

    I was facing a similar error, the problem was because of adf-controller.jar. My error was :
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    The jar's 10g edition has  (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
    jar -cf adf-controller.jar .
    This solved my problem.
    Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining.

  • How to save the modified rows in jspx page usind adf default commit action

    Hi,
    We are displaying some columns of the database table in jspx page. Here we are using adf commit action to save these values to database which is updating all the rows by default. In this page there are some editable columns which the user can miodify. How can we update only these modified rows using default adf commit action. Also we want to update last_updated_date column of that particular row which is modified in the UI from backing bean .
    Can anyone please help us in solving this.
    Thanks in advance

    User,
    A key question - what are you using for the model layer (ADF Business Components, JPA, EJB, etc)?
    How are you determining that a "commit" action is updating rows (even those which haven't changed)?
    If you are using ADF Business Components - have a read in the documentation about history columns - the use case you describe (updating the last_udpdated_date column) is supported "out-of-the-box" for this.
    John

Maybe you are looking for

  • Cannot send email to subdomain

    iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004) libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004) SunOS stud.usm.my 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Fire-V240 We have a domain xxx.com and a subdomain stud.xxx.com...the first dom

  • Daily snapshot solution

    Hi All, i have a requirement something like this i will get some open and closed items in the trans data let say the data looks like below no     open_date     closed_Date     status     load date     amt 1     08/26/2007          O     08/27/07     

  • Issues on cross-company stock transfer triggered by sales order

    Hi, friends:   As our business process required, we need to make the cross-company sale between to plants under two company codes.   The business process required is different from standard inter-company billing in SAP SD module. Our business process

  • Variable entry from Navigational attribute

    Hi, I would like to let the user of a web query enter a value for a navigational attribute of a characteristic in the variable screen. How do I create variables based on nav attributes? Example: The report shows 0MATERIAL with key figures. The user s

  • What does the Smugmug "Sync Photos" checkbox do, exactly?

    LR 4 help has no listing for Publich to Smugmug. I have a lot of photos in LR and on Smugmug, but not all of them have been placed in my smugmug galleries via LR. I cant' afford to have unanticipated results in my clients smugmug galleries if I run t