Go to the region after submit

Apex 4.2

Theme 21

I have a report and one of the columns contains the html button.

This button calls a javascript

function obj (start_date, end_date) {}

$x('P840_START_DATE').value = start_date;

$x('P840_END_DATE').value = end_date;

Apex. Submit({Request:Request,showWait:true});)

}

This defines certain elements of page and the request and submits the page.

I have a second report that appears only when the request is resolved.

This report is displayed as the first report.

Is there a way to pass the second report, when the send is completed.

I tried

function obj (start_date, end_date) {}

$x('P840_START_DATE').value = start_date;

$x('P840_END_DATE').value = end_date;

Apex. Submit({Request:Request,showWait:true});)

window.scrollTo(0,document.body.scrollHeight);

}

It moves to the bottom of the page, while the page shows.

Once the pages are reloaded, it's the top of the page

Gus

Hello Gus,

The above mentioned problem is resolved. Please check the same.

Of more apologies for suggesting the following solution:

$.scrollTo($('#USERTABS'), 1000);

The solution is:

$(window).scrollTop($("#order_items").offset().top);

I added a dynamic action on the loading of the page running mentioned above conditional javascript for the application that you use in apex.submit i.e. show_obj

NOTE: The button "Go to order Items" and javascript function nav() is just added for testing purposes.

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • Help keep the page in the same region after Submit

    Version: 4.1.1.00.23

    Theme: Classic Blue

    Page template: tabs in level one

    Hello

    I have 6 Classic reports on the page. Some have filters with of LOV in cascade and button to submit the Page after the filters are selected.

    The Page reloads the top of the page after sending filters.

    I would like to have the page remain on the region where the submission arrived if the user do not scroll to the region that they watch one or work with him.

    I found this article: http://http :// www.apexninjas.com/blog/2011/02/stay-in-page-section-after-submit-on-same-apex-page-unconditional-branch-to-same-page-section/ of Apex Ninjas, but the page reload always at the top.

    I also tried to put an anchor at the bottom of the Page template tag in the Body section after all the tags:

    #LOGO #.
    #REGION_POSITION_06 #.
    #REGION_POSITION_07 #.#NAVIGATION_BAR #.
    #REGION_POSITION_08 #.
    #TAB_CELLS #.
    #SUCCESS_MESSAGE # NOTIFICATION_MESSAGE # GLOBAL_NOTIFICATION #.
    #BOX_BODY # REGION_POSITION_02 # REGION_POSITION_04 #.

    #REGION_POSITION_03 #.
    #REGION_POSITION_01 ##CUSTOMIZE #

    I have a branch:

    Present immediately after treatment

    Target type of URL

    URL of: f? p = & APP_ID.:124: & SESSION. : #APPLY_FILTERS_MPL_LT

    But the Page still loads up and scrolling is necessary.

    Can someone help me get this to work?

    Can what information I provide?

    Thank you

    Joe

    Tom,

    The 'Skip' and 'submission' comes from the LOV cascading I.

    Here are the lists of select Standard. The parent list is called ID wallet and the list of children is called project name. So, if a selected portfolio list project name code displays the project for this portfolio ID name. If no ID portfolio is selected then all the project name are displayed.  When checking for Session I knew if a wallet code has been selected, then the default ID, 'All' portfolio, has been selected Session still had the previous ID and therefore the Select project name list was empty.

    What I don't understand is that when the default portfolio ID is selected, even if the 'Null' is set to 'Yes', and the default value has been set to 0 (zero), the Session was not updated when the default has been selected.

    I changed the query on the Portfolio ID to:

    SELECT 'All' d,0 r
    FROM dual
    UNION
    SELECT portfolio_name, portfolio_id
    FROM   portfolio
    ORDER BY 1
    

    The 'Skip' and 'submission' came from portfolio ID "Action when the changed value of the Page" Configuration. I had it set on 'Redirect and set the value. When I changed it back to "None (default)" and set 'Cascading item (s) Parent LOV' project name to the page item Portfolio ID and then the page started working as expected.  No more 'jump' or 'submit '!

    Thank you very much for your help and your patience!

    Let me know if you have any questions or comments, and if I can close this thread.

    Thank you

    Joe

  • Process of calculation to calculate the value after submit after all validations

    Hello

    Please help with a possible approach or suggestions for the calculation process.

    I have a calculation process after submit I want to calculate its value after that all validations are handled. Because this process of calculating trim is off of the first part of the input string of the user for the P3_USES element. Thus, for example consider; the user selects a value for P3_USES (point list manager) to be "TAC"... BCA... BCA... BCA... 0.CA BC... "CA IT BC. So my calculation process just stripes off the coast of the first portion of the string and computes the value will be "BCA"... BCA... BCA... 0.CA BC... "CA IT BC. It works fine when all postings on the page are placed without cooking.

    The problem occurs, then the validation fails on the form. Once the validation fails, the calculation process; already calculates the value and the P3_USES value form element is set to "BCA"... BCA... BCA... 0.CA BC... "CA IT BC. So, here the user solves the problem of validation and sends it again the form, but at this point the value is calculated again but this time that my string is "BCA"... BCA... BCA... 0.CA BC... CA IT BC"which is not correct, because my initial user string entry was"TAC"... BCA... BCA... BCA... 0.CA BC... "CA IT BC.

    So my question is how they treat the value of my calculation after all validations. While I can keep the original value of the P3_USES element. I'm using the version of Oracle APEX 4.0 and Oracle 10 g R2 database.

    Thank you

    Rambeau

    Hello

    Combine code of calculation and validation?

    Perform the calculations in the process?

    Use another element to contain the value 'real '?

    Kind regards

    Jari

  • How to refresh the region after inserting data by dynamic Action?

    Hi friends

    I use APEX 4.1. I created a form master detail and wrote an insert command in dynamic Action through which the data is inserted into the secondary table. I want to refresh the detail region as data is inserted and data must demonstrate in the detail area.

    How can I do this? Help, please. I will be grateful.

    Kind regards.

    Hi Kam_oracle_apex,

    Add real action to the existing dynamic action

    Action: update

    selection type: region

    Region: Detail (the region that you want to refresh).

    Kind regards

    Jitendra

  • Incorrect order in the region after upgrade Apex 4.2.2

    We have improved our applications at Apex 4.2.2.00.11 and everything works fine. With the exception of 2 pages. These pages have a parent area (in display point 'Page (1) template body') and two parts of the child, a (seq 10) HTML tag and a region (seq 20) report. But when these pages are executed, the region of report was posted first! I discovered that when I remove the HTML region of its parent, that the original display for this region, HTML has been 'Page (2) template body '. I've changed that to "Page model body (1) ', handed the region HTML to its parent. Now the regiopns appear in the correct order. However when I do an export and import on the production environment, the regions are always displayed in the right order! It seems that during the import, the point of view of a region with a parent area, is ignored.

    Any ideas how to solve this problem?

    Hello

    I think I've identified the cause of your problem. When importing an application we automatically point the value display child parts to 'Page (3) template body', because points of view are not really relevant for regions of the child, but we need for the good sort. Due to a bug, this is not done for regions of type 'Report' and 'calendar '.

    As a solution, can you please assign 'Page (3) template body' to your sub regions and try again. I will file a bug for the issue.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • Forms, controls the display of the page after Submit

    Using Dreamweaver CS5.  Train with the results sent that email work very well (using php on the server side).

    But after a click on the button send 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 you press the submit button?  For example - the page of the form erase everything and stay

    There, go to a different page, etc.

    Thanks for any help!

    D212

    If I change the script can just point to an html file? (ie the header ("Location: http://www.example.com/your_landing_page.html"); exit();?)

    It would be perfect.

  • Point empty the Cache after submit press

    Hello

    I have 5 element on a page as
    P1_A,
    P1_B,
    P1_C,
    P1_D,
    P1_E.

    I want to here when I press the "submit" button value of P1_A, P1_B, P1_C, P1_D, P1_E must be inserted in table and clear Cache last item P1_C, P1_D, P1_E
    and the value of the point P1_A, P1_B do not have to clear the Cache.

    How can I clear the Cache of the selected item.

    Thank you
    Ed

    Max clear selected element on press the button submit

    Maury

    Create a Page State in Session process to clear items. Make sure that the process is running after your insert.

    Clear Cache items (POINT, POINT, POINT) by entering a list delimited by names of elements to erase. Use a comma (,) or a colon (:)) to separate the element names.

    Example (: P1_C,: P1_D,: P1_E)

    Jeff

  • How to clear the fields in a form after submit?

    Hello world

    I have created a region and created 4 items from the page
    P4_empno
    p4_ename
    p4_deptno
    p4_sal
    and two buttons in the region
    submit
    Cancel
    To insert in the my emp table I created a dynamic action on submit button
    event  :click
    selection type :button
    button :submit
    condition :no condition
    
    true action
    Execute plsql code:
    
    begin
    insert into emp select P4_empno,p4_ename,p4_deptno,p4_sal from dual;
    end;
    Well now now I can insert values in the table by clicking on the submit button
    but after submitting the page is not refreshing and the values of what I entered are still on display.

    So please can someone tell me what to do?

    Thank you
    Kind regards
    Paul

    Paul wrote:

    I have created a region and created 4 items from the page

    P4_empno
    p4_ename
    p4_deptno
    p4_sal
    

    and two buttons in the region

    submit
    Cancel
    

    To insert in the my emp table I created a dynamic action on submit button

    event  :click
    selection type :button
    button :submit
    condition :no condition
    
    true action
    Execute plsql code:
    
    begin
    insert into emp select P4_empno,p4_ename,p4_deptno,p4_sal from dual;
    end;
    

    Well now now I can insert values in the table by clicking on the submit button
    but after submitting the page is not refreshing and the values of what I entered are still on display.

    Why are you trying to do this using a dynamic Action rather than standard treatment of page by page and branches?

    Please see the Guide + Express + 2 day application developer and the database application example for these basic techniques of the APEX.

  • How to open a page in the APEX after I click on the "submit" button?

    Hi gurus,

    Here's my question (I'm new to APEX so please bear with me and provide details - I'm not new to programming, however). Ok. I have open application, a menu and the option of a menu I want to be a wizard to create an object (signature).

    Once this wizard is done (it contains 3 pages linked modeless dialog), the button "submit" I want:

    1 / all data is committed to the DB

    2 / all data to be loaded into a new page that contains the full record, which was completed in steps the wizard 3

    .. and I think that's all...

    I understand the page after sending else can't do anything, not even to be triggered if everything must be done before. So, I made a dynamic action on the button end like this:

    But I will not be opened in a new page but as part of the application (below you can see that opens in a new page):

    Can you guide me please? Something must be either very easy, I guess...

    This is the first question.

    Second question: how to fill this new page with the instructions I just submit - how can I find out the rowid of the folder has just presented. Or... is there an another way of modeling that? What I want to do is create a record in a database either by attending either directly. If I click on cancel I will go on the record in page 1 where I can see full fields, if I choose assistant and then once I'm done I want to see all the data even in Page1. Where I can possibly do some mod.

    Thank you!

    Gabriela

    (if it is not clear that I can show in a short owc internally)

    Point 1: Creating a new branch on the last page of the wizard, which will take place on the State of the button "FINISH" Give branch URL of page that you want to navigate.

    Point 2: You can save the primary key of the row and go to the parent page using the direction of the point 1.

    Probably if you can build an example on apex.oracle.com, we can help more.

  • What is the correct syntax to reference a page point (P23_ID, for example) in a process of PL/SQL page after submit?

    What is the correct syntax to reference a page point (P23_ID, for example) in a process of PL/SQL page after submit?

    TexasApexDeveloper wrote:

    Variable binding is preferred: P23_ID you can also use & P23_ID. (variable substitution notation).

    Bind variable and static text substitution references are not interchangeable. For example, static text substitution references cannot be used in allocation targets:

    :P23_ID  := 'foo';  -- valid
    &P23_ID. := 'bar'; -- syntax error (or something weird or sinister due to SQL injection)
    

    Substituting static text references should be avoided in SQL and PL/SQL code because of the risk of behavior topic SQL injection and / odd error because of values containing quotes, etc.

  • After effects CC 2015 redraw problems screen while the region of interest are open

    Hello

    I posted this problem to Adobe twice now via the bug report, but both times I don't have any kind of response, help, acknowledgement of receipt by mail that I presented in fact anything and I can't find this particular report anywhere on the adobe site.

    I also tried Googling this question but couldn't find anyone complaining about this. But maybe it's because the region of interest may not be a tool that uses a lot of people.

    I work in the gaming industry. Using After effects to create resources of game, entertainment, etc. and also using AFX export final goods for developers. I use a lot area of interest during this process.

    My question is present in all AE CC 2015, starting with the first versions and is present in the latest version. In CC 2014, it works very well, and in all the computers in the studio 2015 CC question is exactly the same as in my computer. Also tried in front of my computer at home and it's the same thing.

    At the same time I got the two CC 2014 and 2015 installed first, he was handsome and in 2015 it is buggy

    A problem like this. What region of interest is selected, and I draw a rectangle of the region. When I click and hold on one of the edges of the region, at the same time all screen disappeared and is not refreshing until I have let go of the mouse button. So when I just want to crop and a few graphcis export a composition, I need to click the edge, the slide and blindly let her go and then see if its properly positioned. If this isn't the case, I need to move again, blindly again.

    I tried to change the graphics card drivers, changing the quick previews in end, adaptive, tweaking a lot of preferences, but it's the same thing every time.

    This isn't exactly a critical problem and is not compromising a stable demand, but it's annoying nevertheless. This process takes longer, then it should.


    Below are the screenshots that I presented at Adobe when bug report. It is a presentation of what it looks like.

    https://DL.dropboxusercontent.com/u/836611/AE_BugReport_screenshots.zip

    Can anyone else confirm if you have this problem, and if you have it and found a solution.

    I was hoping that if I post a discussion here and a lot of people the confirm maybe Adobe would do something.

    I must say that CC 2015 is one of the worst and least stable/functional after effects versions I have all worked with. So many bugs that are wasting time and energy.

    Thank you

    Nenad Ahmed

    This bug has been fixed in the Ae latest version 13.8 - I remember he read somewhere, in any case, have a look here:

  • See the second LOV after submit first LOV without ajax

    Dear,
    How to display a second LOV populated after the sending of the first LOV without using ajax.
    Please could someone help me.

    THX.
    Celio

    Published by: Celio on 15-Sep-2009 22:33

    Hello

    Yes, I had the same problem. Make a calculation.

    Item name: LOV2
    Type: SQL expression
    Point calculation: After submit
    Computing: NULL VALUE

    Conditions
    Condition of type: Request = Expression 1
    Expression 1: LOV1

    This means that when you change the value of the LOV1 and LOV2 returns null.

    Mike

  • After you apply the hotfix, button Submit seems to be different in the OFA page

    Hi all

    Recently, we have applied a fix to the db in one of our cases of development and we are now able to find the difference, it's originally. The difference is, in the OA Page submit button seems to be a little different.

    Fixing of the screenshot, FYR

    Note: This is instance 11i in which the hotfix is applied (db is 12 c version)

    Kindly share your thoughts

    Thank you

    Valsaint

    Check the solutions mentioned in the links below.

    Button style - OA frame display

    The button resembles html button not like OPS button

    See you soon

    AJ

  • Unable to connect to the administration via the regional service console server after 11.1.2.2 installation

    Hi gurus,

    I have installed and configured the services foundation, eas and essbase in windows 2003 server, afteEA r configuration I have observed that there are no tables for eas schema then I found that it was a bug and applied patch and set up again it has been successfully configured.

    When I tried to connect to the administration via the regional service console server. He States unable to connect to the administration server. everything else works.

    I see only 4 services in services.msc

    Oracle hyperion configuration manager

    EMP web server application

    opmn services

    OSH services

    all services are started with the exception of oracle hyperion configuration manager. I tried to start, but it does not start... is - this service has an impact on the administration server.

    I checked the logs, I can't find anything in easserver.log.

    any suggestions?

    Kind regards

    Kumar

    Looks like you have deployed web applications to a single managed server that is running on a port by default of 9000, then try to add the server to the Regional service as servername:9000

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Variable setting wrong with dynamic action for the region of report

    Hello

    I can't setting a variable. Here are the details of connection:

    Connection information:

    TCARMY workspace

    User Apex_dev

    Password dev_apex

    Application 88542

    Page 11

    If you run the page 11 and just click on submit, there will be two rows. If you click on one, the modal region won't say no data found. If you click on the button submit once again, the value is passed if you click on it now, the results arrive. If you click on the second row, it still shows the value of the first row. If you click on submit again after clicking on the second line, then it is displayed correctly. It seems that the value is set to submit it. I want this to work when clicked, and then for the sql to run with the value that is in this variable when clicks on the element. There is a bit of javascript page level and dynamic action. Something is not right to the installation.

    The modal window should popup and run the sql at that time with the variable data and view the two columns. And if the user clicks on the second row, it would display the data in the row.


    Thank you

    Tim

    TC-army wrote:

    If you run the page 11 and just click on submit, there will be two rows. If you click on one, the modal region won't say no data found. If you click on the button submit once again, the value is passed if you click on it now, the results arrive. If you click on the second row, it still shows the value of the first row. If you click on submit again after clicking on the second line, then it is displayed correctly. It seems that the value is set to submit it. I want this to work when clicked, and then for the sql to run with the value that is in this variable when clicks on the element. There is a bit of javascript page level and dynamic action. Something is not right to the installation.

    What has not been set up right, it's that the element of P11_NAICNUMD parameter was not specified in the source attribute of Page to go to the region, modal Discount. The current value in the browser page, therefore, was not defined in session state when the report has been updated by the dynamic action. When

Maybe you are looking for

  • The IP address of my iCloud account is blocked

    The IP address of my iCloud account is 210.50.217.228 - this address appears on three blacklists. When people send me emails (my mother especially!) these messages sometimes crash and the sender receives an error message. How can I fix? Thank you ver

  • Bootcamp/windows 10 Pro installation process fails

    Machine: MacBook Pro (retina, 150inch, Mid2015) El Capitan, 10.11.4 Processor 2.8 GHz 16 GB Mem New MacBook with an instance of Time Machine saved from previous MacBook Pro Trying to install fresh Windows 10 Pro 64-bit image on a new 130GB partition

  • Tecra S3 wireless driver not on the Toshiba site

    Hello Can you please help me to install my card wireless on Tecra S3? I can't find the driver on the drivers toshiba download page, but there is a software to configure the settings for it. I don't have the Toshiba rescue CD, and I really need to use

  • missing partition

    Hi, I've been a user of XP sp3 with a disk partitioned for years and suddenly last Sunday my D: partition became unavailable hollow win Explorer, he is still there, intact, according to dskmng, it's ok but I can't touch except through firefox... what

  • Configure button disabled on the playback device, manage audio devices. How can I reactivate the button Configure?

    Hi, following an automatic update of Windows Vista 64-bit I have no sound. Thank you for that.   I had a similar problem before, the sound quality has been reduced to a rate lower than 16 bit 44.1 k.  I've changed this before clicking on the button c