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

  • Printers / HP Photosmart 5520: my printer asked a password am not able to find the password or reset an another pls help

    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 aaa

    You 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

    error_07012016.PNG

    -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
    Hari

    The 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;
    
    

    Hello

    Rahul_India wrote:

    I wrote the code below

    1. create or REPLACE PROCEDURE ARMSTRONG_NUMBER_a
    2. as
    3. number of arm_num: = 371;
    4. num_len number: = 0;
    5. a number: = 0;
    6. b number: = 0;
    7. c number;
    8. BEGIN
    9. num_len: = length (arm_num);
    10. because me in 1.num_len
    11. loop
    12. Dbms_output.put_line ('VALUE of i' | I);
    13. b: = substr (a, i, 1);
    14. Dbms_output.put_line ('VALUE OF b' | b);
    15. end loop;
    16. end;
    1. O/P
    2. anonymous block filled
    3. VALUE of i 1
    4. VALUE OF b 0
    5. I VALUE 2
    6. VALUE OF b
    7. I VALUE 3
    8. VALUE OF b

    I should get the O/P as

    anonymous block filled

    VALUE of i 1

    VALUE OF b 3

    I VALUE 2

    VALUE OF b 7

    I VALUE 3

    VALUE OF b 1

    This is the output that I would expect if line 15 has

    b: = substr (arm , i, 1);

    but not when you take the character of the i - th one.

    Moreover, if one (or arm) and b are numbers, then you can consider using number functions, like TRUNC and MOD, might be a better way to get individual numbers - assuming that you really need to get the individual numbers.  It is often a symptom of a bad design, where the number is actually a composite of what must be in multiple separate columns.

    SUBSTR expects its first argument to be a string.  If you really must call SUBSTR, then its better to ouse TO_CHAR to explicitly convert the number of strings.

  • I am not able to use the chat on my yahoo mail page, I know it's a matter of firefox because I can use it on another browser, IE. Do you have a suggestion for me?

    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?

    Restart your iPhone, iPad or iPod touch - Apple Support

  • 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.

    Picture 4.png

    The steers would be appreciated.

    Thank you

    Paul

    Picture 3.png

    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,
    Mukthi

    You must add a section break, and then have if@section.
    I forgot to mention in my previous answer.

Maybe you are looking for