How to do a partial update of a form and a report on the same page?

Hi all

Im trying to make a page where you have a report on the top, and when you click on the link instead go to the form page, the form on the page is on the bottom of the report. Let's say that im trying to send an id from the report to the item below so that I could go get the rest of the element. However when I pass, other elements would still refer to it as null.

If I am not wrong it could be done with the quote, but I want it to be partial refresh...

I tried the steps detailed here, but it didn't work when the lower part is an also a report:

https://forums.Oracle.com/thread/2345863

I also tried, but this actually submits a page...

Base Oracle: Tutorial Apex - form & amp; Report shares the same page

would it not possible to get a form and a report in a partial refresh page?

Post edited by: T101_cyberdyne

Hello

Do you mean something like this:

http://Apex.Oracle.com/pls/Apex/f?p=vincentdeelen:26:26

If so, you must create a dynamic action with a javascript action to set the id of the report line in the form of code field and further action from pl/sql to retrieve the record based on the identification number. You can use this record to set the shape of other items in the field.

For the example in the link above, the code is as follows.

action of javascript:

var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text)

$s ('P26_EMPNO', empno)

action of PL/SQL:

declare

cursor c_emp is

Select * from EMP

where empno =: p26_EMPNO;

BEGIN

for r_emp looping c_emp

APEX_UTIL. SET_SESSION_STATE ('P26_ENAME', r_emp.ename);

APEX_UTIL. SET_SESSION_STATE ('P26_JOB', r_emp.job);

APEX_UTIL. SET_SESSION_STATE ('P26_MGR', r_emp.mgr);

APEX_UTIL. SET_SESSION_STATE ('P26_HIREDATE', to_char (r_emp. HireDate, 'dd-mon-yyyy'));

APEX_UTIL. SET_SESSION_STATE ('P26_SAL', r_emp. SAL);

APEX_UTIL. SET_SESSION_STATE ('P26_COMM', r_emp.comm);

APEX_UTIL. SET_SESSION_STATE ('P26_DEPTNO', r_emp. DEPTNO);

APEX_UTIL. SET_SESSION_STATE ('P26_ORDNO', r_emp.ordno);

end loop;

END;

Make sure you list the item id in the field "Page of Items to submit" and ALL your form elements in the field "Page of Items of return" as follows:

http://www.vincentdeelen.com/images/OTN/plsql_action.PNG

A screenshot of the configuration of dynamic action:

http://www.vincentdeelen.com/images/OTN/dynamic_action.PNG

Kind regards

Vincent

Tags: Database

Similar Questions

  • Error update of two reports on the same page! Could you please have a look?

    Hey guys!

    I have the following situation:

    two updated reports on a single page with ID "DATE_REPORT" and "WORK_REPORT".
    two processes of pl/sql on submit after named 'SUBMIT_DATE' and 'SUBMIT_WORK' c...
    two buttons named 'SAVE_DATE' and 'SAVE_WORK '.
    Finally, the process of the insert and update are conditioned to a request = 1 where for the "DATE_REPORT" Expression, it is set to 'SAVE_DATE' and 'WORK_REPORT', it's logically on 'SAVE_WORK '. There is no condition extra button.

    My problem: I press any button, the table is accumulation in the columns of the first report and continues to add lines of the second report.

    For example: "DATE_REPORT" has 11 lines and "WORK_REPORT" has 9 lines. In debug mode, I see that the picture is piling using the 'DATE_REPORT' although 'SAVE_WORK' has been accepted as a demand. The same problem vice versa for the other update.
    ......column CNT_ARBEIT_CRIT_DATE mapped to WWV_Flow.g_f02
    ......column LNG_ARBEITSSCHRITT mapped to WWV_Flow.g_f03
    ......column STR_ARBEITSSCHRITT not mapped - not stateful.
    ......column DATE_GP_X_START mapped to WWV_Flow.g_f04
    ......column DATE_GP_X_END mapped to WWV_Flow.g_f05
    ......column DATE_R_X_START mapped to WWV_Flow.g_f06
    ......column DATE_R_X_END mapped to WWV_Flow.g_f07
    ......column LNG_GEBIET mapped to WWV_Flow.g_f08
    ......column CS not mapped - not stateful.
    ...array has 20 row(s). Used f08 to count.
    
    Validate report columns(ApexLib_TabForm.validateColumns)
    Row 12 has checksum error. ORA-01403: no data found ORA-01403: no data found ORA-01403: no data found
    ...Row 12
    ...LNG_ARBEITSSCHRITT
    ...CNT_ARBEIT_CRIT_DATE
    ......is not required
    ...LNG_GEBIET
    ......is not required
    ...DATE_GP_X_START
    ......is not required
    ...DATE_GP_X_END
    ......is not required
    ...DATE_R_X_START
    ......is not required
    ...DATE_R_X_END
    0.00: A C C E P T: Request="SAVE_WORK"
    How can I make sure that the tables are made from the reports which are the subject of the update?

    Thank you very much for reading this post and give help if you have an idea!

    Kind regards

    SEB

    Published by: skahlert on 13.03.2010 10:57

    Hi Sebastian,.

    what you want to achieve is indicative of the browser not to send the region A fields when you want to commit region B.

    You have several options:

    (1) do not make the region all the (conditions of the region)
    (2) send any content and to ignore the lines of region A in your area of PL/SQL
    (3) the region has to withdraw before submitting the page (for example with jQuery: jQuery("#__).remove())

    But maybe you should start by rethinking your application, do you really want 2 different TabForms on a single page.

    Peter

    + Blog: http://www.oracle-and-apex.com+

  • How to have two Interactive reports on the same page.

    Hello
    I have a requirement where I need to have two interactive reports in a page where the user can select lines in the two reports by a line selector & send the page to the transformation.

    Please let me know is direct or workaround for this problem at the APEX 3.1.

    Thanks in advance.

    Hello

    Apex do not support having more than one IR on the page.
    See this post for circumvention of blob Roels
    http://roelhartman.blogspot.com/2009/03/two-interactive-reports-on-one-page.html

    Kind regards
    Jari

  • Update of Firefox, and now all of the web pages and icons are inflated. How do I put back it as it was?

    Update of Firefox, and now all of the web pages and icons are inflated. How do I put back it as it was?

    Hello

    Firefox on Windows is now after display, scaling options that can make the biggest text on screens at high resolution.
    You can adjust the resolution of your screen.
    To change it follow these steps:

    • Type of topic: config in the Firefox address bar and hit the Enter key.
    • If the warning that this might void your warranty , click I'll be careful, I promised.
    • Search for layout.css.devPixelsPerPx

    • Double-click layout.css.devPixelsPerPx to edit its value. The default value is - 1.0 in Firefox 22 and above. Change it to 1.0 to run as in previous versions of Firefox.

    If necessary, further adjust the value of 0.1 or 0.05. Values between 1.0 and around 0.5 to reduce the size of the elements. Use a value greater than 1.0 to increase the size. For example, a value of 1.25 will increase the font size of the 125% to account for the default DPI setting in Windows 8. Check the value that you enter. Definition of a value that is too small will take everything away and too high will explode things.

    If the web pages should always be adjusted so you can watch the extension Default FullZoom Level or NoSquint .

    To adjust the font size for the user interface, you can use the extension of theme font & size changer .

    This solve your problems? Please report to us!

    Thank you.

  • I have a few updates that will fail and she keeps offers the update of these points - I noticed that he often has to do with something related 64-bit.

    I updated my newly installed Windows 7 Pro (64) and many update took place, BUT...

    I have a few updates that will fail and she keeps offers the update of these points - I noticed that he often has to do with something related 64-bit.

    How document and fix this?

    Welcome!

    See if using the auditor system in Windows files can repair the files of Windows updates:

    https://support.Microsoft.com/en-us/KB/929833

    Similarly, you can reset Windows updates by following this here:

    https://support.Microsoft.com/en-us/KB/971058

  • How to load several HTML5 canvas on the same page (the right way)

    Hello

    I struggled to load several animations of canvas on the same page. At the beginning, I thought that export movies with different namespaces and reload the libraries in a sequential workflow might work, but it doesn't. It still load just the last loaded movie. More info here: coding challenge: what am I doing wrong?

    Here's a sample of what I'm doing:

    1: publish two flash animations with namespaces customized to "lib" defined in the "publication settings": "libFirst" and "libSecond".

    2nd: Edit the canvas tags in the HTML page. One called "firstCanvas" and another one called "secondCanvas".

    3rd: change the javascript like this:

            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsFirst = createjsFirst||{};
                var createjs = createjsFirst;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/first.js"></script>
            <script>
                function initFirstAnimation() {
                    var canvas, stage, exportRoot;
    
                    canvas = document.getElementById("firstCanvas");
                    exportRoot = new libFirst.first();
    
                    stage = new createjsFirst.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
    
                    createjsFirst.Ticker.setFPS(libFirst.properties.fps);
                    createjsFirst.Ticker.addEventListener("tick", stage);
                }
            </script>
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsSecond = createjsSecond||{};
                var createjs = createjsSecond;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/second.js"></script>
            <script>
                function initSecondAnimation() {
                    var canvas, stage, exportRoot;
    
                    canvas = document.getElementById("secondCanvas");
                    exportRoot = new libSecond.second();
    
                    stage = new createjsSecond.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
    
                    createjsSecond.Ticker.setFPS(libSecond.properties.fps);
                    createjsSecond.Ticker.addEventListener("tick", stage);
                }
            </script>
    
    <body onload="initFirstAnimation(); initSecondAnimation();">
    
    
    
    

    Could someone please answer with best practices on how to do it? If possible, without the need to reload all libraries...

    If I only need to show a flash animation at the same time, it would be more efficient to cut/paste the canvas using jQuery tag in the DOM and reload a different lib on this subject?

    Thank you very much!

    #flash #reborn

    I was able to remedy. In the end, it was easier than I thought. Just publish using namespace different 'lib' for each film, load all the scripts at the end of theand add the following in the onload or ready events:

    $(document).ready(function () {
    
            var canvas, stage, exportRoot;
    
            // First movie
            canvas = document.getElementById("firstCanvas");
            exportRoot = new libFirst.first();
    
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
    
            createjs.Ticker.setFPS(libFirst.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
    
            // Second movie
            canvas = document.getElementById("secondCanvas");
            exportRoot = new libSecond.second();
    
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
    
            createjs.Ticker.setFPS(libSecond.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
    
            // Third movie
            canvas = dument.getElementById("thirdCanvas");
            exportRoot = new libThird.third();
    
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
    
            createjs.Ticker.setFPS(libThird.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
    });
    
  • 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. *

  • I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?

    I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?

    You can activate it without a SIM card. If it is locked, it takes a SIM card by the carrier, for it is locked. The SIM card should not be linked to an active line of service, but it must be present to activate it.

  • How can I know what power adapter is mine since we both have the same for macbook pro 2013?

    I mixed my adapter upward with my friend and we both have the same adapter for macbook pro and mine is almost more recent than its adapter. I need to know how can I know who is mine?

    I doubt that you can unless it adapt serial numbers or other identification on the cards.

  • Is it OK to delete the update number 2 after the new update has been entered IE number 6 of the same program?

    to delete the update number 2 after the new update has been entered IE number 6 of the same program

    original title: he is allowed to delete the previous updates of files

    Hi Carl,

    I suggest you go through this article to Java which can be useful.

    Why should I remove old versions of Java in my system?

    Removal of previous versions of the .net Framework is based on the applications that are running on the computer.

    For applications, if you have an application based on any .NET Framework on the computer, you cannot delete it since you have need to support the application runs correctly.

    .NET framework 3.5 SP1 includes .NET Framework 2.0 SP2 and 3.0 SP2. This means that .NET Framework 2.0 and 3.0 can not be deleted because they are the sine qua non of .NET Framework 3.5 SP1. If you have any application based on .NET Framework 3.5 SP1, please do not remove .NET 2.0 SP2, 3.0 SP2 and 3.5 SP1.

    I would also not to uninstall the security updates that are important for the security of your computer.

  • How can I make my default email address Qwest and get rid of the Windows Mail in Internet Explorer.

    I tried to change my default email address in IE from my old Cableone address to my new address Qwest.  I followed the steps on the Web site of Qwest, but now my emails are transferred to Windows Mail and remove from Qwest.

    How can I make my default email address Qwest and get rid of the Windows Mail?
    If you want to use Webmail and not Windows Mail, an e-mail client, just remove the Windows Mail account in tools | Accounts.
  • How to create an action link that goes to a section that is 'hidden' in the same page

    Hello

    OBIEE 11, I have a dashboard page that has section 1 as a guest, 2 which shows an analysis that contains a chart and article 3 that shows the details of the graph. I have an action to link this graphic article 2 connection to the details in section 3. However, I would like my report to the do not appear in article 3 as long as you press the link of action. Is there a way to 'Hide section 3 until you press the link action?' Thank you!

    Hello

    Try to avoid the double-display: How to create an action link that goes to a section that is 'hidden' in the same page

    Felipe_Idalgo meets the other post (and he posted the best answer to your needs), in order to continue the other thread instead of opening another.

  • How to add / remove UOMs of NET, TARE and GROSS weight on the business page?

    How to add / remove UOMs of NET, TARE and GROSS weight on the business page?

    I've also attached the screenshot of what I want to add / remove.

    I am currently using v6111.11

    Please do the needful.

    Thank you

    Nefertari

    You can set up your display of the user interface by using the user interface extensibility. You can learn more about the extensibility of the user interface in the Pack of extensibility.

    Here is an example of javascript that you can use to filter the fields weight gross and net.  You can add a var and tare weight.  The script is the targeting of fields based on their identification. You can find their identity papers using the tools of the developer of the browser. For example, the tare weight UOM dropdown ID is "ctl01_CtlPackagingAttributeCU1_ctlCollapsibleContentContainer_ctl00_ddTareWeight" you can find all the pkids GLU in the UOM db table.

    Make sure you have no business page in the system with all UOMs filter you selected.  If so, these selections will be lost.  You can further customize this script to include the selected UOMs if you prefer.

    ----------------------------------------------

    function filterUOMs() {
      var NetWeightAllowedUOMs = ['',
    '2125C9F3D300-AA30-446E-8332-F177CD142950','2125B86219F3-9C78-4a6e-ABD2-506D34BCE275','2125AAC32296-A303-4d7f-B4EF-BA2003573D3E','21257FBD57ED-79FC-44be-8F0D-82E4045ACDD1','21252CEBFF48-9690-408c-AA79-6B7CAAA35D0A','21250E2887F6-6A3E-4862-A7FD-BDCDF75A404D','2125042958D3-E33A-4537-B029-098D065AF1A3','21256C0CC1E3-378A-43bd-B6E2-F7A0A23B42DA','2125586D8B32-95B9-4ebe-BDC1-285420735436','21255703D0DF-B497-4400-A716-38D674693954','21251C1A1522-134D-45a4-BC6B-6E3DEA51F740','212514d3bd78-29b3-495a-a852-3028f0a60b34'];
    
    var GrossWeightAllowedUOMs = ['',
    '212514d3bd78-29b3-495a-a852-3028f0a60b34','21251C1A1522-134D-45a4-BC6B-6E3DEA51F740','2125586D8B32-95B9-4ebe-BDC1-285420735436'];
    
      var majorNetWeight = $("select[id='ctl01_CtlPackagingAttributeCU1_ctlCollapsibleContentContainer_ctl00_ddContainerNetWeightMajor']"); // find Container Net weight major UOM drop down
      if (majorNetWeight.length > 0) { // if drop down exists, compare each option and remove those not in allowed UOMs
      majorNetWeight.find('option').each(function () {
      if ($.inArray(this.value, NetWeightAllowedUOMs) === -1)
      {
      $(this).remove();
      };
      });
      }
    
      var minorNetWeight = $("select[id='ctl01_CtlPackagingAttributeCU1_ctlCollapsibleContentContainer_ctl00_ddContainerNetWeightMinor']"); // find Container Net weight minor UOM drop down
      if (minorNetWeight.length > 0) {  // if drop down exists, compare each option and remove those not in allowed UOMs
      minorNetWeight.find('option').each(function () {
      if ($.inArray(this.value, NetWeightAllowedUOMs) === -1)
      {
      $(this).remove();
      };
      });
      }
    
      var GrossWeight = $("select[id='ctl01_CtlPackagingAttributeCU1_ctlCollapsibleContentContainer_ctl00_ddCUGrossWeightUOM']"); // find Container Net weight minor UOM drop down
      if (GrossWeight.length > 0) {  // if drop down exists, compare each option and remove those not in allowed UOMs
      GrossWeight.find('option').each(function () {
      if ($.inArray(this.value, GrossWeightAllowedUOMs) === -1)
      {
      $(this).remove();
      };
      });
      }
    };
    
    $(document).ready(filterUOMs);  // execute filtering when page is loaded
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(filterUOMs); // execute filtering when a section is refreshed, like clicking gross weight calc
    
  • How to create fields in double on the same page?

    Hello

    I use Adobe Acrobat Pro and I just downloaded DC, in the hope that it works better.  I am creating a field duplicate on the same page.  When the drop-down list option is selected in one place, I would for the same answer to appear in another location, on the same page. I tried to copy/paste and "Create several Copies", but whenever a copy is created, Adobe assigns a unique number to distinguish it from the original.  From what I read in the help forums, the name of the fields must match. I tried to rename the fields, but adobe won't let not two fields have the same name.  The section forums and help also claim that when the copy of a field, it automatically gets the same name as the original, which does not happen in my case.

    What I am doing wrong?

    Thank you!

    The 'number 1' you see is just a way to indicate that it is a copy. They have fields

    in fact having the same name and their values must be the same (if it's a)

    drop-down menu, if you will not have to leave the field of the updated value,

    or check the option to validate the selected value immediately, under

    Properties - Options).

    Wednesday, November 11, 2015 to 18:14, pg74002189 [email protected]>

  • I have CS5 on Windows desktop 8.1 which I'm unable to update due to the repeated download error (no error number). I uninstalled and reinstalled CS5 but the same error occurs. I have same CS5 on Windows 7 laptop which seems to be up-to-date. What's wrong

    Issue. I have CS5 on Windows desktop 8.1 which I'm unable to update due to the repeated download error (no error number). I uninstalled and reinstalled CS5 but the same error occurs. I have same CS5 on Windows 7 laptop which seems to be up-to-date. What is the problem please?

    Hi Peter,.

    Please see the updates

    Hope that helps!

    Kind regards

    Sheena

Maybe you are looking for

  • My Apple ID can not put Visa card please check my problem

    For assistance, contact Support for iTunes at www.apple.com/support/itunes/ww/.

  • Satellite P300D 10V - problem with TV OUT

    Hello! I have a card ATI HD3650 in my Toshiba Satellite P300D 10V model and I can't use my TV out!It does not work! How to start! I use a newer driver of origin! With the previous driver output TV not too worked! Kind regards!

  • Impossible to upgrade to El Capitan 10.11.2

    Have tried several times to upgrade to 10.11.2.  Whenever it comes to the recovery, I get a box that says that the available updates have changed, please click "View details", but after clicking, the details never present themselves.  I went through

  • Why my ListView items cannot display on a single line?

    ListView { preferredHeight: ui.du(20) id: keyItemList dataModel: _nao.keyItemList leftPadding: 20 rightPadding: 20 // layout: StackListLayout { orientation: LayoutOrientation.LeftToRight headerMode: ListHeaderMode.None } listItemComponents: [ ListIte

  • View the non-visible objects in SQL Developer

    Hello, I have created a few display objects in SQL Developer, and he succeeded since I got the message 'See V_REPORT.' createdHowever, I can't see it in the tree view on the left. It is completely empty. In trying to create the view once again, I get