Optional redirect to URL in branching on the same page

Hi guys,.

I'm trying to use the optional redirection URL when branching from one page to another. In my case I insert a new record of Page 12, here are the details of the Page 12:

Page 12 contains a row-extraction automated process that runs after the header.

I have a connection with an optional URL forwarding option that takes me to the same page 12, click on the Save/Create button to create a new record. I'm defining the key primary and other form values and save the session state. However, once the data are inserted into the table, using the redirect option URL gives me no data found message.

Could someone please help me to and explain what I'm doing wrong here?

Thank you
Rohan

Hello

Add this line in your code just after calling "set_session_state". Run the page in debug mode. Debugging must show a line like «value PK recover...» ». Don't you see a valid value?

wwv_flow. Debug ('PK retrieved value =' | v_ccpPK_nr);

CITY

Tags: Database

Similar Questions

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • Branch to redirect to the same page as edit

    Hello
    How can I stay on the same page after insert or update the folder but in edit mode.
    I use a branch, but that loses the values.


    Kind regards
    Orlando Cruz

    Hello:

    Change the target of the branch defined in the page containing your form points to itself.
    Remove the 'reset the page' page process defined on the form page.

    CITY

  • How to set point values when redirecting to the same page.

    I just create a button to redirect I want to redirect to the same page and place 2 elements on the page to the same value they had before the redirection.
    But I can not write:
    Place these items: P1_Permit_Number, P1_Fishing_Year
    With these values: & P1_Permit_Number, & P1_Fishing_Year.

    Because there are no values in session state, because a shipment has not been done.

    So, how can I do this?
    I know how to get the values stored in the elements, for example, $v ('P1_PERMIT_NUMBER')
    but where should I put this command? It is not allowed under the "with these values.
    And I don't really want to make a button "submit" and create a process that says:
    P1_PERMIT_NUMBER: = $v ('P1_PERMIT_NUMBER'), because that would complicate the page too - I already have other branches and the process on the pages which conditions have to be modified so that they do not work in this scenario.

    Thank you.

    Hello

    The syntax seems correct to me. Your summers of uppercase element names?

    Try:

    alert("Here");
    var permitNumber = document.getElementById('P1_Permit_Number').value;
    alert(permitNumber);
    var fishingYear = document.getElementById('P1_Fishing_Year').value;
    alert(fishingYear);
    var url = 'f?p=&APP_ID.:1:&APP_SESSION.:Vessel_Display:::P1_Permit_Number,P1_Fishing_Year:' + permitNumber + ',' + fishingYear;
    alert(url):
    window.location.href = url;
    

    All alerts MUST display expected values. Doesn't it?

    Andy

  • Two redirects to the same page?

    DW CS3 - ASP

    Through a former (but excellent) training DVD to create registration forms Insert/Update/Delete using DW & ASP.

    Two forms are created on the same page - a record of update and delete record.  Update works, but delete creates an error:

    Microsoft VBScript error "800 a 0411" compilation

    Name redefined

    /mysitename/myFolder/admin_edit.asp line 95

    Dim MM_editRedirectUrl

    This error is apparently due to the different redirect for each form URL:

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_edit.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If
    End If
    % >

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_home.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If

    End If
    % >

    I read that rename the second MM_editRedirectUrl Sun of Sun MM_editRedirectUrl_2 will make things work properly and he DID!  However, does make for an unstable environment; and if yes, what is the best approach to resolve this?

    OK, that makes sense. The problem stands and the original solution. Loading edit/detail page he sees scripts and variables of these two behaviors, and that the same variable name is used in both cases. So to change the names of variables in one or the other behaviors will work and will not cause any instability.

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

  • My option "open in a new tab in the same window" has stopped working.

    After working for centuries without any problem, my option "open in a new tab in the same window" has stopped working.  Support suggested that I go to tools, select internet options and open tabs, and then select open in a new tab in the same window option.  I did as instructed and concluded that this option under the tabs was already selected and unchanged.  I changed this option, closed my browser and restarted my computer as instructed.

    As before you follow these instructions, and when viewing online and wish to open a link in a new tab in the same window I once again this desired option.   Internet does not take into account my instructions and opens my link in a new window.  This is extremely irritating.

    Does anyone have a solution?

    Hello

    What version of Internet Explorer work?

    You can try the following steps and check:

    Method 1:

    You can reset Internet Explorer 9 settings and check

    http://Windows.Microsoft.com/en-in/Windows7/reset-Internet-Explorer-settings-in-Internet-Explorer-9

    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Method 2:

    How to reinstall or repair Internet Explorer in Windows 7, Windows Vista and Windows XP

    http://support.Microsoft.com/kb/318378

    Warning: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Important note: ignore in place update from the above mentioned link.

  • Being new to such things, I designed a web site to read on a computer. If I make a Tablet and a mobile design I need different URLS for them on the same site or the devices will be able to open those instead of the computer?

    Being new to such things, I designed a web site to read on a computer. If I make a Tablet and a mobile design I need different URLS for them on the same site or the devices will be able to open those instead of the computer?

    Muse deals, each device uses the correct layout. You n ' to do anything, except to create the respective pages.

  • Cannot get URL to open in the same window

    I use Flash ActionScript3 - my banner has 3 images, each poster for about 5 seconds. I have every picture is linked to a web page with more info about each image. The problem is that I can't get the URL to open in the same window! Every click opens another browser window. All attempts to solve this problem using suggestions found in my Google search for the answer results in error messages. Any help would be greatly appreciated!
    Here is my script for one of the images:

    Thanks for the help. I should have mentioned that I was not sure of the syntax as well. That's the answer I was looking for:

  • How to recharge and refresh the same page by pressing a button on the same page

    Hello
    I have page ex: page 3
    on page 3, I have a few Iframes through which I call few reports Interacticve. If someone modifies any event for any of the intrecative reports in their corresponding pages I want to refresh current page3 page IE pressing the button refresh? I know it's newbie question?


    Thank you
    Manoi

    Create a Refresh"" button. Redirect optional URL section, select the target as a page and enter the number of the current page (as 3). Also enter number of page 3 to clear memory cache.
    This will reload the same page.

    See you soon,.
    Hari

  • How to set preferences so that open new tabs to the same page that activates when the command-T has been affected?

    By opening a new tab, the default tab opens to thumbnails based on recent history. The Safari, I want the new tab to open * to the same page, as was active when command-T was hit *. What are the specific actions, to set the default value (preference), new pages to open 'same page '? ('Same page' is check in Safari preferences box).

    Note, I've sailed available Support of Mozilla and using about: config have reset browser.newtab.url so that the new tab appears empty (stop followed recent history for this purpose).

    Note, most importantly, I found this article of Support Forum, which, although written challenge, gave me a temporary solution:

      * https://support.mozilla.org/en-US/questions/891635
    

    (The temporary solution for the Mac OS is to command-click the icon 'Reload current page' in the url/address box in the browser toolbar, which opens a new tab in the same window).

    However, I would like to define this as a preference permanent and would ask someone give me a solution. Cheers, teacher

    LeProf_7272 wrote:

    if I can possibly just create a new config line
    

    You can't, that's why I suggested the modules above. There is no option in the user interface or preferably hidden in Firefox that can duplicate a tab whenever you open a new tab browser.newtab.url can only be set to a fixed address, what address is to be opened in the current tab.

    Are the only two built-in methods to duplicate a tab:

    1. Hold down the Option key and drag the tab to a new position on the tab bar.
    2. Hold down the command key and click the reload of the address bar.

    You can make feature requests by filing development bug reports or by opening the Help menu by clicking on your comments.

  • Two tabs of the same page

    Hello
    I have spent all morning trying to find a solution to this problem, but have not found by myself or the analysis of forum posts.

    I am building an application with a level tab two for navigation.
    It's all right as long as the pages referenced by the tabs contain a different number.

    My problem is that I use the same page dynamic (say 40) to be used via two different tabs.
    for example Parent tab is labeled "Parent".
    Two other tabs are created related to parent tab 'Parent' and those labeled "Action1" and Action2.
    By selecting "Action1" will result in return of the 40 with a parameter page (say page_type) is set to 1.
    By selecting "Action2" will result in rendering the * same * page 40 with a parameter (say page_type) has a value of 2.

    For the parent tab 'Parent' say that the default is to select "Action1".

    Is there a solution to implement this kind of behavior?
    I tried to create redirect pages (empty page and one branch) to achieve, but I always get stuck trying to have page 40 display the appropriate tabs and tab parent.
    Thanks in advance for any help.
    Daniel

    Hi Daniel,.

    First of all, don't worry about your English - it's better that my French (in fact I didn't even know you were not English until I checked your profile!)

    Second, there may be a way to manage the definition of value. As long as your instructions of doSubmit() problem tabs, which sets a REQUEST , then it can be captured - see: Re: trying to find my tabs in my browser sql tree as a result, you should be able to put any value you like. I did have the chance to set up an example of this, but I hope, that should give you an idea of what can be done.

    You will always have the issue of not being able to click on each tab, once you have clicked on one of them - but I guess that the user is not likely to do it anyway?

    Andy

  • Master / detail on the same page

    Hello
    I tried to get master form Assistant / retail to generate a master / detail on the same page without success.

    Basically, I wanted something similar to what Patrick Wolf was here:
    http://Apex.Oracle.com/pls/OTN/f?p=12820:3:2557510002062602

    Y at - it statement somewhere that show how to set up a master / detail on the same page?

    Thank you

    Hello

    OK - you must:

    1 - create a report page - Let's say the report will build on the DEPT table and the SQL for the report is:

    SELECT DEPTNO, DNAME FROM DEPT ORDER BY DNAME
    

    2. when the page has been created, create a new un nouvel element element hidden page called, say, P50_DEPTNO and add it to the region of report

    3. now create another part of report on the page - this time for the EMP table and filtered by P50_DEPTNO. The SQL code of the report would be:

    SELECT EMPNO, ENAME FROM EMP WHERE DEPTNO = :P50_DEPTNO ORDER BY ENAME
    

    4. you can make this conditional region on P50_DEPTNO is not not NULL so that the latter is hidden until a Department has been selected

    5. now, change the State of your Department and go to the tab report attributes change DEPTNO column and go to the section of the link column. Add in the following settings:

    Text link: (select one of the predefined options that are displayed as links in this box - eg DEPTNO)
    Page: (enter the current page number - for example, 50)
    Reset pagination: (check this)
    Point 1 (name): P50_DEPTNO
    Article 1 (value): #DEPTNO #.

    Then click on apply changes

    6 - Finally, add a branch on the page. This should simply point to the same page - leave all other settings at their default values.

    Now, launch the page and click on the link for any Department. You should get: http://htmldb.oracle.com/pls/otn/f?p=45958:50

    Andy

  • How to set up the 'new window' tab to open the new window as the same page

    How to configure the tab 'new window' to open the new window on the same page?

    Clone of extension of the window - will also Clone a tab:

    http://www.Pikey.me.UK/Mozilla/?addon=CW

    Clones the current tab's address and history into a new window when the New Window command is used (and optionally into a new tab when the New Tab command is used).
    

    Compatible with Firefox 9.0. *

  • How can I open now two copies of the same page

    As a shortcut to business I cut and paste a copy of one web page to another copy. The new feature does not allow two copies of the same page. Is there a way to force the two copies?

    • Press the SHIFT key while an entry in the drop-down list is highlighted to disable 'Switch to the tab' and see the URL.
    • Use the right arrow to select an element marked as switch to tab in the menu drop-down and copy the URL in the address bar.
    • Open the URL in a new tab using Alt + Enter on the highlighted entry.
    • Open the URL in the current tab by using shift + enter on the highlighted entry.

Maybe you are looking for