Submit / run HTML on submit - after calculations and Validation
HelloI use this code to send SMS, I want to run using PL/SQL process on submit - after calculations and Validation.
http://xxxxxx.biz/api/api_http.php?
username=xxxx&password=xxxx&senderid=SMSALERT&to=&P8_MOBILE.,&P8_MOBILE2.&
text=&P8_TEXT.&type=text&datetime=2013-01-07%2010%3A48%3A53
Is this possible? How?I use APEX 4.2 on Glassfish 3.1.2 listener 2.0, Oracle 11 g R2...
Kind regards
Fateh
Hi Fateh,
try to use the utl_http package to make a http request.
For example:
declare
t_http_request utl_http.req;
t_http_response utl_http.resp;
t_text varchar2(32767);
begin
--Setup your http request and get http response
t_http_request := utl_http.begin_request();
t_http_response := utl_http.get_response(t_http_request);
--Process the response
begin
loop
utl_http.read_text(t_http_response, t_text, 32766);
--do something with the response
end loop;
exception
when utl_http.end_of_body
then
utl_http.end_response(t_http_response);
end;
exception
when others
then
utl_http.end_response(t_http_response);
raise;
end;
Also, make sure that you have configured the network ACL to perform the http request.
Take a look at this page http://www.oracle-base.com/articles/11g/fine-grained-access-to-network-services-11gr1.php for info on this subject.
Kind regards
Erik-jan
Tags: Database
Similar Questions
-
I get a missing keyword error. Can you tell me what is the problem?
Don't know if I should use the where either...SELECT CASE WHEN PLT_SHIP_UNIT = 'Cases Only' THEN ((PLT_HIGH*CS_HT + 5)*1920)/1728 WHEN PLT_SHP_UNIT = 'Mastercases' THEN ((PLT_HIGH*MC_HT+5)*1920)/1728 ELSE ((PLT_HIGH*SHPR_HT)+5)*1920)/1728 END FROM DOC_PROD_SPECS; --WHERE PROD_SPECS_ID = :P11_PROD_SPECS_ID;
Alex,
You had many too close parens on the Else statement
SELECT CASE WHEN plt_ship_unit = 'Cases Only' THEN ( ( plt_high * cs_ht + 5 ) * 1920 ) / 1728 WHEN plt_shp_unit = 'Mastercases' THEN ( ( plt_high * mc_ht + 5 ) * 1920 ) / 1728 ELSE ( ( plt_high * shpr_ht ) + 5 * 1920 ) / 1728 END FROM doc_prod_specs;
Jeff
-
Our site has a standard login page that I can't change. But I want to run code 1) after logging in the application (not APEX!) and 2) before the first page of the user of the application. How could I (can I?) put it on a page that runs invisible and then transfers it to the first page of the user application? Also, it would be great for testing I could reiniitalize easily between test scenarios without having to log in again.
Thanks - HowardYou could put it on page 0 and condition the process so that it works only on the login page.
-
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
-
After popupURL, must close the window, submit the value and redirect the other window
Hello
I use 4 APEX for development.
Use the following URL target in my main page
JavaScript:popupURL('f?p=&APP_ID.:99:&APP_SESSION.::&Debug.::P99_PORT_ACC_HEAD_TAX_ID:&P20_PORT_ACC_HEAD_TAX_ID.',300,300);
This opens the page 99. On page 99, I need to collect some required information. Once a user clicks on the button "send" in the pop-up window, the following actions are needed:
1. an update of the database in the new value column... create a process, but it does not work because the page closes do not submit.
2. close the pop-up window, which I use javascript:window.close();
3 redirect the original page 20 to page 15
Can someone please give that some advice?
Thank you
LingIf you are on apex 4, achieve dynamic Action that runs on the key
- With the first real action runs the PLSQL code required (make sure that you add the elements of the page has changed to "Page elements to send field")
- The second real action can be of the Js code and put it in your code.
-----------------------
Another way a bit more complicated (but works with all versions of the apex) is generating the JS code in PLSQLIf your button (in the popup page) submits the page
You will have a PLSQL process that performs the necessary treatment on the sidelines.
After the treatment, you add the somee code that generates the code JSIt would be like
BEGIN /* Do your PLSQL Processing here */ /*Js Code to close page etc Note that this code will be run only after the PLSQL and on the next page load, don't try to mix up JS and PLSQL expecting a JS code(between two PLSQL blocks) to run between the PLSQL blocks. Remember JS runs in browser and PLSQL in server, so all JS code waits till page is reloded */ htp.p(''); END;
---------------------------------------------------
Another method is to add the JS code to an onload function performed only under certain conditions, he said when a page element is defined with a specific value. You set this element of the page with this is completed only once the PLSQL block value, where the JS code executes only after treatment and not on each load of laundry.
Use one of these methods depending on what feels easy/comfortable for you.
-
Submit the form and run the ColdFusion function?
Hello!
I have a coldfusion form. What I need to be able to do is to submit the form and do run a ColdFusion function that I defined. Is this possible? If so, how?
I know it's possible with a JavaScript function.
Thank you!
function saveResults () {}
}
' action =' http://pluto2/brandi/serverstats/saveresults.cfm ' method = "post" >
Your function is used if I understand your needs. The
the form action will determine what action submit resource
applications. Make nature without HTTP account status / & resposnes.
This resource will have no information of this application, unless you do
something to pass.The solution that requires any change to your code is simply
put the appropriate information service in the action of the form.
' action =' http://pluto2/brandi/serverstats/saveresults.cfm/link?query=#sql# '
method = "post" >
If you're open to the biggest change to your code, it might
probably be simplified and more preformant with the use of persistent
scopes such as session and | or application to store results and | or
the given sql so that the second application that use the same exact data
don't have to regenerate it. -
Hello
I installed an Alfred Workflow (see code below) that will mark all my mails as read. After you run it for a minute, the mail has crashed and I had to forcequit. However, now, when you open the Mail it crashes instantly, even after restart and repair the permissions. I also used the Ctrl + C and CTRL-Z commands in the Terminal to leave the alfred_script, but nothing helped. I'm running out of ideas here, so I hope you could help me either reinstall the mail.app. I could always just switch to a different mail application, but it's kind of a last resort.
Code:
Tell application "Mail".
Define allAccounts on each account name
Repeat with currAccount in allAccounts
the unreadMboxes value (each mailbox to the account currAccount the unread number is not 0)
Repeat with currMbox in unreadMboxes
(read status of each message to currMbox including the playback State is set to false) true value
end repeat
end repeat
tell the end
Any input would be greatly appreciated. Can post the report of crash on demand.
Not sure that Alfred's, but it's just an Applescript script and it would not cause Mail to be planted.
However, when running through all the messages, it is possible Mail database has been corrupted and it crashes because of this.
I'll probably get anything out of the accident report, but others might.
My first instinct would be to rebuild the mailbox. Because you can't do that with him crashing, you can simply delete the databases and it will rebuild them.
Navigate to this folder:
~/Library/Mail/v3/MailData/
You can either manually through the files, or copy the full path and paste it into go the folder in the menu go to the Finder.
Remove the envelope Index files. Open Mail and see if it works well.
If your library does not appear in your folder, hold down the Option key and select library in the menu go to in the Finder.
-
Is it possible to make a PDF interactive on a Web site so that a user can submit the information and the information is sent to an e-mail account?
Hi ayrtont99139624,
Yes, you can create interactive PDF forms using Acrobat or InDesign that can be downloaded on the Web site in order to collect information from users.
See the help link - below
Acrobat: -.
InDesign: -.
Kind regards
Nicos
-
I just downloaded the app for creative cloud thing and I am looking for Ae After Effects and I don't see it anywhere. I am running windows 7 help...
After Effects requires a 64-bit computer and operating system.
Are you running 32-bit or 64-bit Windows?
My PC running the 32-bit version or 64-bit Windows? -Windows help
-
How to submit the billing and shipping information in a form
Hi Techies,
I want to know how in atg we can submit both shipping and billing under the same form. What formhandler we need use? Allows any code sample.
Thank youYou can use ExpressCheckoutFormHandler with little customization.
Or you need create a new FormHandler extension PurchaseProcessFormHandler to capture both.
Peace
Shaik -
After calculation of s does not as expected
Hi all
Can someone explain the result of the test below.
When I run my P2_FLAG page displays the "INITIAL" value I expected to see "CHANGÉ" because I thought that the calculation must be updated once all parts are processed and before the page is sent to the browser. I couldn't find any documentation that tells exactly how calculations "after regions or" behave, but [this site | http://www.apexsolutions.de/blog/allgemein/interactive-report-without-initial-results/] suggests it should work the way I expected.Region 1: Item : P2_FLAG Source Used : Always Source Type : Static Assignment Source Value : INITIAL Region 2: Contains a SQL Report that does "select deptno, dname from dept" Computation: Item Name : P2_FLAG Type : Static Assignment Computation Point: After Region(s) Computation : CHANGED Conditions : (none)
I am doing something wrong, misunderstandings of computation points, or y at - it a bug?
I use APEX 4.0.2.00.07.
Thank you.Hello
After calculation of the regions is executed after your item is rendered in the HTML document.
It will only affect the value of the session state from the question, no value you can see in the HTML documentKind regards
Jari -
Hello
I have a PC running Windows XP Pro on which I run several programs. After the opening of a few applications, I have this message "not enough memory".
When I have this message, I can't open another application, or those in Windows... I have 2 GB of memory and only 700 MB are used.
If I open the calculator several times (about 65 times), I have the same result.
Sometimes, I get no error message, but the application does not open.Someone knows why?
Thank you
Hello
You did the chnages on computer before this problem?
I suggest you go through the steps of the following atrticle.
"Not enough memory" error message appears when you have a large number of programs running.
Note: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ )
How to back up and restore the registry in Windows. -
Bugcheck after format and re install Windows 7 BS Bluescreen
Nice day
I formatted my hard drive the other day (31/05/14), since my computer has been crashing with blue screens like crazy - at least two to three times a day. The system is a customized version of the year, and I've updated all my drivers and software. I did my best to try to understand why it keeps crashing, including repair of windows, memory diagnostics, disk hard scans, Mr Fix It, removing overclocks, etc, etc, but I failed. I can say with certainty that the event viewer reports the same codes of each hour. It's as follows:
The computer was restarted after a bugcheck. The bugcheck was: 0x0000007f (0 x 0x00000000000406f8, 0 x 0000000000000008, 0000000080050033, 0xfffff80002ec3d3d). A dump was saved in the: C:\Windows\MEMORY. DMP. Report ID: 060114-19749-01.
The specifications of the system are:
ASUS p8z77-v lk
Intel Core i5 3570 k (returned to the stock clock, formerly overclocked to 4.5)
7950 vapor-X (returned to the stock clock, formerly overclocked to 1150, 1500)
8 GB corsair vengeance
Hard drive 1 TB seagate (primary)
HDD 2 TB seagate (for steam games)
Hitachi 500 GB (used for photos and backups from norton)
Windows 7 Professional
As stated above, my drivers are all up to date, just like Windows. Any help would be appreciated.
Edit: I am now downloading my memory.dmp to Sky Drive. I'll post it once it is completed.
Edit:
Memory.dmp
https://onedrive.live.com/redir?RESID=81FD46DCA3892436%21107
Information System
https://onedrive.live.com/redir?RESID=81FD46DCA3892436%21111
Hello
The link above is to an empty folder however the memory.dmp and the information system are both
available from the link below.Given that you re-installed Windows leading to this material or something that loads low.
Don't forget to update the BIOS, chipset of low level driversand major embedded and separate
separate device drivers.Bugcheck 7F, {8, 80050033, 406f8, fffff80002e8ff24}
ERROR: Module load completed but symbols can be loaded for iaStor.sys
Probably caused by: iaStor.sys (iaStor + 4b2a)Notice the 08 (double fault) as 1st parameter means there are likely two cases involving
hardware and/or software in any combination.iaStor.sys dated driver Intel Rapid Storage Technology 01/02/2012 .
fffff880 '01025000 fffff880' 013c 9000 iaStor (no symbol)
Loaded symbol image file: iaStor.sys
Image path: \SystemRoot\system32\DRIVERS\iaStor.sys
Image name: iaStor.sys
Timestamp: Wed Feb 01 16:15:24 2012 (4F29D59C)1. check with ASUStek support, their drivers and documentation online and ask in their forums
on known problems.iastor.sys = Intel Matrix Storage Manager driver - see ASUStek and chipset manufacturer. This driver
may was pushed to the fault by other programs such as Symantec/Norton.This driver is extremely difficult to install if you need help of ASUStek, but you could also ask
in the forums of ASUStek.Also check the downloads from Intel after HP drivers.
Intel downloads
http://Downloadcenter.Intel.com/Intel Matrix Storage Manager - do not forget to check DATE and set for the version of Windows and chipset
http://Downloadcenter.Intel.com/SearchResult.aspx?lang=eng&keyword=%22matrix+Storage+Manager%22More help on installing iastor.sys here (check with HP first and use it as a last resort).
2. Norton/Symantec and MBAM could be involved in this problem so I uninstall them and run
removal tools to avoid problems causing remains. Instead, use MSE - free and run TDSSkiller.exe
search for rootkits.Norton Removal Tool
https://support.Norton.com/SP/en/us/home/current/solutions/kb20080710133834EN_EndUserProfile_en_us?product=home&PVID=f-home&version=1List of tools to clean/uninstall anti-malware programs
http://answers.Microsoft.com/en-us/protect/wiki/MSE-protect_start/list-of-anti-malware-product-removal-tools/2bcb53f7-7ab4-4EF9-ab3a-6aebfa322f75Uninstallers (removal tools) for common antivirus software
http://KB.eset.com/esetkb/index?page=content&ID=SOLN146MSE - free
http://www.Microsoft.com/en-US/Download/details.aspx?ID=5201TDSSKiller.exe. - Download the desktop - so go ahead and right-click on it - RUN AS ADMIN
It will display all the infections in the report after you run - if it will not run changed the name of
TDSSKiller.exe to tdsskiller.com. If she finds something or not does not mean that you should not
check with the other methods below.
http://support.Kaspersky.com/viruses/solutions?QID=2082806843. also check these:
Stop error message when you run an application that transfers data using the UDP protocol
in Windows Server 2008 R2 or in Windows 7: "STOP 0x0000007F"
http://support.Microsoft.com/kb/981180/The General causes of errors "STOP 0x0000007F" (applies to Vista and Windows 7 as well)
http://support.Microsoft.com/kb/137539A search - 0x0000007F
http://support.Microsoft.com/search/default.aspx?mode=a&query=0x0000007f&SPID=14019&catalog=LCID%3D2057&RES=504 use ALL other methods in the troubleshooters below.
--------------------------------------------------------------------------------------------------------
Resolution in Windows 7 stop errors (blue screen) - has a section for if you can or can not start
Windows.
http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7BCCode: 7F 0x0000007F which is the same as 0x1000007F<-- read="" this="">-->
* 1304.html http://www.faultwire.com/solutions-fatal_error/Run-a-System-diagnostic-Utility-supplied-by-your-0x1000007F-References to Vista also apply to Windows 7.
This utility, it is easy see which versions are loaded:
-Free - DriverView utility displays the list of all device drivers currently loaded on your system.
For each driver in the list, additional useful information is displayed: load address of the driver,
Description, version, product name, company that created the driver and more.
http://www.NirSoft.NET/utils/DriverView.htmlFor drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
Control Panel - device - Graphics Manager - note the brand and complete model
your video card - double - tab of the driver - write version information. Now, click on update
Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
Uninstall - REBOOT it will refresh the driver stack.Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
with their own software and drivers and all other main drivers that you have.Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
BIOS, Chipset and software updates on the site of the manufacturer of the system here.)Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
each installation.Always check in the Device Manager - drivers tab to be sure the version you actually install
presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
in particular that) so to install a driver - reboot - check that it is installed and repeat as
necessary.Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
manually by model.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmInstallation and update of drivers under Windows 7 (updated drivers manually using the methods above
It is preferable to ensure that the latest drivers from the manufacturer of system and device manufacturers are located)
http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.htmlIf you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
Updates, this leaves ONE of Windows updates, but it will not install the drivers who will be generally
be older and cause problems. If updates offers a new driver and then HIDE it (right click on it)
and then go look for new ones manually if you wish.Stop Windows 7 to automatically install device drivers
http://helpdeskgeek.com/Windows-7/stop-Windows-7-from-automatically-installing-device-drivers/How to disable automatic driver Installation in Windows 7 / Vista
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/Turn off Windows Update Device Driver search prompt in Windows 7 / Vista (for professionals,
Ultimate and Enterprise)
http://www.AddictiveTips.com/Windows-tips/disable-Windows-Update-device-driver-search-prompt/==========================================
Tests of memory intercept all errors such as memory do not match (possible even for sticks
seemingly identical) and when the faster memory is placed in system behind the slower memory.
So it is best to Exchange also glue in and out to check for those, even if all the tests of memory do not respond
a problem.To test the RAM here control - run 4 + hours or so.<-- best="">-->
www.memtest.orgFor the Windows Memory Diagnostic tool.
Start - type in the search-> memory box - find top - click - right Memory Diagnostics tool
RUN AS ADMIN follow the instructionsHow to run the diagnostic tool memory in Windows 7
http://www.SevenForums.com/tutorials/715-memory-diagnostics-tool.htmI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
No. After Effects and Premier
Hello!
Already bought Adobe Creative Cloud. I opened it the Adobe Application Manager, there were 14 applications submitted, none of them are for video. Adobe After Effects and Premier aren't there. Help, please
Thank you
Adrian
Premiere Pro and After Effects requires a 64-bit processor running a 64-bit operating system.
http://www.Adobe.com/au/products/premiere/tech-specs.html
http://www.Adobe.com/au/products/AfterEffects/tech-specs.html
If you run an operating system to 32-bit such as Windows 7 32 bit, AE and PP will appear for download because they do not work on your system.
-
Show "hide / show region" after calculations
Thank you in advance,
I have a number of parts of the report "hide / show" on my page, and two reports are the research areas incorporated with them. What I'm hoping to do, is show a specific skin and region after calculations when it is clicked on the specific button for this area of research. I created a button with more appearing as its URL:
JavaScript:doSubmit('GO'),hideShow('region3','shIMG3','/i/HTMLDB/Builder/rollup_plus_dgray.gif','/i/HTMLDB/Builder/rollup_minus_dgray.gif ');
When the button is clicked, the page begins to update, then the region of h + s displays, but once the page finishes refreshing, the region closes upward. I wondered a better way to reload a page, then call the function hideShow? Thank you.
Robert
Published by: tread on April 28, 2009 08:16Hey
Have you looked here?
[http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]
See you soon
Ben
Maybe you are looking for
-
are there books available to learn how to use Firefox?
I just started using Firefox, so I'm all new to this browser. I would get a book on Firefox to help implement and use it.Someone know of a book 'good' or 'books' I could get. Kind regards unclepine
-
I JUST RECEIVED AN EMAIL FROM [email protected] SAYING THAT MY LOST IPHONE 6 found at 21:11 on April 10, 2016 AND the last of your iPhone said location will be available for 24 hours, BUT WHEN I CLICK on VIEW LOCATION and login with my icloud a
-
Somehow, I disabled my photo to iCloud and need to cancel it.
I have to cancel my deletion of my library to iCloud. I looked in my system preferences and the preferences of iCloud and cannot find a way to undo the deletion. Could someone please help, thanks!
-
"Decimal string to Number.vi" bug in LabVIEW 2009 SP1
The "decimal string to Number.vi' seems to be the conversion of the input data in the type int32 internally even when the input tape in vi data is expanded floating point (no points of constraint). This is causing me grief. See attached vi This bug
-
My laptop has suddenly started to go very slowly. I boot up normally and it takes 10 minutes to load all the startup programs (which takes usually about 30 seconds). It takes a lot of time to load all programs and once they have loaded freezes and "e