Generic procedure for the development of the item application of javascript?

For now, all I can think about is a javascript function call to an application process, which looks like this:

function setVariableValue (pName, pValue) {}
var gReturn;
get var = new htmldb_Get (null, $x('pFlowId').value, 'APPLICATION_PROCESS is odpSetVariableValue', 0);
get.addParam('x01',pName);
get.addParam('x02',pValue);
gReturn = get.get ();
get = null;
}

odpSetVariableValue
Start
immediate execution ':' || wwv_flow.g_x01 | ' := ' || wwv_flow.g_x02;
end;

Is there a function of APEX to do without "immediate execution"?

Igor

Hello Igor.

I think you can do the same thing without actually executing a PL/SQL process (see here for an example).

function setVariableValue (pName, pValue) {}
get var = new htmldb_Get (null, $x('pFlowId').value, 'APPLICATION_PROCESS is dummy', 0);
Get.Add (pName, pValue);
var gReturn = get.get ();
get = null;
}

(The dummy application process are really...)

Greetings,
Roel

http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.Logica.com/

You can assign this answer to your question in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • Value of the item application in javascript

    I'm sorry that if this question has been asked, I can't find a clear answer on how to search through the forum.
    I'm trying to access the value of an element of the application in javascript.
    I tried $v('APPL_ITEM') and $v('APPL_ITEM').value, when I try with alert ($v('APPL_ITEM')) or ($v('APPL_ITEM').value) alert poster null or undefined.
    I saw the session state, view all and see my request item hah a value.
    How can I use the value of an element of application money in a JavaScript function.

    Kind regards
    Mark

    Brand:

    Application parts are not part of the HTML page generated by APEX and are therefore cannot be referenced using javascript. You can however write a JS function that uses AJAX to retrieve the value of the element of the request of session state. Something like

    function getappitem(appitem){
      get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=GETAPPITEM',0);
      get.addParam('x01', appitem);
      gReturn = get.get();
      get = null;
     // alert (gReturn)
    return gReturn;
    } 
    

    And and ODP named GETAPPITEM with the following code

    HTP.PRN(v(APEX_APPLICATION.G_X01));
    

    You can now call "getappitem" in JS like

    getappitem ('TEMPORARY_ITEM') to get the value of the application element named "TEMPORARY_ITEM".

    CITY

  • Try to highlight the item application via javascript

    Hello

    I don't know what I do wrong here someone maybe can enlighten us? I have the following in my
    Header HTML of my login page
    <script language="JavaScript1.1" type="text/javascript">
    function setAppItem(val){
      var req = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=dummy',  
      &APP_PAGE_ID.);
      req.add('F_LOGIN_MESSAGE', val);
      var gReturn = req.get();
      req = null;
    }
    </script>
    
    <script language="JavaScript1.1" type="text/javascript">
    function doLogin()
    {  
      var err = false;
    
      alert(document.getElementById('P101_USERNAME').value);
    
      if((document.getElementById('P101_USERNAME').value == '') ||
        (document.getElementById('P101_PASSWORD').value == '')) {
    
        setAppItem('You must enter a username and password.');
        err = true;
    
      }
    
      if(!err) {
        doSubmit('Login');
      }
    }
    </script>
    The setAppItem function is called, but it does not put the text of elements of application?

    Thanks in advance for any help!

    Hello

    Check your page now.
    I think you don't need any point or set those.
    Just the value internal node HTML DOM.

    BR, Jari

  • Set and get the value of the item application in Javascript

    Hello guys,.
    Can you tell me an example how to set and get the value of the application element in Javascript, and how do I check if the value of the point of application is null in Javascript, too. I have read a few replies, but nothing worked (e.g. $x (app_item), $v (app_item), $s (app_item) and so on).

    Thanks in advance!

    To get the value of an element, use the following syntax:

      alert("The value of MY_TEST_ITEM is " + $x("MY_TEST_ITEM").value);
    

    to set the value that you have just made

      $x("MY_TEST_ITEM").value="Set to this value";
    

    Keep in mind however that you need to send the page in order so that he could be picked up by APEX - javascript is CLIENT SIDE, ONLY! Either that or use AJAX to put on the side server.

  • Hook the user to create the entry for the item

    Hi all
    I'm working on R12
    I have a requirement to create an entry element as and when a record SIT is created with a particular segment of this record with a special code.

    something like segment1 = backward and segment2 = approved

    I need to create an entry for the item when a record SIT is created with segment1 as arrears and approved segment2.

    I'm looking at the approach of user hook... How is it possible?

    Enjoy your entries...

    Thank you
    SRS

    Open the form when the user to enter the SIT.

    In the menu help--> diagnostic-->--> personalize a custom code.

    Enter a description for your extension, and then set level - to play safely so that it fires for the entire organization.

    Enter the trigger event, before INSERTION. Condition: SIT.NAME = "your name to sit here."

    Action tab
    Type: Builtin
    Builtin type: run a procedure
    Argument: name of the PLSQL procedure

    Maybe you can add a message before and after all to all, for debugging.

  • How to prevent "a request for the item is now underway."

    Hello guys,.

    Im getting this error very often, is there a solution to this?

    Error: Requested Item is not available. A request for the item is now underway.
    at mx.data::ConcreteDataService/resolveReference() [C:\depot\DataServices\trunk\frameworks\pr ojects\data\src\mx\data\ConcreteDataService.as:2203]
    at mx.data.utils::Managed$/getProperty() [C:\depot\DataServices\trunk\frameworks\projects\dat a\src\mx\data\utils\Managed.as:183]
    to sgrh::_Super_Empresa/actividade() [C:\wlcds\sgrh\src\sgrh\_Super_Empresa.as:198] get
    at mx.data.utils::Managed$/internalCompare() [C:\depot\DataServices\trunk\frameworks\projects \data\src\mx\data\utils\Managed.as:648]
    at mx.data.utils::Managed$/arrayCompare() [C:\depot\DataServices\trunk\frameworks\projects\da ta\src\mx\data\utils\Managed.as:696]
    at mx.data.utils::Managed$/internalCompare() [C:\depot\DataServices\trunk\frameworks\projects \data\src\mx\data\utils\Managed.as:608]
    at mx.data.utils::Managed$/ http://www.adobe.com/2006/Flex/MX/Internal: Compare () [C:\depot\DataServices\trunk\framewor ks\projects\data\src\mx\data\utils\Managed.as:522]
    to mx.data::ConcreteDataService / http://www.Adobe.com/2006/Flex/MX/internal:getDataListWithFillParams ([C:\depot\DataServi ces\trunk\frameworks\projects\data\src\mx\data\ConcreteDataService.as:3751])
    at mx.data::ConcreteDataService/internalFill() [C:\depot\DataServices\trunk\frameworks\projec ts\data\src\mx\data\ConcreteDataService.as:7178]
    function / < anonymous > () [C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\C oncreteDataService.as:1317]
    at mx.data::ConcreteDataService/fill() [C:\depot\DataServices\trunk\frameworks\projects\data\ src\mx\data\ConcreteDataService.as:1336]
    at mx.data::DataManager/fill() [C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\d ata\DataManager.as:1560]
    to _Super_FuncionarioService / getByEmpresa () [C:\wlcds\sgrh\src\sgrh\_Super_FuncionarioService .as:341]
    at mz.mysoft.sgrh.telas::ListaFuncionarios/reset_clickHandler() [C:\wlcds\sgrh\src\mz\mysoft\ sgrh\telas\ListaFuncionarios.mxml:58]
    at mz.mysoft.sgrh.telas::ListaFuncionarios/__reset_click() [C:\wlcds\sgrh\src\mz\mysoft\sgrh\ telas\ListaFuncionarios.mxml:84]

    Kind regards

    Marie Pierre

    Errors of ItemPending means that the customer of data services will look for an item that has been marked as lazy or load on request.  This should be an event waited and managed by the code of any ACE that touches a collection of table who has lazy elements in it.  Eg the AsyncListView in Flex component automatically manages these errors, as the DataGrig Halo (mx:DataGrid).

    See the documentation on the mistakes of ItemPending here: http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WSc3ff6d0ea77859461172e 0811f00f6f6de - 7ffcUpdate.html #WSc3ff6d0ea77859461172e0811f00f7045b-7f4aUpdate

    Tom

  • The poor Internet behavior Device Manager error "' there is no selected for the item or a set of device driver information."

    Original title: poor Internet behavior.

    I bought a laptop Lenovo X100e used with Windows 7 Professional. It was a great computer, but when I go on the internet, it behaves as if the connection is slow or wobbly, even if the connection is fast. This is especially true of the streaming video, who stutters so much, it is virtually impossible to watch Netflix or YouTube or any other video streaming service. It is also a great computer so I really want to solve this problem, rather than buying another computer.

    I used this laptop on my network domestic WiFi so much and a direct connection with the same behavior. I diagnosed my network speed and its good, usually around 20Mps, again I tried this laptop in public places like Whole Foods, and it has the same: wobbly connection. I have an old Dell Latitude that works and it works great on the same network internet and I used my phone on my wifi at home and it works fine, so it's clearly the Lenovo.

    The network cards are 11 b/g/n Wireless LAN Mini-PCI Express Adapter II and Realtek GBE Family Controller christophepaille. I checked the drivers for the two (using Device Manager), and they are both currently. I used the function "diagnose problems" and found nothing. I googled for problems with them and have not found much.

    There is also a Qualcom Gobi 2000 listed (it's a WAN wireless driver for Windows 7) under other devices and he says "there is no driver selected for the item or a set of device information. I tried updating the driver, but got an error message saying "Cannot find Windows driver." software for your device I have no idea if this is relevant.

    In addition, the laptop plays the video without any problem if it is a file on the local drive, such as mp4, so I don't think that the video problem is in itself. It is the general communication with a network. Again, I don't think it's a problem of wifi because I get the same behavior, even if I plug a cable network directly to my router.

    Also, I tried several browsers updated, including Chrome, Firefox and IE. In addition, I ran several antivirus scans, and nothing is found.

    Any help would be greatly appreciated.

    (1) run chkdsk as follows:

    A prompt by right clicking and select "Run as Administrator"
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volume to check the next time that the system/PC reboots,
    Enter: y

    Now, restart the PC.

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php
    Note: Unfortunately now includes a lot of bloat-ware, be very careful when installing remove bloat-ware.

    =====================================================================

    2) run the SFC/scannow command. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    =================================================================

    If SFC Scannow could not repair any or all the corrupt system files
    follow these steps:

    (a) open a command prompt (start / all programs / accessories)
    Right click on the command line option, then select: run as administrator

    (b) at the command prompt, enter: DISM.exe/online/Cleanup-Image /ScanHealth

    Press the ENTER"" key.

    (c) then enter: DISM.exe/online/Cleanup-Image /RestoreHealth

    Press the ENTER"" key.

    (d) now rerun the command SFC/SCANNOW...

    At the command prompt, enter: SFC/scannow

    J W Stuart: http://www.pagestart.com

  • There is no driver selected for the item or a set of device information

    There is no driver selected for the item or a set of device information

    Error message when I try to update the mouse driver or video driver. Windows 7

    Hello

    Thanks for posting your question in the Microsoft Community.

    From your problem description, I understand that you can not update the driver. Please let me know if this isn't the problem that you are experiencing.

    I understand the inconvenience caused to you. I will help you solve the problem.

    Before troubleshooting, I have little information about the issue.

    1. When exactly do you get this error?
    2. Did you of recent changes to the computer before this problem?

    Try installing the driver in compatibility mode. Here are the steps how to install drivers in compatibility mode.

    (a) place the driver on the OfficeSetup file.

    (b) make a right click the driver installation file and select Properties or compatibility tab select the appropriate options in entries to the displayed image.

    (c) click apply, and then click OK.

    (d) right click on the file and select run as administrator to install.

    I also recommend that you contact the manufacturer of the hardware device, and you learn about the support of future drivers for Windows 7.

    If the problem persists, post your reply with results and questions above. We are happy to help you further in the advanced troubleshooting steps!

    It will be useful.

  • Procedure for the number of working days per month when the user enters to and from everyday

    Hi all

    Can provide you a solution to this - procedure for the number of working days per month when the user enters and days.

    Suppose that the user enters November 18, 2014 start date and date as November 23, 2014.

    The output should display

    Count: 4

    November 18, 2014 Mar

    Sea 19 November 2014

    November 20, 2014 game

    Fri November 21, 2014

    It will exclude Saturday and Sunday.

    Hello

    Here is an example of removing dates Saturday and Sunday:

    with days as(
         select (trunc(sysdate, 'YEAR') + level) as col from dual
         connect by level < 365
    )
    select * from days
    where trim(to_char(col, 'DAY', 'NLS_DATE_LANGUAGE=ENGLISH')) not in ('SATURDAY', 'SUNDAY')
          and col between to_date('18.11.2014', 'DD.MM.YYYY') and to_date('30.11.2014', 'DD.MM.YYYY')
    order by col;
    

    Cheerz,

    Stako

  • What is the procedure for the use of two monitors?

    What is the procedure for the use of two monitors?

  • OS5 stops Javascript when the backlight is off or time &gt; 10 seconds - is this a problem for the WebWorks applications?

    I read that the OS5 browser stops all scripts once the backlight turns off, or if the script takes longer than 10 seconds to run. The problem is that the scripts will automatically restart (!). I really hope this isn't the case for the WebWorks applications, I can't have the app stop working if the backlight turns off. If the general development of BB moves towards HTML5 and JS and expects to have success, this kind of problem cannot exist.

    WebWorks for OS5 doing?

    No, this time-out does not occur for applications WebWorks... only for pages running in the browser.

  • Can someone please explain to me why the Metro of Windows 8 for the WSJ application contains all THE STORIES?

    Can someone please explain to me why the Metro of Windows 8 for the WSJ application contains all THE STORIES?   I have the WSJ app on my Kindle Fire and he has indeed all the stories that are included in hard print.   And why the hell not the app allows for offline reading?

    Also, why hell isn't there a WSJ application for windows phone 8?   I know there is a WSJ direct application that shows videos, but I want a real WSJ app that shows all items.

    Original title: Wall Street Journal APP

    You would be better served if you asked these questions WSJ that they control if an application exists and is happy.  Hope this helps and if you need another post to help and we will be happy to help you.

    The above opinion is mine and mine nothing and does not necessarily reflect that of Microsoft, it's employees, or any other Member of this forum

    "When we try to take anything by itself, we find it hitched to everything else in the universe."-John Muir

  • eTRM for the Fusion Applications

    Hello

    Anyone know where we can find the eTRM for the Fusion Applications (as the E-Business Suite of eTRM).

    eTRM = electronic technical reference manual

    Concerning

    Gray

    Hello Kamal,

    You can use http://fusionappsoer.oracle.com for the same purpose.

    Hope this helps,

    Oliver

    Fusion applications Developer Relations

    https://blogs.Oracle.com/fadevrel

  • Whenever I try to update the 6 CS Master Collection that I encounter the error Code: U43M1D207 for the following applications: Prelude CS6 1.0.2 updated; Adobe SpeedGrade CS6 6.0.4 update; and Adobe Audition CS6.

    Whenever I try to update the 6 CS Master Collection that I encounter the error Code: U43M1D207 for the following applications: Prelude CS6 1.0.2 updated; Adobe SpeedGrade CS6 6.0.4 update; and Adobe Audition CS6.

    your download has been altered.  You may need to use another connection.

    Error in downloading, installing or updating Adobe Creative Cloud applications

  • The Aperture/iPhoto import plugin also works for the new application 'Photos' of Apple?

    The Aperture/iPhoto import plugin also works for the new application 'Photos' of Apple?

    Hi David,

    The Lightroom Plugin any pictures of pictures.

    However, you can import the images from the folder of the master of Photos.

    Please let us know if it helps.

    Kind regards

    Tanuj Sandal

Maybe you are looking for

  • I have iCloud password, but I can't sign iPad

    Hello team Apple, I have iCloud and Apple id and password but I can't sign my iPad. I'm already connect his work on computer browser. but do'not id and password in the iPad. Please help me Respect of Martin Archambault

  • Exchange of hard disks

    Is it safe swap hardrives running windows 7 between two t420? I read in the past that the OS is related to the material and making such an Exchange will cause errors or blue screen.

  • Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM

    System: Toshiba Satellite A-75 WIndows XP Home EditionFully updated with Svc Pk 3HITACHI Travelstar hard drive 80 gig Nice day I'm getting this ' file is missing or damaged:------WINDOWS-SYSTEM32-CONFIG-SYSTEM ' error and Windows does not start in th

  • Computer Windows XP will not print web pages.

    original title: IMPRESSION of NIGHTMARE IM ON XP; MY PRINTER DOES NOT PRINT WEB PAGES, IVE TRIED BU (PRINT FULL SCREEN), IT SHOWS ONLY A PAGE OF A4 INTO TWO HALVES SEPARATE PORTRAIT. CAN SOMEONE PLEASE HELP.       PS IT PRINT IMAGES OKAY.

  • My computer is stuck in power saving mode

    Hello. I need your help guys. My computer won't come out of power saving mode. I was chatting with someone on MSN and light of my computer went from blue to orange and my screen went black and I got the message "power save mode, press any key or move