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,
.

Similar Messages

  • Page Number Disappesrs when click on Reset button in Dynamic Form

    Dear all,
    In dynamic forms I have taken Page n of m field outside the content area in master pages.I have added the reset button in body pages of the form.In the pdf When I click on Reset button the page nos are disappearing along with the other data.
    I want the page no should not disappear.How can I get rid of this problem. If any body can please help me.
    Thanks a bunch in advance
    Regards
    Rakesh

    Firefox checks on the server if the file has been modified if you use the back button.<br />
    If the page was requested by sending post data to the server then Firefox sends that post data and asks for confirmation.<br />
    You can try to use the tab history of the Back button skip sites that require sending post data.
    You can also try if it works if you set to never check the server by setting the browser.cache.check_doc_frequency pref to 2.
    *http://kb.mozillazine.org/browser.cache.check_doc_frequency

  • The scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture.

    the scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture. how can i stop safari from showing the content of my accounts?

    Try calling Tech Support, they should be able to check to see if theres a lock and try to help you reset it, I had to call and get my account unflagged, for something that I didn't even do.

  • On click of cancel button avoid execution of query

    Hi,
    I am going from one jsff page to other on click of a button
    In the second page i am coming back to the 1st page on click of the cancel button
    But on click of this cancel button my query is getting executed again and is taking long time to come back to the 1st page
    It is a read only vo query... how can i avoid query execution on click of cancel button
    Thanks,

    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,
    .

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • How to export the Apex web page to PDF with click of a button?

    How to export the Apex web page to PDF with click of a button?
    Am looking at exporting the Form view on APEX to be exported to PDF.

    In order to get a PDF, you need to generate a Report....in PDF format.
    If you are using the APEX Listener, you can initiate the download of the PDF by calling APEX_UTILS.download_print_document()  (I normally place this in a Process)
    BUT -- You have to create the Report (under Shared Components) and a Template (also under Shared Components).
    The white paper in my first post gives you the HOWTO "[Create] Custom PDF Reports with Oracle Application Express and the APEX Listener".
    Start by creating a Report (in Shared Components, bottom right) that uses a simple SQL statement like:
    Select * from emp where empno = :P15_EMPNO
    You may need to hard code the parameter before you hit "Download XML" button.
    The XML that you get from clicking "Download XML" satisfies the "Step 1 - Create an XML Data Source" found on Page 11 of the document.
    The rest of the instructions is in that whitepaper.
    MK

  • How to skip validations in ADF on click of cancel button

    Hi,
    I am new to this technology. i Have used ADF components required property to do Required filed validations. Whne i click on Cancel button i dont want the validations to get executed. How to skip validations in ths case?
    I am using ADF 11g and JSF 2.2

    Set immediate property of the cancel button to true.
    Check this out.
    http://jobinesh.blogspot.com/2009/08/how-to-skip-validation.html
    -Arun

  • I cannot delete the open apps as earlier after double clicking the start button

    I cannot delete the open apps as earlier after double clicking the start button after the new update

    Force close apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • I cannot start installing Acrobat X Pro after I click the Install button.

    I cannot start installing Acrobat X Pro after I click the Install button. Please advice.

    Which operating system are you using?  Do you receive any error messages?  Is this the trial of Adobe Acrobat X Professional or have you purchased the software?

  • Creation of UI elements on click of a button in ADOBE form

    Hello Experts,
    I have a requirement which is ,
    on the ADOBE form after pressing some action Button i need to create a row of UI elements like Textbox label and Radio button with the values coming from Backend WDA application.
    Number of rows created are equivalent to number of  times button is clicked.
    Also in some cases i have to preload the rows with the existing data.
    Please let me know if this requirement can be accomplished in ADOBE form.
    Any inputs ,Suggestion and help will be very helpful.
    Thanks,
    Siddharth

    Thanks for the help,
    I resolved this by creating elemnts in WD context on click of a button in ADOBE form,And in form i used the WD context structure as a table with required cell editors.
    PDF form should be of type dynamic in this case.

  • Standard backend service data vanishes on click of a button in HCM Forms

    Hi,
    I have a form which displays data from standard backend service SAP_PA and also from custom generic service.
    When I click on a button in the form, the data from SAP_PA is disappearing.
    Error message 'Please enter Personnel Number' is displaying.
    Please help me to resolve the issue.

    Hi Aravind,
    Thanks for your reply...
    Data is from standard backend service which is independent of user events..
    Data is displaying for the first time when form is dispalyed on the portal but when user clicks on any button, data is disappearing...
    Can you tell us the patch level of the system required for ESS MSS ??
    As of now our system patch level is 11,,
    This might be a  problem for data vanishing?

  • How to cancelling email submission after user clicks "yes/no" button of message box?

    could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
    After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
    In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
    Thanks so much for your help in advance and i am very glad to hearing from you soon!
    Djinges

    Hello,
    The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
    'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
    form1.#subform[0].Button1::click - (JavaScript, client)
    var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
    if(answer==1){
    EmailSubmitButton1.execEvent('click');
    Hope this helps.

  • How to make page continue after all click boxes have been clicked (CP6)

    Hi,
    I have a standard non quiz hotspot page in my course. I want this page to continue to show a final animation once the learner has clicked all click boxes on screen.
    At the moment, I have set up Advanced Actions to make the click boxes show the relevant information successfully. I have also set up an array which tells the page to continue once all the click boxes have been clicked, however the page does not continue until the user clicks on the page again AFTER clicking all the click boxes.
    Why is this happening?
    Thanks

    Lilybiri, I had problem with advanced actions and you helped me a great deal with your skills and your template for reusing.
    I will try to explain the best I can, If there are 3 buttons on a slide, and when each one is clicked: they assign some variable from 0 to 1, conditional action says if all assigned variables are 1 then do action for that slide, slide action can be: show 4th button (initially invisible) for example. That 4th button will be visible only if you proceed to some other slide by clicking one of those first 3 buttons (via jump to slide), and when you navigate back to that initial slide 4th button will be visible. This was the only way for me to show 4th button which is initially invisible on a slide with conditional actions. Standard actions works just fine: you click something and assigned action is performed. But, again for conditional actions slide needs to be reloaded.  For me it works only this way otherwise nothing happens on a slide when I have situation like this (with conditional actions). This is why I have replied in this way since I have recognized my problem. Am I wrong? And yes, event is triggered on slide Enter.

  • Previous page navigation - how to ?

    Hi,
    Imagine you have ADF Faces page (which can be called from anywhere)
    with just one button - OK. When user presses this button, he should be taken to the last page where he came from, but without declaring navigation rules for such transitions.
    How to achieve this ?
    I just wrote Custom Navigation Hahdler, but without luck
    Any advice ?

    Hi,
    one option is to keep track of the previous page in a phase listener (store the information in a session attribute) and then get it from there. Just set the stored viewId on the UIView root
    Frank

  • How to go to previous page in windows phone 8 when back button is pressed

    I have a home page or landing page in my windows phone c# based app where user enters login details and upon successful login user is redirected to page2 . Here the user will see a list box with few items . Upon selecting an item from this list box a new
    page called "Threadx" opens.(where x is the each page that opens upon clicking the x item in the list box)
    While user is on this Thread page "Threadx" he may receive the toast notifications and the thread gets updated with new replies or answers on that thread.
    But When user clicks on back button the "ThreadX" page doesn't get closed and instead it goes to its previous state where it has less number of messages , and so on until the app gets closed.
    protected override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    if (e.NavigationMode == NavigationMode.Back)
    return;
    I would like to know if this "Threadx" page can be closed upon clicking back button without affecting other "Threadx+1","Threadx+2"..."Threadx+n" pages.
    Any help would be really appreciated.

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

Maybe you are looking for