Page Reload after Submit

Good Morning,
I want my page to reload after a submit. The code I am using is not working correctly.
I have a region with a static ID:OPLAN
I created a branch with url: f?p=&APP_ID.:12.:&SESSION_ID.::&DEBUG.#OPLAN
It doesn't go back to the OPLAN section of the screen. Please Advise.
Thanks,
Mary

Good Morning,
It doesn't work correctly either. I have tried different variations of this and it still doesn't bring it to the correct anchor location.
I have three reports on one page that after the user clicks on the report it needs to go back to that section of the page. It currently defaults back to the top. I have changed the target to the url and took out the page number, but it still goes back to the top of the page. Also after the user updates something, they can hit update list or delete, I have a branch back to url and it doesn't bring them back to the correct section of the page.
I have added ex: <a name = "OPLAN_FRM"></a>OPLAN, doesn't work correctly.
I have tried the following for branches: f?p=&APP_ID.:12.:&SESSION.::&DEBUG.#OPLAN_FRM and f?p=&APP_ID.:12:&APP_SESSION.:::::#OPLAN_FRM.
OPLAN and Category sections of the page, does have javascript that hides fields based on conditions, I'm not sure if that has anything to do with it.
The third section seems to work correctly, except when the user clicks on a report, there is not javascript in this section. I am using a static id for this region.
Branch to URL: f?p=&APP_ID.:12.:&SESSION.::&DEBUG.#SRC_FRM
Thanks,
Mary

Similar Messages

  • How can I navigate to a new page when after-submit process running proc

    I have a long running procedure and would like to provide the users with an animated gif to indicate progress that updates a description line to indicate the current step in the process.
    Currently I have a couple pages in this application in which a stored procedure in a package is called which performs a long-running process which updates progress in a table. These processes have a single parameter argument. In these cases I call the procedure via the Job Scheduler as part of my After-Submit process and the page navigation jumps to another page which shows a graphical representation of % complete based on the progress updates in the table and refreshes itself every 5 seconds until the job is complete. This works fine.
    I am now running into an issue where I have a more complex set of processes, with a number of parameters. To resolve this I used the same process as above, however, I first check to see if the process exists in the Job Scheduler, if not I create it. I then set all of the parameters and tell the job scheduler to execute the procedure. This should work similar to the process I am running on the other pages, however, in this page where I have multiple parameters and send an execute command rather than an execute immediate on job creation, the system runs the entire job prior to running the page branch, as a result the end user is stuck on a hanging page with no user feedback for two minutes after pressing submit.
    I am looking for how to call the procedure and have the branch execute so a progress screen can be viewed. I am not committed to the use of the job scheduler if there is a better way.
    Any help is greatly appreciated.

    The process involves
    (1) a detail table filled with phone usage data, approximately 175,000 records per month.
    (2) a table that stores what various combinations of codes in the detail table translate to for types of calls or data transmissions
    (3) a summary table for the months calls and billing
    (4) the E-Business Suite.
    (5) A GTT for temporary crossreference storage
    (6) A GTT for reporting data
    I have a parameter page where the user selects what data they are looking for and then submits it to generate the report.
    The generation of data is a four step process.
    (A) Retrieve the Code Combination ID's for the phone usage specified in the parameters from the summary billing table(1) into a GTT(5)
    (B) Query the department and Account Code Block Details from E-Business Suite(3) (using dblink) for the CCID's in step one and add to the GTT(5)
    (C) Run a query which uses the detail table(1), a function against the crossref table(2), and the crossreference GTT(5) to create the output in the report GTT(6)
    (D) An ApEx page process that counts the output and returns to a page without Export to Excel for over 65000 records or with Export for under.
    The parameter page is an ApEx page with some text fields, a couple date fields, and some checkboxes. An after submit process calls a packaged procedure which calls separate procedures for (A), (B), and (C), the page then branches to a page that shows an animated gif and current step of the process {this is what is not working right now}. Once the task completes this page branches as per (D) to a page that shows all the contents of the GTT report(6).
    The process works successfully with the exception that instead of going to a page to show the process the system simply hangs on the parameter page after the submit is pressed until the processing is done and then goes to the processing page just long enough to branch to the report page.
    I am beginning to think that I should alter the design to not use the GTT, but include the username as a field in the output table with a binary index on it for speed so that I can use the job scheduler to run a separate session and hence enable the processing page. The processing page is important as the query can take anywhere from 2 minutes to 2 hours to generate the report depending upon the parameters.

  • Page Reload after x sec

    Hi,
    I am trying to auto refresh a jsp page, however I loose my parameters ie
    http://localhost:8080/Custom/proper...p?Propkey=18488,
    when the page refreshes
    http://localhost:8080/Custom/proper...ty.jsp?Propkey=
    What I want to do is load the next parameter after 18488, next being 18489.
    I have created a stored proc that takes the current parameter and finds the next parameter ie:
    CREATE proc CustomPropertyiGetNextKey
    @PreviousPropertyKey int,
    @ThisPropertyKey int output
    as
    select
    @ThisPropertyKey = min(PropertyKey)
    from
    propertyi..tblProperties with (nolock)
    where
    propertykey > @PreviousPropertyKey
    and deleted = 0
    select @ThisPropertyKey
    I want to exec this proc each time my page refreshes, taking the previous parameter and finding the next
    Currently using Javascript code:
    <script language="Javascript">
    var URL = "property.jsp?Propkey=@PropertyKey"
    var speed = 5000
    function reload()
    location = URL
    setTimeout("reload()", speed);
    </script>
    Still new with dealing in Servlets, I don't think a javascript will work, can anyone assist me ? ...Please
    Thank you.

    <meta refresh blahblah?${current+1}>?

  • Forms, controlling page display after Submit

    Using Dreamweaver CS5.  Form with results sent as email working just fine (using php on server side).
    But after the Submit button is clicked the user is immediately sent to the homepage/index.html (which is not where the form is located).
    The question is: how can I control what happens after the Submit button is pressed?  For example - just clear the form page and stay
    there, go to a different page, etc.
    Thanks for any help!
    D212

    The script that you are using to process the form data and then send the emails would have to then relocate the visitor to the correct landing page after the processing is completed - the most convenient way to do that is by sending a header message to the server at the end of the processing code -
    header("Location: http://www.example.com/your_landing_page.php"); exit();
    If this is the last PHP command executed on the page you don't need the exit part.  Also, the link *should* always be an absolute one as shown here, including the protocol, and the domain in addition to the filepath.

  • How to make a page reload

    Hi every body, and thank you for reading my post, here's the question I have
    Does anybody know how can I make a page reload???
    Thank's

    If you mean how to make the page reload when someone pushes a button or clicks an action component such as a hyperlink, then have that component's action method return null. To create the action method for a component, double click the component in the Visual Designer.
    To make the page reload after someone selects from a drop-down or list, or when the user changes the value in an input text field, right-click that component and choose Auto-Submit on Change.
    Chris

  • Stupid question, I know, but after years of using Firefox, on this one I can't find the Page Reload icon?? Please help.

    In the past, when I want to refresh a page, I've simply gone to the page reload icon on the toolbar. On the new version, I can't fin the reload icon. Sorry I know this is a very stupid question,, but I just can't find that reload icon. The toolbar is a lot different from previous versions, but I'm sure tht pesky icon must be there somewhere!!

    Hi merren,
    Not a stupid question at all :) You should take a look at [https://support.mozilla.org/en-US/kb/common-questions-after-upgrading-firefox-36 this article with common questions after upgrading].
    You could also benefit from the looking at the article on [https://support.mozilla.org/en-US/kb/how-do-i-customize-toolbars customizing the tool bar]. That will show you not only how to verify that you have the refresh button, but give you options on where it lives as well.
    Hopefully this helps!

  • Every time I open a website other than Google, the page pretends to reload after loading and then does not fully load.

    In both Firefox 3.6 and Firefox 4.0 when I open pages such as wincustomize.com, as soon as the page loads, the page goes blank as if it is reloading. However, although the URL of the website stays the same, and the page seems to continue working, the page never loads. However, when I open pages such as Google.com, the page opens as normal. Also, if i stop the pages loading after it is almost finished, then it does not switch pages. How can I fix this?
    == This happened ==
    Every time Firefox opened
    == A week ago ==
    == User Agent ==
    Mozilla/5.0 (Windows; Windows NT 5.1; en-US; rv:2.0b2pre) Gecko/20100707 Minefield/4.0b2pre ( .NET CLR 3.5.30729)

    Try clearing your cache and cookies.
    # Open the Tools menu, then select Clear Recent History... .
    # In the '''Time Range to clear:''' drop-down, select '''Everything'''.
    # Click the arrow next to '''Details''' to display the list of items that can be cleared.
    # Select both '''Cookies''' and '''Cache'''.
    # Click Clear Now .
    Also try creating a new profile by going to [[Managing Profiles]]

  • An updated favicon is not visible also after a page reload! How can this be done without deleting the full browser cache?

    I updated the favicon on a homepage.
    I reloaded the page in firefox but the old favicon remains.
    I do not want to delete the whole cache of the browser. A page reload should be enough because other users will not delete the cache to get the new favicon.

    Did you try a reload with a cache bypass?
    You can reload the page and bypass the cache with:
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    See [[Keyboard shortcuts]] and [[Mouse shortcuts]]
    If you have bookmarked that site then try to remove all bookmarks (open the bookmarks in tabs, click the yellow star and click the Remove button). Then try to reload all pages and create new bookmarks if that works. You may need to close and restart Firefox. You can also use Forget About This Site in the History right-click context menu but that will remove everything relating to that site, including saved passwords and exceptions.

  • Window.opener lost after submit on _self of a window

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My problem is:
    1. main window (*1) opens a child window (*2) and save the reference to this new window in an array
    2. the child window (*2) shows a "wait please" image and open on _self the real requested page which can take some time to be created; the new page shows some search fields, the user types the filter and press button for submit; after submit the content of the child window (*2) is the result of a select on DB
    3. in the child window (*2) there is a button which opens another child window (*3)
    The problem is here: the child window (*2) search the main window (*1) using window.opener but its window.opener is itself.
    I need to save the references of all opened windows, so I can close them all when I close the main window (*1)
    For an example (more simple) click here:
    http://asp.rds-software.com/asptest/window.parent/mainwindow.html
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    == Plugins installed
    ==
    Adobe Acrobat 8.2.2.217
    Java(TM) 2 Platform Standard Edition 5.0 Update 6 5.0.60.5
    Microsoft DRM (Netscape Network Object) 9.0.0.4503
    Microsoft DRM (Netscape Plugin) 9.0.0.4503
    Mozilla Default Plug-in 1.0.0.15
    Shockwave Flash 9.0.124.0
    Windows Media Player Plug-in Dynamic Link Library 3.0.2.629
    Windows Presentation Foundation 3.5.30729.1

    Hi,
    try 10.1.3.3 - I tested it with this release and here it worked fine.
    Frank

  • Popup a window in the after-submit process

    I have created a java script function in html header of the page as following:
    <script language="JavaScript" type="text/javascript">
    function myPopup (p_search) {
    var val1 = document.getElementById(p_search).value;
    var url;
    url = 'f?p=&APP_ID.:3:&APP_SESSION.::::P3_ENAME:' + val1;
    w = open(url,"winLov","Scrollbars=0,resizable=0,width=700,height=400");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    I want to call this function in one after-submit process like this:
    begin
    select name into p_name
    from vehicle
    where id = 32;
    if SQL%ROWCOUNT = 1 then
    javascript:myPopup(p_name);
    end if;
    exception
    when others then
    null;
    end;
    When I apply the changes in the application builder, I got this error:
    1 error has occurred
    ORA-06550: line 7, column 16: PLS-00103: Encountered the symbol "" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "" to continue.
    How do I call the java script functions in the page process? What did I do wrong?
    Any help will be greatly appreciated.
    June

    O.K. I think I got it working now. See
    http://htmldb.oracle.com/pls/otn/f?p=31517:50
    There is an on submit process multiplying the number you enter by two and populating the target item. The process is running only if there is number entered. If you enter any other string a pop-up window will show you an error message. The approach is simple:
    1. create a process which does something on submit, if the supplied parameter is O.K. and nulls if not,
    2. created a branch to an empty page which fires on submit and it is conditional - using process exception(s),
    3. on the empty page there are two onload javascript calls:
    onload="javascript:popUp2('f?p=&APP_ID.:201:&SESSION.::&DEBUG.:::', 700, 700);javascript:redirect('f?p=&APP_ID.:50:&SESSION.::&DEBUG.::');"
    the first one is opening the required pop-up page and the next one is redirecting back to where we started.
    I don't know if there are any security issues with this approach. It is not so clean, since you need to create an additional empty page. However, it saves some coding of extra scripts.
    What you are saying I also had in mind.
    Denes Kubicek

  • In our application we have CV Builder and after submit we want to show in  pdf format.

    In our application we have CV Builder and after submit we want to show in  pdf format.
    this is html page and we want to create pdf after click on Submit.
    Please provide Solution as soon as possible.

    1. For the PDF see TCPDF
    2. For saving see PHP Insert Data Into MySQL
    3. For sending see Basic PHP mail() Function code to send emails from a form | InMotion Hosting

  • After submit process vs. javascript

    I'd appreciate it if you all could help me with this problem. I've searched this forum and google for a resolution but have not found it yet. I'm a newbie with APEX so please bear with me. The issue is that I want a button - could be a delete or submit - to be disabled after it is clicked. Additionally I want a process (on submit after computations and validations) to execute when the button is clicked. The dilemma is that the javascript disable button function is called using a URL button (create a button in a region position). My guess is that the on submit process is not fired because the focus goes to the URL (disable button function). Is there any way to call a javascript from non-URL button (Create a button displayed among this region's items)? Or perhaps get the process to run with a URL button? So my issue is I need both the after submit process to run and the javascript to disable the button to run after the button is clicked. Suggestions appreciated.
    Kirk

    Like I indicated I'm a newbie to this web programming. And at this point I'm just learning APEX for possibilities here and because management wants a presentation on it at one of our upcoming meetings.
    After the branch to the URL - which my understanding would be to the same page - it would come up without a record until the user selects one from some mechanism like an LOV. And with no record displaying I'd want the Delete (and Update) button disabled until a record is selected. And now that I'm writing this it has me thinking I need to approach this from a different angle. I need the page to come up with the Delete and Update button already disabled and when a record is selected then (somehow) the buttons should be enabled. Do you think this a more viable approach?

  • PL/SQL After submit process - best practice?

    I have after submit process which fires PL/SQL procedure. In this PL/SQL procedure I do some updates and would also like to generate some XML output and send it to browser so that user can save it in file. What I'm asking is, what is proper way to handle this.
    I realize that starting procedure from "after submit process" is too late. If I understand correctly, the page is already rendered at that time so htp.p output from PL/SQL procedure in not showing (but procedure is executed). So I create branch to PL/SQL procedure (after button is pressed). That way procedure actualy creates new window and I can use htp.p functions. Altough now I have trouble closing window but I hope I could manage this.
    Is there some other, better way to do export? Maybe javascript popup and calling procedure from there? Any suggestions?
    Thanks!
    Marko

    How should I send this content to user so that his browser recognize this as a file (for opening or saving)?
    Put that code in a onLoad process similar to how Scott shows at http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    With this in place, when you issue a show request on that page, your generated content will be offered by the browser using a open/save dialog box.

  • Parallelizing after-submit processing

    I have a handful of after-submit processes on a page that have absolutely nothing in common. No data or state dependencies.
    But the way Apex accept processing works, it executes them sequentially. So, if process 1 takes 20 seconds and process 2 takes 20 seconds, total time taken would be 40 seconds!
    Yes, the processes themselves have been optimized and tuned as much as they can.
    Is there a way to fire off those 2 processes in parallel to save time? Something like the following construct in Unix Korn shell programming
    #!/bin/ksh
    echo Starting
    process1 &
    process2 &
    process3 &
    wait
    echo DoneI guess I could invoke each process as a DBMS_JOB but that makes it "too asynchronous". My page would come back instantly but the work would not be done. I would need to build some kind of polling system to check some status table for completion and stuff.
    Ideas? Thanks.

    Hm, yes, I am aware of all the non-Apex solutions I could use, but like I said, that makes my page "think" that the processing is complete, when it is really not. I would need to build additional stuff into my app to periodically poll to find out status, refresh the page, etc, etc.
    It starts to get really complicated.
    And, in my case, the bottom line benefit of all this is to reduce a page processing time from 40 seconds to 20 seconds. I wouldn't want to spend 20 hours to achieve that! ;)
    It would have been so sweet if the PL/SQL language natively offered the kind of shell programming construct I showed earlier! Sigh...
    Thanks for your response.

  • Fireox became excruciatingly slow to load web pages immediately after following Stop Censorship link over Firefox logo on start page.

    Immediately after I followed the Stop Censorship link on the Firefox opening page and e-mailed congressional representatives, Firefox has become extremely glitchy - web pages take forever to load. I had upgraded to Firefox 8 two days ago. Could this be a virus/worm set by pro-censorship or anti-open source agencies like ?Microsoft or is this a problem with the beta version of Firefox 8? I did not notice the extreme slowing of web page loading after upgrading to Firefox 8, but it happened directly after I followed and acted on the Stop Internet Censorship links. My Norton internet security scans shows "no threats detected". Also I am unable to submit this feedback to Firefox: When I click on the Submit Feedback button, nothing happens. What to do? Should I go back to 3.6 or what to do next? Any other Firefox community members have this problem?

    SOLVED
    I cannot quite fathom why this solution works (since browsing seemed slower without Sophos installed) but with Sophos 9 installed and turning off the new functionality in Sophos 9: Web protection / Block malicious downloads... the browsing experience is again very fast with the exception of netspeed.test.

Maybe you are looking for

  • How can I delete music from my iPhone 4 (iOS7) when I manually manage the music in iTunes, but it has no affect on my phone's music library?

         I'm attempting to delete music from my iPhone 4 (iOS7). When I connect it to iTunes, and the music shows up, I delete the music from the phone. When I disconnect the phone, the music is still there. The same thing happens if I try to sync the ph

  • Can't see Tree or Servers

    Converting from Netware to SLES. Built a server with SLES 11. I believe it is handing out DHCP addresses as my two test station have picked up IP address from the pool. Built eDirectory with a test user account on the server. My workstations do not s

  • G61 battery pin-out.

    Need to know the battery pin-outs to try putting charging on the bench to see it the laptop charge circuit is a problem.Thanks. Richard

  • User Exit/BADI for Transaction CNR1 & CNR2

    Hi All, We have a requirement where we need to make use of the transaction CNR1 & CNR2 to validate the employee number, can anyone tell me is there any user exit/BADI available for this purpose, I have searched for the user exits using a small utilit

  • Converting a dec field

    I am storing output to a text file in application server . The internal table has a field of DEC type and hence it is throwing an error that it cannot be converted to a text file . It has to be of cahrater type data object . Any suggestion will be hi