Using the procedure output parameter in the success message
I have a page process that calls a procedure of database with 2 output parameters.The source of my page process looks like this:
DECLARE
--variables to hold output parameters
matched_count NUMBER;
unmatched_count NUMBER;
BEGIN
USP_MATCH_PROCESS (matched_count, unmatched_count);
END;
I would like to be able to display the value of the 2 output settings in the Message of success of the process for the process.Is there a simple way to do this or I have to create the hidden page items and complete these source code, then reference these? Or even better, can reference variables in the source directly from the success of the process Message?
Hello
You can use something like this: -.
apex_application.g_print_success_message: = matched_count | » '|| unmatched_count;
Concerning
Paul
Tags: Database
Similar Questions
-
Name of the application is not running, the success message appears always
Hello
I use 11.1.2 and config application form in formsweb.cfg as below, the problem is when I call this link... I show the success message (never call application form, always see the success message wile I change the name of the application that never).
any suggestion?
[LOCALjpi]
applet_name = FormsID
jpi_download_page = http://w-CPC-IT-018.CPC.gov.AE:9001/Forms/Java/Download/JDK-6u25-Windows-i586.exe
jpi_classid = clsid:CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA
jpi_codebase = http://Java.Sun.com/products/plugin/AutoDL/jinstall-1_6_0-Windows-i586.cab#version=1, 6,0,17
jpi_mimetype = application/x-java-applet
separateFrame = FALSE
width = 1166
height = 780
colorScheme = titanium
pageTitle = TEST
UserID=usename/Password@Conn
Form=D:\Project\apps\Forms\menu_new.FMX
WebUtilLogging = off
WebUtilLoggingDetail = normal
WebUtilErrorMode = alert
WebUtilDispatchMonitorInterval = 5
WebUtilTrustInternal = true
WebUtilMaxTransferSize = 16384
imageBase codeBase =
splashScreen = Loading.gif
enableJavascriptEvent = true
Archive = frmall.jar, laf_11112.jar, Jacob.jar, frmwebutil.jar, icons.jar, SimpleAppletBrowser.jar, jdic.jar
WebUtilArchive = frmwebutil.jar, jacob.jar, frmall.jar, lablediconbutton.jar
Hello
This community is to discuss specific issues of Oracle Application Server, you can publish this request in for a better response:
Kind regards
Prakash.
-
How to delay or not to fade the success message?
Hello
I use Apex version 4.2.2. I noticed that error messages do not fade and disappear only if we click on the 'x '. How could I achieve this with the success message? I would like to know how I could delay AND remove the auto fade. After that, I would be able to decide who is best for me. I tried referring here to make the delay, but it doesn't seem to work:
Would it be possible and if yes, where I was able to change?
Thank you.
Hello
I had a situation in which, to have changed the fade time of success messages. You can find the code here: https://gist.github.com/vincentdeelen/7516812
In the setTimeout of this function, the 4000 is the time in mili seconds that the message remains on the screen. You can change this value at your convenience.
If you don't want the successmessage to fade at all, you can create an overload of the function like this:
autoFadeSuccess = function() {return true ;};}
Kind regards
Vincent
-
How to display the success Message on the left side of the screen
I have a message for success of the process after the process of ApplyMRU * #MRU_COUNT # line (s) update *. By default, this message is displayed in the center of the screen. I want to show this message to the left of the screen.
I use APEX 4.0; Sand theme - 10. I tried to change the position of success message alignment in the Page template - level tabs, HTML Body section. But I'm not having any luck.
Someone know how to change/replace the default position for the success message?
Thank youHello DP,.
Try this...
Thank you
Machaan -
Line break in the success message
I want to display messages of success in this way:
Message1
Message2
Message3
...
But it is currently displayed in this way:
Message1Message2Message3...
I tried to combine my processes in a single process like this
and then I put &. P17_MESSAGE_PR in my message of error and successdeclare v_vc_message varchar2(200); begin -- process 1 /* my process*/ v_vc_message := 'Succes message1'; -- process 2 /* my process*/ if v_vc_message is null then v_vc_message := 'Succes message2'; else v_vc_message := v_vc_message || *[char_for_line_break]* || 'Succes message2'; end if; :P17_MESSAGE_PR := v_vc_message; exception when others then :P17_MESSAGE_PR := 'Error message'; end;
I tried different things to get a line break.
I tried
Can someone help me?'<br>' '&# 60;br&# 62;' (without the spaces) chr(10) || chr(13)
Thank youMax,
I tested on my application using
, and Interestingly, it has to do with what type of element that you choose to useIf: P9_MSG (yours is: P17_MESSAGE_PR) is just a hidden element or text, it won't work. But if it's "View only" type, it will work.
Note that you can conditionally display the item forever, so that you won't see it.
DECLARE v1 varchar2(30) := 'Succes message1'; v2 varchar2(30) := 'Succes message2'; v3 varchar2(40) := to_char(sysdate,'hh24:mi:ss'); BEGIN :P9_MSG := v1 || '
' || v2 || '
' || v3; END;Then it's what in the success message
& P9_MSG.
Sample is at
http://Apex.Oracle.com/pls/OTN/f?p=51832:9Published by: Alphonse on March 12, 2009 22:49
-
change the success message in the APEX
Hello
I would like to show the user that the process is a success or a failure. I can do this easily by writing a text in the boxes provided for the success message and the failure message but everytime I get a sign 'X' as well as these messages. Is it possible to avoid that?
Thanks and greetings
VGHello
Just to be a little more specific... If you change your model page and scroll down to sub-model section, you will find models from 'Success Message' and 'Notification '. You will see something like this:
#SUCCESS_MESSAGE#To remove the "X", you need to remove this part of the code:
--
Paulo Vale
http://Apex-notes.blogspot.com -
Preserve carriage returns in the success Message
Apex 3.2
I have a page process that calls a procedure in the database.
The procedure of database returns that a message with carriage returns.
My page process is as follows
Declare
v_message varchar2 (4000);
number of v_bmiid;
V_bmikey varchar2 (128);
number of v_dmatid;Begin
p_vpeapx.pr10_update_bmi (p_ldeid = >: F300_LDEID,)
p_bmiextkey = >: P10_BMI_EXTKEY,.
p_promextkey = >: P10_BMI_PROM_EXTKEY,.
p_bmilongdescr = >: P10_BMI_LONGDESCR,.
p_bmishortdescr = >: P10_BMI_SHORTDESCR,.
p_bmiid = >: P10_BMIID,.
p_bmikey = > v_bmikey,
p_dmatid = > v_dmatid,
p_process = > 'update BMI. "
po_message = > v_message.
p_checksum = >: P10_CHECKSUM);: P10_MESSAGE: = v_message.
End;
I then use P10_MESSAGE as my message of success of the process;
displayed on the page is all in a single line, without carriage returns.
P10_MESSAGE is a hidden and protected
The message of the database may be very large, so I need cart returns to display to the user
Gus
Gus C wrote:
I tried the front line, does not work in Internet Explorer, but worked in FF.
Unfortunately, users do not FF.
Before I tried and it put everything on one line
Any other suggestions please
Set the Message of the success of the process:
&P10_MESSAGE.
-
In the success message SYSDATE
How can I use SYSDATE in the "Message of success of process" a plsql block?
I want a message like: procedure performed at the 25.10.2011 00:24:25Hello
The value of the item application end-of-process session state
:MY_APP_ITEM := TO_CHAR(sysdate,'DD.MM.YYYY HH24:MI:SS');
And the success process set message
Procedure executed at &MY_APP_ITEM.
Kind regards
Jari -
Display the success Message in a Popup Style
Apex 4.2
Is it possible to display success messages in a popup style.
For example, as the apex notification plugin
Gus
Hi Gus,
Gus C wrote:
Hello
I got this job using the third link above
Process using notification plugin success message
I have a few questions.
When I save the changes, the notification appears, but is the standard message.
If I uncheck the display success message box in the branch, or poster then.
How can I just have the display of notification
How can I get this to work, when you use the Skillbuilders Page modal plugin
Gus
Do not turn off the indicator of successful display, instead of this message you can remove the standard success message by adding the following to your Page-> Execute attributes when the charges article page:
$("div#success-message").hide();
More better if you add this to zero page if you prefer to use throughout the application.
About, Skillbuilders Modal plugin Page I would say please submit more information or if possible set up for example in apex.oracle.com.
I hope this helps!
Kind regards
Kiran
-
using the error message to liquefy
I can't save the picture once I used to liquefy in PSCC. pop-up error message - this operation could not be refused access. someone knows how to fix this?
Hello
If you use a mac make sure you have read-write access to the folder you are trying to save your file to.
Kind regards
Sahil
-
In the success message page elements?
All,
Is it possible to refer to a page element in a message of success of the process? If so, what is the syntax? We tried & P1_ITEM. and #P1_ITEM #, but neither seems to work...
Thank you
-DavidHi David,
This thread implies that * & P1_ITEM.* should work. Maybe something else in this thread will help.
{message: id = 9652784}
Jeff
-
I have a presentation together due on how to retrieve pirates attack you through Server message Block Protocol and I am not find information on what to do.
Hello
Please see the article below which might help you.
Microsoft's SMB protocol and CIFS protocol overview
http://msdn.Microsoft.com/en-us/library/aa365233 (vs.85) .aspx -
How to check the success of the procedure
Hello. Calling a stored procedure of the database of my form. Is there a method to verify the success of the procedure? If he succeeds, I want to popup a message of success - and a failure on failure message.
Any help would be appreciated. Thank you.Yes, simply put the success message after the procedure and leave no possible exception be raised, as
MY_PROC; "Show-Success"
-
Bland success message, make the "sticky" notification message
APEX 4, RDBMS 11 GR 2, theme 13 (gray/blue)
I attempt to use dynamic action of fade out of success messages and notification messages (error) "sticky."
Theme 13, the id of the div that is used for the #SUCCESS_MESSAGE # and #NOTIFICATION_MESSAGE # is t13MessaqgeHolder. Div for a success message class is t13SuccessMessage and a message notification is t13Notification.
I noticed other themes use a (different) unique id for the success and the notification messages, but my company has standardized on theme 13.
(Full disclosure: this code below is from Jonathon Taylor, How - to's of the APEX Web site)
On the zero page, I create an event with the REAL action Page Load performs the following JavaScript code
$("#t13MessageHolder").delay (1000) .fadeOut (3000);
This works fine but the success and the notification of messages fade. Is it possible to structure the code so that the messages of success fade, but the notification messages are sticky?
If there is a way easier / better for this that I'm looking for, feel free to offer your recommendations.
Thanks in advance.
John
If the divs resembles
div id="t13MessageHolder" class="t13SuccessMessage"
then, everything you need to do is change the selector, as Scott tries to get to.
However, to select per class / id, you must use a dot instead of a hash.
$(".t13SuccessMessage")
You don't need. parent() unless you need to choose the parent of the selected item, which is not necessary if the message div is built as I wrote above - but to determine that we would need to see the actual html structure.
-
new scene after the success of connecting AS3
Hi guys,.
I am really new to actionscript, so I have trouble understanding the code. I tried a lot of ways to go to a new scene after the successful login, but unfortunately not. I followed one of the tutorials on the part of connection... It works and I'm happy wif it... but right now, it only displays the success message. Instead, I want to go to a new scene, but don't know how. I'll post the code below. Hope you can help ... I have a date for this project. Thank you!
[actionscript]
the package of actions {}
import flash.display.MovieClip;
import flash.events. *;
flash.net import. *;
import flash.text. *;
main/public class extends MovieClip {}
public int main (): void {}
submit_button.buttonMode = true;
submit_button.addEventListener (MouseEvent.MOUSE_DOWN, checkLogin);
username. Text = "";
Password.Text = "";
}
public void checkLogin (e:MouseEvent): void {}
If (username.text == "" |) Password.Text == "") {}
If (username.text == "") {}
username. Text = "enter your username";
}
If (password.text == "") {}
Password.Text = "enter your password";
}
} else {}
processLogin();
}
}
public function processLogin (): void {}
var phpVars:URLVariables = new URLVariables();
var phpFileRequest:URLRequest = new URLRequest ("login.php");
phpFileRequest.method = URLRequestMethod.POST;
phpFileRequest.data = phpVars;
var phpLoader:URLLoader = new URLLoader();
phpLoader.dataFormat = pouvez;
phpLoader.addEventListener (Event.COMPLETE, showResult);
phpVars.systemCall = "checkLogin;
phpVars.username = username.text;
phpVars.password = password.text;
phpLoader.load (phpFileRequest);
}
public function showResult (event: Event): void {}
result_text. AutoSize = TextFieldAutoSize.LEFT;
result_text. Text = "" + event.target.data.systemResult;
}
}
}
[php]
<? PHP
include_once "dbconnect.php";
$username = $_POST ['username']; flash variables
$password = $_POST ["password"];
If ($_POST ['systemCall'] == 'checkLogin') {}
$sql = "SELECT * OF USERS WHERE username = '$username' AND password = '$password" ";
$query = mysql_query ($sql);
$login_counter = mysql_num_rows ($query);
If ($login_counter > 0) {}
Print "systemResult = welcome $username!"
} else {}
Print "systemResult = invalid user!"
}
}
? >
You probably want to check the value that it returns and use it to decide whether to go to the scene following or not.
public function showResult (event: Event): void {}
result_text. AutoSize = TextFieldAutoSize.LEFT;
result_text. Text = "" + event.target.data.systemResult;
If (String (result_text. (Text). IndexOf ("Welcome") == 0) {}
gotoAndPlay (1, "Scenename");
}
}
What is the first line is check if the welcome Word is at the beginning of all that is in the textfield (starting at index 0). If so, then she issues a command to switch to a different frame/scene
Maybe you are looking for
-
Where can I find instructions to clear my cache for Mozilla Firefox?
I tried to submit my statement to the tax administration by the Tax Act. It was suggested by the Tax Act support to find the instructions for my browser to clear the cache. I need help! All I want to do is produce my statement.Thank you!! ...........
-
Pavilion s5503w: upgrade Windows 10
Where can I go to get a simple solution to this incompatibility message? "This PC can't run Windows 10: NVIDIA GeForce 6150SE nForce43. The manufacturer of the screen did not your screen compatible with Windows 10. Check with the manufacturer of supp
-
Pavilion dv7: Bios password
Need default password for my machine.Lock code is 63461912
-
print easy text.vi does not work in the executable
I have 3 computers to target that runs labview 2012 on a PXIe8101controller. In my statemachine the vi prints a report using simple text, report vi (palletized report generation) at the end of the trial. Its an executable vi on all 3 machines. On
-
Hi all We have problems with the FWSM shun sent by IPS that sometimes they seem to stick around forever and that does not clear automatically. A large number of them are recurring and are running from the positive, but there are some that should not