Not able to print the message after redirection to another page of pag current
Hi Experts,I'll call you a procedure (who accepts 4 parameters IN) page of the OAF by pressing a button.
My page contains: 4 elements of text Message and the other present button.
I enter values in the 4 message text of introduction of the elements; After clicking on the button submit, he calls with success the procedure.*After by clicking on the button submit, after the call to procedure, I would like to pass on the same page with the values parameter zero and display confirmation message *.
But I am not able to make the parameter null values in the page.
I have the code in my page controller below.
REQUEST FORM PROCESS:
OAApplicationModule oa = pageContext.getApplicationModule (webBean);
{if (PageContext.GetParameter ("Submit")! = null)}
CallableStatement call_proc = null;
try {}
call_proc = OA.getOADBTransaction () .createCallableStatement ("start oaf_test_tbl_insert_proc(:1,:2,:3,:4,:5); end; ", 5) ;
call_proc. SetString (1, PageContext.GetParameter ("empno"));
call_proc. SetString (2, PageContext.GetParameter ("Ename"));
call_proc. SetString (3, PageContext.GetParameter ('Work'));
call_proc. SetString (4, PageContext.GetParameter ("Salary"));
call_proc.registerOutParameter(5,types.varchar);
call_proc. Execute();
oa.getOADBTransaction () .commit ();
String message = call_proc.getString (5); out parameter (5) will return a message
OAException message = new OAException (message, OAException.CONFIRMATION);
pageContext.putDialogMessage (message);
pageContext.forwardImmediately ("OA.jsp?page=/practice_test_prc1/oracle/apps/mfg/simplepg/webui/oaf_test_tbl_calling_proc"
null
OAWebBeanConstants.KEEP_MENU_CONTEXT
null
null
true
(null);
} catch (SQLException e) {}
call_proc. Close();
}
}
Kindly help me, how to print the confirmation message and send to the same page by making the param to null values.
Hello
On the successful return of the procedure, you must set a session Variable * (pageContext.putSessionValue ("WFFullListPage") *.)
Then call it.
pageContext.forwardImmediately ("OA.jsp?page=/practice_test_prc1/oracle/apps/mfg/simplepg/webui/oaf_test_tbl_calling_proc"
null
OAWebBeanConstants.KEEP_MENU_CONTEXT
null
null
true
(null);
Next, you need to check this condition on the PR of the CO and show the message as required.
Extract the same value to the controller, as * (pageContext.getSessionValue ("WFFullListPage") *)
Kind regards
GYAN
Tags: Oracle Applications
Similar Questions
-
my printer was asking a password am not able to find the password or reset an another pls help
I've used it since December when I bought the printer, but I just changemy internet company
It was when he said ask for password which i don't remember not pls help.
I can be paid to [personal information deleted]
Hi @funmi09
I want to help you set up your printer for your internet company recently changed. This document provides the steps necessary to find the WEP key or WPA or your wireless network password.
Once you retrieve your password, the following will help you to configure the printer; Connection of the printer after you have changed your wireless network.
If you still can't find your password, you will need to contact your ISP (internet service provider).
I hope this helps.
-
not able to print the value of the url (aaa #bbb)
Hello
I am not able to print the < cfoutput > #url.xyz # < / cfoutput >
Here, the url.xyz in the url value is aaa #bbb
It is printing only aaaYou should have url-encoded query from the beginning chain. Given that you don't have, Coldfusion ignored everything in the query string that comes after the character #. To fix this, replace the character # % 23. . In other words, .
Another rule is that we should avoid the occurrence of the character # in a string. Thus, the correct value to cfoutput is "aaa ##bbb". To get and display code that is
#url_xyz #.
-
Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?
Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?
The 29.0.1 firefox solved my problem!
Please check: Firefox-> Preferences-> tab-> applications (option) Portable document Format (PDF)-> Preview in firefox
Good luck!
-
I use Windows 7 and I am not able to print several different images on a single page.
When I try to print photos from the 'My pictures' library, I use the following steps:
1. turn the photo highlight
2. click on 'print '.
3. in the window that says: "How do you want to print your photos? I choose the number of photos I want per page, for example 3 x 5.
4. when I try to add a picture DIFFERENT from my library so that I can print several different photos on this page of photos of 3 x 5, it simply replaces the previous photo. How can I get there?
Thank you.
Original title: I use Windows 7 and I am not able to print several different images on a single page. The answer posted here from 8/11 includes a link that does not work.
Hello
Welcome to the community of Microsoft and thanks for posting the question. I've surely you will help find a solution on the issue.
What program you want to use?
We will try to print in a different way and check.Open Paint and then do a collage of different photos then save it then open it in their program and print.To print the image in Microsoft Paint, steps to follow:
a. Click Start, in the search box, type in the paint.
b. open the document you want to print.
c. select print and check.
With the help of paint
http://Windows.Microsoft.com/en-us/Windows7/using-paint
Hope this information helps. Please reply back with the -
Im not able to drag the color scheme of my master page library as is done in the tutorial.
Hi I'm a newbie to Adobe Muse CC. IM watching her tutorial "how to create a Web site. im not able to drag the color scheme of my master page library as is done in the tutorial. can someone help me with this please?
You are using an out-of-date very (!) version of Muse.
Download the real version, please.
-
Not able to print the decimal values in a table
Hi all
I created an application. Here, I have a table with three columns Col1 and col2 are numbers and col3 is the diffrence between col1, col2.
I use AJAX and JavaScript to calculate the difference in a dynamic way.
I am able to print the difference as for example:-1, 2, 1.5-1.5. but not 0.8, 0.8, 0.1 etc...
If col1 col2 = 1.2 - capable of printing
If col1 to col2 = 0.2 - error, unexpected token
-Code AJAX:
Declare p_curr number; p_prev number; p_diff number; Begin p_prev := to_number(apex_application.g_x01); p_curr := to_number(apex_application.g_x02); SELECT to_number(p_curr - p_prev) into p_diff from dual; -- return calculated value sys.htp.p(p_diff); End;
-JavaScript: running the loading of the page
function f_calulate_duration(pThis) { var row_id = pThis.id.substr(4); var s = $('#f18_'+row_id).val().replace(/[^\d.-]/g, ''); var curr = $(pThis).val().replace(/[^\d.-]/g, ''); if(!s){ var s= 0; var prev = s;} else{ var prev = s;} apex.server.process ( "CALC_DIFF", { x01: prev, x02: curr }, { success: function( pData ) { $('#f23_'+row_id).val(pData);}} ); }
Please suggest the solution to this.
Oracle Apex Version: 4.2.
Thank you
Dev
Hello
I don't get the point to use the expensive AJAX call to the database, instead you can have the same functionality with JavaScript code below.
function f_calulate_duration(pThis) { var row_id = pThis.id.substr(4); var s = $('#f18_'+row_id).val().replace(/[^\d.-]/g, ''); var curr = $(pThis).val().replace(/[^\d.-]/g, ''); if(!s){ var s= 0; var prev = s;} else{ var prev = s;} var diff = 0; diff = curr - prev; var n = diff.toFixed(2); alert(n); $('#f23_'+row_id).val(n); //-- Remove this code /*apex.server.process ( "CALC_DIFF", { x01: prev, x02: curr }, { success: function( pData ) { $('#f23_'+row_id).val(pData);}} );*/ }
Thank you
D
-
Not able to tnsping the db after the installation of the db instance
Hi friends,
I do a test setup of Siebel servers under Linux. To do this, I had installed Oracle 11 g 2 x 64 db OEL 5.4 x 64, and created a db instance 'oracle '.
But I am not able to tnsping to db (installed on the same computer).
PSB o/p...
[oracle@localhost ~] $ source oraenv
ORACLE_SID = [oracle]?
The basic Oracle for ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1 is/home/oracle/app/oracle
[oracle@localhost ~] $
[oracle@localhost ~] $
[oracle@localhost ~] $ echo $ORACLE_HOME
/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1
[oracle@localhost ~] $ echo $ORACLE_SID
Oracle
[oracle@localhost ~] $ sqlplus / as sysdba
SQL * more: Production of release 11.2.0.1.0 Thu Sep 27 09:37:57 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connect to an instance is idle.
SQL > exit
Disconnected
[oracle@localhost ~] status oracle $ lsnrctl
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2012 09:38:29
Copyright (c) 1991, 2009, Oracle. All rights reserved.
AMT-01101: could not find oracle service name
[oracle@localhost ~] oracle tnsping $
AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2012 09:39:03
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Use settings files:
AMT-03505: failed to resolve the name
[oracle@localhost ~] $
[oracle@localhost ~] lsnrctl start $
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-SEP-2012 09:40:50
Copyright (c) 1991, 2009, Oracle. All rights reserved.
From /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Log messages written to /home/oracle/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))
Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date 27 - SEP - 2012 09:40:50
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
The listener log file /home/Oracle/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))
The listener supports no services
The command completed successfully
[oracle@localhost ~] $
Had started to the top of the db successfully by using the 'start' command in the sql prompt.
Please help me to solve this
Kind regards
HariThe tnsnames.ora file exists in the location $ORACLE_HOME/network/admin?
If exists, then please send its content, otherwise create it using NETCA
-
Not able to print the value of the variable
I wrote the code below
create or REPLACE PROCEDURE ARMSTRONG_NUMBER_a as arm_num number :=371; num_len number:=0; a number:=0; b number:=0; c number; BEGIN num_len := length(arm_num); for i in 1..num_len loop DBMS_OUTPUT.put_line('VALUE of i ' || i ); b:= substr(a,i,1) ; DBMS_OUTPUT.put_line('VALUE OF b ' || b ); end loop; end;
-
Recently, I was unable to use the chat on my yahoo page feature. When I get a message that I see that I have, however this chat window comes for me to read the message and I can't send a message.
A work around to try to get the chat to work.
STR:
1. go in your Yahoo Messenger Options - change the window in the dropdown tab menu and press OK.
2 then go back and switch to the small window and press OK.Then cat should work.
-
WPSM54G cannot find print server and not able to print the test page
After several days of trial and error I am so far I'm willing to give up and put this peace of equipment for sale. It is my last attempt to find a solution.
I have a Canon MP510 printer connected to the print server and I managed to configure the print server so that it establishes a wireless connection to the router. I can see the ip address assigned to my router print server and I can log on to the configuration of the print server page.
When I want to set up your computer (software print copy of the Canon MP510 print server) I can not complete the wizard. Step 1 is successful. It shows the print server and the MP510 related to port 1, but in step 2, I get a message that the print server can not be found.
I looked on the forums how to solve. I already tried a fixed ip address to configure the printer manually but not any which solution worked.
Your print server must be set to a fixed IP address, try this IP address: 192.168.1.78... Disconnect ethernet cable between your router and the PS... Both devices power for one minute cycle... Follow the link here after changing the IP address on the PS...
-
not able to remove the applications after the update iOS 10 or 10.0.2
Always impossible to remove apps after IOS 10.0.2 update/fix. Can remove storage iCloud however.
Have you tried a reboot of the device or a reboot of the force?
-
not able to print the PDF file, refused permission for the passport application?
I try to print a DS 82 to use an application for renewal of Passport online. When I get to the printing part he refuses saying that I don't have permission to print this page. Any tips? It's my computer, and I went through the security sections in the Panel. I use Windows 7 Pro
What browser are you using, IE?
-
Virtual machines are not able to access the network after you have moved the host
We moved our 4 ESX host to a different physical switch and now our VMs cannot access the network.
I can access the host via client vsphere. Our host has 2 network cards. They are both members of the vSwitch0. I have 1 VM network defined, and they are both members of it. The network adapters, vmnic0 and vmnic1 are also part of my VMkernel which I do not know that I need because I have 1 ESX Server and do not use iscsi or NFS.
the two cards are also part of my service console.
According to my host "configuration / display: vitual switch, it looks like all my virtual machines are defined to use the vswitch."
the two physical network adapters is connected to the same switch. I did not go to any configuration on the switch.
The steers would be appreciated.
Thank you
Paul
Welcome to the community,
It sounds as if the physical switch ports are not configured correctly. Please check that port security is disabled on the switch (switchport mode access) ports and spanning tree portfast is (if any).
André
-
Print the message when there are no pages to display in the output
Hello
I need to give a personalized message as ' report produced no output due to... ". "in the BI publisher report instead of adobe gives the error"there are no pages"in the pdf output.
All entries?
Thank you and best regards,
MukthiYou must add a section break, and then have if@section.
I forgot to mention in my previous answer.
Maybe you are looking for
-
new window opens the second additional empty tab
When I open a new window (e.g. a connection to the screen or sth) I always get an extra blank new tab front.its really annoying, because after registration on the empty tab in the new window remains open.What can I do to stop this behavior?its only o
-
Firefox will freeze and crash when you use google from the google Web site search
Every time I use google, which is often because it is my home page, unless the thing I want to look for is the first couple of auto-recherches that appear when I type, automatic search stops and if I press enter or click the search icon that Firefox
-
Hey there I have a 5 32Gb iPhone. A few days ago, I decided to go to iOS 9.2. It has been usingiOS 8.4.1... Experience in the iOS 9.2 is fatal and disappointing. The system is frozen in most of the thetime. Slow to open applications, loading the keyb
-
How to trace mutiple tables on the left and right value axes?
Hello world I have a problem (I hope that little?) ... I have a chart 2D with 6 columns of data that I need to plot a graph... I would like to 0 on the left axis and tables 1 to 5 draw using the left axis... I tried using clusters to group the two se
-
Why someone stop me from joining thiws people? I want to be part of linked-in.com and I was for a while and I had a hard time with my writing and need to stop talking with them for a while, sorry about my spelling may be a little off tonight because