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:25
Hello
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
Tags: Database
Similar Questions
-
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
-
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 -
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 -
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
-
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.
-
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:
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.DECLARE --variables to hold output parameters matched_count NUMBER; unmatched_count NUMBER; BEGIN USP_MATCH_PROCESS (matched_count, unmatched_count); END;
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
-
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
-
How to capture the value of the element in the success of the process message
Hi friends,
I need to capture two of the content of the element in the success of the process message.
These are the elements
*) course_name
date *)
To do this, what I did is,
I created two timely hidden
*) dis_course_name and *) dis_date
For these hidden point two, I give: sql returns a single value and I gave the following query
For dis_course_name
For dis_dateselect course_name from training_attendance_table where course_name=:P1_COURSE_NAME
After I wrote a process to capture the hidden question contained in the message, and that's what followsselect on_date from training_attendance_table where on_date=:P1_ON_DATE
But the above seemed to work, as it was not capturing the content of the element in the success message, shortly after pressing the submit"" button.begin apex_application.g_print_success_message := 'Your Attendance for the' ||'<span style="color:orange;font-weight:bold">&P1_DIS_COURSE_NAME.</span>'||' '|| 'Training session on'||'<span style="color:orange;font-weight:bold">&P1_DIS_DATE.</span>'||' '|| 'is Confirmed'; exception when others then apex_application.g_print_success_message := 'Your Attendance for the' ||'<span style="color:orange;font-weight:bold">&P1_DIS_COURSE_NAME.</span>'||' '|| 'Training session on'||'<span style="color:orange;font-weight:bold">&P1_DIS_DATE.</span>'||' '|| 'is failed to Confirm'; end;
element content in the sense what he calls means, it refers to what im going for this element into the form
I need to get the following in the success message
Waiting for the solution.Your Attendance for the *<course name>* training session on *<date>* is confirmed
Kind regards
MiniTry this.
Your presence to the & P1_COURSE_NAME. training session on & P1_ON_DATE. is confirmed
-
Hi team,
I use 5 APEX with universal theme. I have a page, some fields and button record.
When you click on save, the success message appears "User XYZ added successfully" but it is not automatically disappear until I explicitly click 'X '. Can I melted somehow this message automatically?
Thank you
Sunil Bhatia
Hi Sunil,
Sunil Bhatia wrote:
I use 5 APEX with universal theme. I have a page, some fields and button record.
When you click on save, the success message appears "User XYZ added successfully" but it is not automatically disappear until I explicitly click 'X '. Can I melted somehow this message automatically?
Created a dynamic action in Page 0 (already existing), with the following parameters: -.
Event = Loading the page
Condition = "No Condition".
Fire on loading the Page = NO.
Action = Run the JavaScript Code
$(".T-Body-alert").delay code = (5000) .fadeOut ();
Your success message fades out in 5 seconds. Here is an example: https://apex.oracle.com/pls/apex/f?p=35467:2
Reference: Re: how to extend the duration of banner display?
I hope this helps!
Kind regards
Kiran
-
How do a success message appears after a process completes successfully with a corporate theme
Hello.I have Oracle Apex 4.0 and Oracle 10
The problem is that the doesn´t of success message appears when the process ends.
The cause is because I have a corporate theme and if I change the 'Model of Application default level' page template for another page, for example "a level tab sidebar left' model, the message is displayed correctly, but there is a menu of list and it appears so when the mouse passes over a picture, and if I choose the second model the menu disappears.What could I do for the two displayed?
Thank you.
Hi Vilela,
Vilela says:
Hello.
I have Oracle Apex 4.0 and Oracle 10
The problem is that the doesn´t of success message appears when the process ends.
The cause is because I have a corporate theme and if I change the 'Model of Application default level' page template for another page, for example "a level tab sidebar left' model, the message is displayed correctly, but there is a menu of list and it appears so when the mouse passes over a picture, and if I choose the second model the menu disappears.What could I do for the two displayed?
Thank you.
If please mention the topic from which you created the custom theme, or is it a custom built theme.
Please change your Page template-> sub-model section-> success Message. View the section HTML markup.
Please view the 'Body' of the Page template section HTML markup as well.
If the 'success' Message contains the correct markup (to compare with 'A level tabs - left Sidebar'), then compare the 'Body' of the model section and make sure she has the #SUCCESS_MESSAGE substitution string # after the header tag.
You can ask for help on issues of the HTML and the template more than whoever designed your model.
I hope this helps!
Kind regards
Kiran
-
I added an interactive report with the search box to my page, decided to remove it and now when I save my tab form the success message is is no longer visible, even if the back-end validation works fine. It will be difficult to reproduce this on apex.oracle, but just curious to know if anyone has any ideas as to why this happens. I tried to Exchange models of pages, but nothing works; my page template still shows all the good div, it must be something with my page itself, like apex doesn't find anything to attach the div of success to? I'm scratching my head.
Thanks in advance,
John
It is possible, that this is something fairly simple in the branch which refers to the calling page. If you have a branch, on the page that processes the data, and 'include the success of process message' checked. If you do not have a branch, simply create a.
Thank you
-Jorge
-
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
-
Satellite L300 - 17L: XP drivers for device controller and modem line
Please, read before you close this thread as repetitive... (there is no answer to this particular question in the nets before) Hello. I recently bought Toshiba L300 - 17L without any operating system and (unfortunately) no unmanned. I installed the W
-
Opening 3.6 will not install on the App Store
I have Aperture 3.4.5 installed on my iMac. I recently updated my OS from the Lion to El Capitan. Now opening will not run and the App Store says a 3.6 update is available. When I try to update for the opening of the App Store, it prompt you first
-
The ipod device cannot start (Code 10) how can I fix this problem
I CONNECT the IPOD VIA THE port USB PORT WONT SOFTWARE INSTALLED on THE PORTABLE JUST FLASHING RED CIRCLE
-
original title: "Online connection" disappeared... WHY??????????????? My computer keeps a box indicating "Dial up connection" has failed or something, then the "connection online" has disappeared... WHY???????????????
-
How to restore personal files after moving to them?
I moved some files yesterday about my music. Today, I discovered that by moving these files, I had deleted all the music in my iTunes library and all the information that goes along with these songs (number of plays, last played date, playlists, etc.