The call for a process of application using JS by a button

Hello

I need to create a button that deletes the entire table All_References lines.

I have created a new process of shared components "Delete_All_References" call, then set it to run on demand.

PL/SQL block:

Begin
Delete from All_References;
End;
/

In the HTML header of the page on which lies the button 'Remove all references' or P13_DeleteAllReferences, I entered in the following:

< script language "JavaScript" type = "text/javascript" >
function Delete_All_References()
< /script >

I have then entered the settings button, set the action to "defined by dinamic action", then added onchang = "javascript:Delete_All_References();" "in HTML table cell attributes.

According to most of the tutorials when I click the button remove all the button of refereneces, my table should now get clear but it doesn't.

Can you guys please help?

Thank you and best regards,
Diez

The onchange event will work fine. Change the button back to a normal button instead of linking to a dynamic Action for now.

The only other thing I see which can cause a problem is your call to the method itself.

OnChange = "JavaScript:Delete_All_References();" »

Need to replace...

OnChange = "JavaScript:delete_all_references();" »

The called javascript method is case-sensitive.

Let me know if it suits it.

Malay Keith
www.blackhawkenterprise.com

Tags: Database

Similar Questions

  • The call for a process when you click the link export v4.1.1.00.23

    Version 4.1.1.00.23

    Hello

    I have 6 Classic reports on the page.

    Each report has link active Export.

    I need to insert the set of results that is questioned about the report in a table. Each report is independent of each other.

    Each report has its own table to insert the result set in.

    My thought was to call a process Page when a user has clicked on the link export, but the process is not known. I put: apex_application.g_print_success_message: = 'Insert '; in the process of the Page to tell if the process was called. I think that the process is not called because the page is not sent when the user clicks on the link to the export. It is purely a guess.

    What I tried:

    Working with just the first report, I created a page element hidden in the region of the report and created a calculation before heading for the region ID.

    SELECT region_id
    FROM   apex_application_page_regions
    WHERE  application_id = :APP_ID AND
           page_id = :APP_PAGE_ID AND
           region_name = 'My First Report Region'
    

    Then on the wording of the link for the link export in the attributes report I put:

    < a href = "f? "p = & APP_ID.:124: & SESSION.: FLOW_EXCEL_OUTPUT_R & P124_ESSCSD_REGION_ID._en - us" > Export CSV - my first data reports < /a >

    The Condition, that I used in the process of the Page is:

    Point process: submit now - after calculations and Validations

    PL/SQL -: REQUEST = FLOW_EXCEL_OUTPUT_R & P124_ESSCSD_REGION_ID._en - us

    of course, that didn't work so I tried it - "FLOW_EXCEL_OUTPUT_R" | & P124_ESSCSD_REGION_ID. | "_en - us

    and I tried it - "FLOW_EXCEL_OUTPUT_R" | : P124_ESSCSD_REGION_ID | "_en - us

    None of which worked.

    SO, can someone help me with a solution called a process to insert the data in the report, when the Export link is called?

    What information can I I provide/clarify?

    Thank you

    Joe

    Knew that I had seen cela somewhere... Try to watch this blog of Martin D: D'Souza Giffy Martin on Oracle APEX: APEX report download recorder

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Questions about the call for a process of a web site

    Question regarding the appeal process.  I'm new to this part of the technology and I don't know that many would know how it works.  We have a Workbench process that must be called from a remote web site.  The process could take a parameter... That is to say an ID.  The process will then query the database and return a Boolean value to the site and then this site might perform a specific operation.   My question is, are there examples out there that someone could provide which can show how this can be done?  What do I need in my site (I don't know how to configure the buttons create OnSubmit processes and very familiar with javascript, html)?  I think that, somehow, it can be done with SOAP or REST?  Thank you very much in advance for any help.

    You just need a form in HTML with elements (for example textbox - string, file - document etc.) with the same name as the name of the process input parameter and the action attribute of the form must be URL REST of process-oriented.

    For example: for a process(short-lived) having REST URL: Http://localhost: 8080/rest/services/WatchedFolder...  with a parameter in the XML and the document as an output variable, we will use the HTML code below:

    Call REST sample endpoint

    http://localhost: 8080/rest/services/WatchedFolder... method = "post" enctype = "multipart/form-data" >

    Chose a file to send to the process.

    file:

    When you click on submit, the output document would be opened in the browser automatically after submitting the form.

    -Wasil

  • the call for a process of apex after a javascript called the same key

    A url button calls a procedure of java script in the header,
    but then I need a process by their Summit to run after that.
    How can I do that.
    Thank you
    Doug

    Hi Doug,.

    A few questions for you...


    1. What features are you trying to reach?

    2. What APEX version do you use?

    3. When you say 'process', do you mean "process Page"?

    There are certainly ways to submit the page and trigger a process page to run via JavaScript, but it would be good to better understand your needs before offering has some solution first.

    Kind regards
    Anthony.

  • the size of your hard drive is not supported for this process. Please use a hard drive at least GB in size

    Whenever I try to use my restore disks of backup with the image of the system when I bought my Dell 8300 desktop computer I get this error message (your hard drive is not taken in charge for this process. Please use a hard drive at least GB in size.

    My computer crashed went to blue screen that wouldn't everything now I hear 4 beeps, finally I managed to do start on. I already ran the long diagnoses everything was fine.

    Here's my problem. I changed the Sata AHCI RAID mode I could create a partition then my Windows 7 downloaded CD Windows 7... my CD of drivers dell drivers, but now I'm unable to use my system restore CD to restore like I always do when I have a problem. When I changed the sata mode to AHIC on load it says (lack of operating system)

    I'm not very technical, so if someone can show me step by step on what I should do or give me a call [Admin Note: personal information removed] I would appreciate it a lot. I've added a few pictures as well

    Large. I am pleased that my DBAN guide has helped you.

    Now that you are on the factory settings, I advise Dell DataSafe Local Backup uninstall and upgrade to the latest version of Dell backup and restoration which has many bugs/improvements, including the ability to restore to another hard drive which is useful in case the hard disk fails in the future or you decide to upgrade later to an SSD. The XPS 8300 running perfectly with a SSD, I have mine put in place with one. Then you can create a Rescue Disk (external hard drive Bootable) or Backup factory (Bootable USB Flash Drive) that will be promoted the recovery compared to the facts media with Dell DataSafe Local Backup. See here for more details:

    http://dellwindowsreinstallationguide.com/Dell-backup-and-recovery/

    Note This is not a UEFI BIOS (he missed just out on the passage to the UEFI) but may start from an external hard drive.

  • LightroomCC2015 just disabled use.stating I need to purchase a license. I'm running on the plan for this and other applications. How do I fix this, please?

    LightroomCC2015 disabled just use of the develop Module. Indicating that I need to buy a license. I'm running on the plan for this and other applications. How do I fix this, please?

    Please see the troubleshooting section below.

    Reference: creative judgment Cloud 2015 to return to the mode of trial

    Let us know if that helps.

    Kind regards

    Mohit

  • I have the key for Windows 7 Professional, I use this key to activate Windows 7 Home Basic Edition?

    Original title: Please help me

    I have the key for Windows 7 Professional, I use this key to activate Windows 7 Home Basic Edition?

    No, you will need to purchase a product key to activate Windows 7 Home Basic Edition.

  • Connection to the Service of PAPI process when you use LDAP

    We have Oracle BPM 10.3 put in place with the help of LDAP as a directory for the participants. To connect to the service of process PAPI we want to use a system id which is a user but not put in place in LDAP. How can we do this? Y at - it a special group of role or security necessary for this user, i.e. should the privileges of the user Admin process?

    Hello
    Yes, this will definitely need a password, which is the same as the password that you will use to connect to the system (workspace BPM or the external application that makes calls PAPI).

    The way we have implemented is: we have a J2EE application (app A) external which makes use of calls papi, deployed on weblogic. The BPM engine is also deployed on the same weblogic domain. The BPM application can then be configured to be used in mode Single Sign On and deployed. In such a scenario when a user types in the url for the workspace BPM, the login page for app has will be shown.

    The Protocol LDAP that you use to configure the BPM directory also lets you create a security provider in the field of the safety of the weblogic (using the weblogic console). This will ensure that any application (in this case Soft A) deployed on weblogic will use this users/groups to this LDAP for authentication purpose. This completes the installation, and we need A app and BPM application both authenticating to the same LDAP protocol and application of BPM is set up in SSO mode.

    When the user comes to the login page of the appA, the corresponding servlet can store the password in the session and then to the app worklist page (if you wish). BPM login page not coming, since BPM can authenticate the user based on the login in the appA. Later (let us say that during the execution of the external task; when the appA servlet is called from BPM), you can use the password stored in the session to create the object papisession for the logged in user.

    I recently started a blog, where I have an example of PAPI (as it is one of the issues preferred users BPM). You can check

    http://satinderblogs.blogspot.com/2009_11_01_archive.html

    HTH
    Simart

  • the call for a Vision Acquisition Express VI into a loop

    Hello. I worked on a project for a while now, and I seem to come to a brick wall. I'm relatively new to IMAQ, but I think I understand some of them.

    We will call our test user Bob.

    Bob must be able to see what the camera sees, and when the camera focuses on a barcode, Bob must press a "Capture" button, which will be the last image of the continuous acquisition and use this image for reading codes bar and later analysis of the data.

    Bob is however facing a problem. Its block diagram is implemented in two different ways, both giving the same result. (see attached photos). It is within a sequence structure, that is in turn inside a while loop, which can be exited at any time. To prevent an automatic bike in the great loop, the first image of the sequence above is a structure of the event that allows the process to continue when you press a button "New Capture". What is going on? The first time through the sequence, Bob gets good results. However, after the execution of all the while loop, the image of the camera, which should be displayed in harmony with what the camera sees up to the "Capture" button, is just a white background.

    What could be the cause of the express VI do not qualify the second time through the loop and beyond?

    Thanks in advance.

    (EDIT 1: image of the façade was added after the problem occurred)

    Still, this does not seem to solve the problem. A capture finished as determined in the Express VI is the only way I found to call the express VI an infinite number of times. It works for my case, so I'll close the debate.

  • The call for a third party lib/jar

    I got this blackberry tutorial to work using native code:

    ---
    The tutorial
    http://InfoCenter.Sybase.com/help/topic/com.Sybase.InfoCenter.dc01214.0200/doc/HTML/title.html

    the zipper to the tutorial already done:
    http://www.sdn.SAP.com/irj/BPX/index?RID=/WEBCONTENT/UUID/40ea4956-b95c-2e10-11B3-e68c73b2280e

    ---

    Now that I got this race, I need to run in WebWorks

    I managed to create all the code and I need plugins, but I can't get the last piece to work:

    when I add the pot inside the plugin: I get the following error message when I run the app

    > MyApp from error: Module 'MyApp' has verification error 1691 to
    > offset (file version of code 79) 0ed9

    when I push the jars manually: (it is the operation of the application to native code) I get a classnotfoundexception when I try to call in the form of code libraries.

    My conclusions are:

    -in the case I put the pots inside my plugin, the code is not written in a way that BBWP can compile properly and causes errors when you run the application. This can only be corrected by the authors of the lib.

    -where I push the lib on the phone, I think Miss me something in my config to indicate my webworks project to use the files that are outside the project.

    so my question is :

    How to make a project of webworks blackberry to use the libraries I have deployed on the device in the same way as the blackberry eclipse plugin?

    Therefore, scenario 1

    OK, you'll have to do the following things to use:

    (1) write a Java extension that uses this library. Follow the Jeff tutorial on how to get set up and extended using the eJDE/JDE. It will essentially be a library project that has the library of Sybase on its classpath. Test it, make sure that everything on the Java side works as expected.

    (2) copy or package your extension in a subfolder of your choice in the folder "ext" package WebWorks Manager installation.

    (3) library of part of copy the 3rd POT in the same subfolder created in step 2 to the root of your package structure.

    (4) create the library.xml to the extension and make sure you include the tag of dependencies that Jeff has mentioned above. He needs to reference the JAR correctly.

    (5) to deploy Sybase COD files on your device.

    (6) add the tag from your config.xml of your WebWorks app file extension.

    (7) performance bbwp to build your App WebWorks deploy to the device and it should be able to link to the library of Sybase correctly.

    What you do in steps 3 and 4 says bbwp to include the JAR files to the classpath when you compile your application with the extension. This will allow the application to compile successfully. The contents of the JAR are now part of the file of your application WebWorks COD and hopefully will allow him to link during execution with the cod of the library prédéployées.

    Let me know if this worked for you.

  • Call for a process of page by clicking a link

    I have a report of the Apex with several lines and a column of link in. I would like to be able to call a page process to work on the line with the clicked link... I also need a couple of settings somehow to the process page that he calls a procedure that requires the parameters to operate correctly.

    So-
    When I click on a link on a line... maybe a couple of hidden objects page get ready.
    The page is then submitted and my process calls the procedure by using the values of the elements defined above as its parameters.
    Control is subject to the original page.

    So, basically, I'm trying to allow a user to perform repetitive actions on each line.

    My thought was to use a URL in the link and perhaps Javascript... or I am barking the wrong tree and is there a better way rather than a link?

    Thoughts?
    See you soon
    Ken

    You have the right idea. JavaScript is the way to go. Assuming that the values that are passed are part of this line of data, you can build the call to process JavaScript.

    Create two hidden objects on your page, make sure that they are not protected.
    say P1_CITY and P1_STATE

    Say your city query included and the State, define a column in the report as a link of the URL target with the following url

    JavaScript:MyFunction('#City#',_'#State#');

    Then set a javascript function in the HTML header section page

    function myFunc (City, pState) {}
    $x_value ('P1_CITY', City);
    $x_value ('P1_STATE', pState);
    doSubmit ('RUNPROC');
    }

    Then a process on the page did you want and which is conditional on the APPLICATION = "RUNPROC."

  • The sound allows you to check the default speakers. However, some applications use some speakers while other applications use different players.

    I produce several channels on mogulus. (see http://theallyvideo.blogspot.com/)

    I use a HP desktop computer smart touch and a few laptops from Sony to run the application studio to mogulus.com.

    Use the mogulus studio, I can watch multiple video streams live as sources and monitor outgoing video as well. There's my video stream live from other computers/producers in 4 different States more video feeds of my two laptops. NOTE: see www.mogulus.com

    I am running Vista on all three machines. (I found that XP cannot handle 4 video stream, I got up to 9 with Vista.

    Audio wise, it has worked on all three computers.

    Mogulus studio, use Adobe to handle all audio and video.
    I can turn on or off the sound of my guests so I can hear them and coordinate that I then put on the air and see how long they need.

    The outgoing video monitor also has an audio mute button. When using the PC's built-in speakers, it's a MUST to mute the audio monitor outgoing when you go live, and then reactivate the sound when he in transmitting the other guests, or playing pre-recorded clips.

    I also have a Microsoft keyboard with maximum volume down and cut the buttons on my desk. Two Sony laptops have the same keys and worked perfectly, controlling the built-in speakers. The keys make it easier to mute the speakers to use the key mute in the studio during the 'live '.

    I had another option for speakers of inhibition to avoid the Larsen effect. It is to plug headphones into the headphone jack on the monitor.
    I could connect the headset, do some direct ads, spots a show pre recorded, disconnect the headset and wander in the 'studio' listening to the show through PC speakers.

    So far has worked flawlessly, with two small problems.

    • (1) I sometimes forgot to mute the speakers when I spotted my local webcam and microphone. This would cause comments as soon as I saw the video and it came out alive. The microphone pick up the sound from the computer speakers.
    • (2) the microphone integrated into the HP desktop computer doesn't have a good sound. The mic's Sony are OK, but too far from my mouth to provide good storytelling.

    I decided that the Microsoft LX3000 USB integrated boom Mic headset would be the perfect complement to solve these two problems. I bought three of them, so I would have them on computers cell phones too.

    I installed the LX-3000 CD according to the instructions. Then I plugged in the USB cable to connect the headset/microphone.

    The sound of the headphones was superb. The boom Mic on the headset is a huge improvement over those built in monitors or webcams.

    Mute the Mic and speaker volume up/down on the cord of the LX-3000 is a convenience too.

    Use the headset no sound PC speakers. So, the echo is therefore more a problem.

    Use of the helmet, it is not necessary to mute the speakers. They are now closed all the time now. So, I go live, make an announcement, then play a prerecorded segment.

    That's where everything went south.

    I take off the headphones so I can take a coffee. I realize that now, I have no way of controlling the segment recorded through the speakers. I have no way of knowing when the segment is about to finish and I need to rush to the computer to make the next segment or live announcement. Being attached to the PC by a foot 3 cord isn't good at all.

    I try to do what I did with the analog headphone. Unplug the headphones to re - turn the speakers.
    No luck there. The speakers are still silent.

    I plug the USB headphones in. NOW I have no sound through speakers or headphones. The microphone in the headphones works well. like the mute of the microphone on the cord of the headset. Reduction in the volume of the buttons on the headset cable move the sliders up and down in the windows sound mixer, but no sound anywhere.

    I re - start.
    Now I get sound from the earpiece. But, not the speakers. All the volume keys on the keyboard, monitor and headset cable + / up and down the volume sliders but have no effect on the speakers or headphones. The helmet is at full volume all the time and PC speakers are silent.

    I look in the Control Panel, "speakers". I see that the 'helmet' has a green check mark and don't "speak". I select speakers and press the button "default". The speakers now have a green check mark.
    No change...
    I reboot...
    Now, the speakers work, but the headphones does not work. Volume controls move the sliders, but do not effect the speaker volume. None of the buttons mute function.

    This is totally unacceptable. The only way to switch between speakers and headphones is through the re-booting the PC and Control Panel. Cannot do when playing a mixture of 15 the second live commercials ads and 30 seconds.

    This is where it gets weird.

    While in Internet Explore on the page of mogulus studio, or Flash media encoder, the outgoing audio monitor goes to the HEADSET. If I start another copy of Microsoft Internet explore and reveal my mogulus channel drive, the sound of it goes to the PC SPEAKERS.

    Looking at the volume mixer, I see that if I select the "peripheral" "as speakers SoundMax integrated Digital HD Audio", there is only one application, the 'Sound' volume control and control the sound of the IE. players page.
    If I select "Device", "Microsoft LifeChat LX-3000" I get two Windows sounds and Mogulus Studio applications"

    I get the same results on two laptops from sony.

    NOW FOR THE QUESTIONS.
    OK, so how can I tell Blender what applications go to what audio output?

    Can I set up so that as the studio flash applications will both headphones AND PC speakers.

    Can I make the speaker MUTE button on the keyboard and screen work as they did and set mute the speakers for PC only. That would leave the headphone speakers all the time.

    Except that how can I at least get the +/-and mute keys to work as they did.

    Thank you
    Bob

    Bob, you can proceed as follows which allows different devices to be chosen for different applications in Windows:

    Close all programs, are preparing to open the first program which will use headphones...
    -Right click on the Volume icon and select playback devices
    -Select the headset as default device and open the program that you want to use this device, it will play on the current default device (helmet)
    -Now right click on the Volume icon and select playback devices, set speaker to the default device
    -Open the program you wish to play on the speakers

    The original program will continue to play on the headphones and the second program will continue to play on the speakers.

    Because of the helmet to helmet USB when you unplug them this device is disconnected (uninstalled) completely, she's not as expected with analog headset.

    Where you disconnected the analog headphone the BIOS of the machine would automatically re - routing the sound to the speakers, I do not think, however, that a secondary feature differentiating the speakers in the headphones would be available in the playback devices in this instance.  This is due to the sound card as the primary and the only device in this case and the speakers/headphones being secondary speakers or all outputs simply.

    You will be able to mute/unmute/volume adjustment for all devices in the Volume mixer (the switch A B device with the menu of the device), but I'm not aware of a way to run a stream audio reading by another device using the commands of its standard Windows at this time.

  • How to recover the call for a silent call

    Hello

    I put in work AbstractPhoneListener in my application. Is there a way I can get a silent call notification as there are reminders for the holding of a callHeld() call and call resume callResumed(). I know that there is no appeal in AbstractPhoneListener interface. Is there any other drink so that I can get silent call notification?

    Concerning

    Prashant

    getStatus () of the PhoneCall class you will get the status of the call... In your case, it will return STATUS_CONNECTED_MUTED (which is a public static int in the same class)

    Thank you!

  • Move the message to the handler for pre-processing

    Hi all

    I'm moving sense of an event a pre-treatment post-treatment handler. The logic of treatment used the EntityManager to save the attribute, this is applicable to a prior process?
    Thank you
    Ron

    In a handler to pre-process the value added in the orchestration, for example orchestration.addParameter (, );

  • The call for a SQL Server SP in PL/SQL Server

    I'm currently run a remote stored procedure (SP) on the system of MS SQL Remote Oracle Server.

    It is where I am currently and if I'm not mistaken this call must be correct:

    ---------
    DESC 'dbo '. "GetIdByLoginEmail"@mssql
    PROCEDURE GetIdByLoginEmail"@mssql
    Name of default input/output argument type?

    @login VARCHAR2 IN
    @email VARCHAR2 IN
    result_set_handle REF CURSOR OUT

    * refcursor variable r *.
    * exec "dbo." "GetIdByLoginEmail"@mssql('test','[email protected]',:r) *.
    BEGIN "dbo." "GetIdByLoginEmail"@mssql ('test', '[email protected]',: r); END;

    *
    ERROR on line 1:
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [Transparent gateway for MSSQL] [A04B] An incorrect number of parameters passed to saved the query specification
    dbo. GetIdByLoginEmail(). It has 3 parameters and not 2 as indicated.
    ORA-06512: at line 1
    ----------

    Anyone has an idea why this call fails? I can't find a lot of resources on this topic.

    Take a look at Metalink note:
    Article no.: Note 351400.1
    Title: How to call a remote procedure to Sybase using TG4SYBS

    It was written for TG4SYBS, but works for MS SQL Server, too.
    This note contains a sample how to call a foreign procedure using ref Cursor through the gateway.

Maybe you are looking for