Enter the value custom page point to submit the message

version 4.2.1 on 11g 11.1 (AIX): I am building an application with a custom process performed on submit after validation. This will execute a PLSQL proc that I pass one argument, a value of ID. I am wanting to view this ID value in process customized for the success or failure messages, but do not find the right way to do it, as APEX seems to consider my expression in the form of data, not a reference to a variable. I tried the different forms of reference to a variable in the documentation, but not not good luck. Can someone straighten out me on this method? Last result is, although the 2 1st words are from the APEX:

Intervention to treat. «updates completed for ID ' & p2_data_id.»

Sounds to me like you have should work. This is what works for me. I have an anonymous PL/SQL block with a process Point to submit - after calculations and Validations. It was the success of the process and process failure Messages and I put in the value just as it should.

CANCEL reset succeeded for '&P3_ST.'.

And it works for me.

Howard

Tags: Database

Similar Questions

  • BlackBerry Smartphones eception exception error when entering the "Messages".

    I have a client who uses a Blackberry World Edition (8830) and when it tries to go in Messages (by clicking on the Messages icon) it gets this error message all the time: uncaught Exception: java.lang.null.pointer

    I tried 2 types of resets, alt + Cap + del and tried to remove the battery when the BB is running and the same thing, I did a hard reset, that is wiping the BB and customer has left me a message this morning that he always gets the same error message.

    My BES Console (synchronize us with Domino servers on a Lotus Notes platform), I see that he has the

    version of the 3.0.0.81 platform

    The BlackBerry version: 4.2.2.196

    His blackberry had a Bell Mobility service.

    At present, the only other thing I can think of is to download the operating system and reload it on the BB using Desktop Manager.

    Can someone help me with this please.  I appreciate all the help.

    Robert Goupil

    BES administrator

    * Update - my client turned on his blackberry with the BES this morning and sent a message that, after activation, the problem seems to be resolved.  Now, is there something different that can be done in case this happens again, we have more than 800 users of blackberry and most of them have the 8830 model.

    Hello

    Your troubleshooting actions have been directly on the money, I see.

    HRT is the host Routing Tables. It's entries sent by the carrier.

    When you highlight the entry above and you click on register now, he recorded with the wireless network. Update the details of the device on the relay of the rim and down icons specific carrier or applicants

    I think that the problem existed in an application corrupted on the smartphone users, by recording the phone, the application

    has been refreshed. It's the first time I've seen this particular exception message solved without device

    reload. (Just for reference I read messages 133150).

    Thank you

    Don't forget to adjust your thread. Put the check mark in the green box containing your answer! Thank you

  • Trying to send messages to a contact, but the message says waiting

    I tried to send messages to my friends, but once I have hit "enter", the message says 'pending' and never gets thanks to my friend. Please help me?

    What happens with one of your contacts only? Is the contact online? Messages will be awarded only when the receiver is also online.

    Previously messages showed the time of just sent after you hit 'Send', however, this does not mean that they have been received by the other side. Now display messages waiting until the other party has actually received them.

  • What is the correct syntax to reference a page point (P23_ID, for example) in a process of PL/SQL page after submit?

    What is the correct syntax to reference a page point (P23_ID, for example) in a process of PL/SQL page after submit?

    TexasApexDeveloper wrote:

    Variable binding is preferred: P23_ID you can also use & P23_ID. (variable substitution notation).

    Bind variable and static text substitution references are not interchangeable. For example, static text substitution references cannot be used in allocation targets:

    :P23_ID  := 'foo';  -- valid
    &P23_ID. := 'bar'; -- syntax error (or something weird or sinister due to SQL injection)
    

    Substituting static text references should be avoided in SQL and PL/SQL code because of the risk of behavior topic SQL injection and / odd error because of values containing quotes, etc.

  • Disabling a button "submit" after the first click on a custom page

    Hi guys,.

    I have a requirement where I need to add a button "submit" ("email") to a custom page, once the button is clicked to send a notification by email, it should be disabled for the next time that the user not send the email for the second time.
    Adding a button is OK, turn it off

    Pls help me if anyone has ideas/thoughts.
    Appreciate your help.


    Thanks in advance,
    Suman

    Hello

    Your condition can not be filled with blockoneverySubmit API because it would block if it is between the transaction once the event is over, you can click on it again. Better at the event click redirect it to the same page and make this option off or use PPR (better solution).

    Kind regards
    Out Sharma

  • Apex 4.2 passage value between one point and another page

    I have a page where I accept a start date and date as the end parameter
    its source, which I put it as a preference or point of application

    Now, in the other page, I have referred to jasper...
    so it's the first page... I'm not able to access the start_date tends in another page
    start_date and end_date

    Start_date shows like null
    Am confused on what element of preference and application
    Where will we use preference as a source type.

    Example again
    page 103
    p103_start_issue - preferenec
    p103_end_issue - preference
    A button named other page
    The other page
    When I call report jasper I pass the value of the parameter as: p103_start_issue and: p103_end_issue
    But the real value is zero for fields...
    How can I acess the real value...
    Do I have to use the point of application. ? I tried the point of application as the source type, but always the same question.

    Thank you

    Am confused on what element of preference and application
    Where will we use preference as a source type.

    A Page element is the shortest way duration to store session state variables. Page items are usually (but not always) deleted when entering or exiting a page. They are usually used to store a value that changes most of the time that you enter a page. Page items are also usually mainly by the code on this page. This does not mean that the other pages cannot or will not use, but access from other pages must be controlled so that they are not reference an element of page of a different pages after the page cache has been cleared.

    Application parts are data that are changed or are intended to be viewed by several pages. Application parts are not deleted unless an end of session or a specific call to make them disappear.

    Preferences are data that are intended to be stored and retrieved to specific users for several sessions. Diary of an app and back in and the data is always available.

    That said, from your description of the problem, I suppose that the cache page 103 has been erased and erasing the page element values. I think you should use a part of the application of what you have posted.

  • How to disable the field in the drop-down list to enter a value

    I got a box dropdownlist field and previously a few numerical values on her list:

    say a list of page numbers,

    11

    22

    33

    41

    42

    43

    52

    ..

    I put codes on the change event so that once the user clicks on an element, it is directed to the specific page immediately.

    But the case is that some users would like to enter the field and type a number rather than clicking.

    If he tries to type 42, change event will get him on page 41 instead (as the 1 '4' tank is put in correspondence),

    and then accidentally edit a field then put the tank rest '2' on it.

    so, how can I disable tapping on a drop down field?

    Rgds.

    Hello

    If you select the drop-down list and go to object > field palette. Here you can uncheck "allow customized entry. This will prevent the user to type in the drop-down list.

    With the drop-down menus, I prefer script to the exit event.

    Good luck

    Niall

    Ensure the dynamics

  • How to get the values of two points separated in Javascript checkbox

    Hello

    I want to get the values of an element of the checkbox as a form of separted from the colon as what we get in the database. For example '10:11:12 '.

    When I tried to write a code like this it does not work. Please tell me where I'm wrong.


    function getValues (pcheckbox) {}
    cb_name = html_GetElement(pcheckbox+'_0').name;
    cb_array = document.getElementByName (cb_name);
    var val_str =': ';
    for (i = 0; i < cb_array.length; i ++)
    {
    If (cb_arraychecked)
    {
    val_str += cb_array [i] .value + ':';
    }
    }
    html_GetElement (P206_TEXT) .value = val_str;
    }



    I try to call the function getValues ('P206_CHECK');

    Thank you and best regards,
    Vikas Krishna

    Hi Vikas,

    Try this-

    (1) create a checkbox element called PI_CHK
    (2) in the Option of the attributes of the form element, type onclick = "getValues () '"
    (3) create a named text field point PI_TEXT

    Enter the HTML of the Page Header Section

    
    

    Concerning

    Paul

  • OFA Custom Pages frequently when the applied error fix

    We have developed a customized page oaf to download files from the system windows in a custom folder Top local. The page worked fine. But whenever any patch (patch no OAF) has been applied, the page-error message "you have encountered an unexpected error. Please contact the administrator of the assistance system. When clear us the cache, sometimes the page opens. But some times, even empty the cache also does not help. Anyone has faced this question? Do you have a solution for this?

    All I have is a CO, 01:00 and a simple page with the messageFileUpload component and submit button. Here's the code in CO. Anyone has faced this problem?

    ' Public Sub upLoadFile (pageContext OAPageContext, OAWebBean webBean)

    {

    String filePath = pageContext.getParameter ("filepath");

    System.out.println ("The path by default->" + filePath);

    String fileUrl = null;

    Try

    {

    DataObject fileUploadData = pageContext.getNamedDataObject("MessageFileUpload");

    if(fileUploadData!=null)

    {

    String uFileName = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_NAME");

    String contentType = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_MIME_TYPE");

    System.out.println ("File-> user name" + uFileName);

    FileOutputStream output = null;

    InputStream input = null;

    BlobDomain uploadedByteStream = (BlobDomain) fileUploadData.selectValue (null, uFileName);

    System.out.println ("uploadedByteStream->" + uploadedByteStream);

    File = new file (filePath, uFileName);

    System.out.println ("output-> file" + file);

    output = new FileOutputStream (file);

    System.out.println ("output->" + output);

    entry = uploadedByteStream.getInputStream ();

    System.out.println ("seizure->" + input);

    Byte abyte0 = new ubyte [0 x 19000];

    int i;

    While ((i = input.read (abyte0)) > 0)

    output. Write (abyte0, 0, i);

    output. Close();

    Input.Close ();

    OAException confirmMessage = new OAException ("the file downloaded successfully", OAException.CONFIRMATION);

    pageContext.putDialogMessage (confirmMessage);

    }

    }

    catch (Exception ex)

    {

    throw new OAException (ex.getMessage (), OAException.ERROR);

    }

    }

    We had to bounce application service and OA Core Service to solve the problem.

  • Custom pages OAF does not not in the R 12.2.4 upgrade

    Hi guys,.

    We are upgrading to R R 11.5.10.2 12.2.4. We have copied our instance of generation of Production and improved to R 12.2.24. Now, there is a problem with the custom pages OAF. It seems that the custom java class files are not get covered by the application.

    Since it is the body build, I am applying custom patch directly in the file system to run (fs1) and I am getting below error while executing one of the custom of the OPS page:

    oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.xxfe.f486.asn.lead.webui. ASNLeadQryCOEx) associated with the area: (ASNLeadQryRN). It is probably because the class name is incorrect or not included in the project.

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    I think that it is simply saying that it couldn't find the java class. But I checked in the system as indicated below, the class files are roughly:

    $ cd $JAVA_TOP

    $ cd oracle/apps/xxfe/f486/asn/lead/webui /.

    $ ls - ltr

    total 10

    -rw - r - r - 1 a2bur12a s/n 5693 7 Jan 13:23 ASNLeadLstCOEx.class

    -rw - r - r - 1 a2bur12a s/n 3397 7 Jan 13:23 ASNLeadQryCOEx.class

    I also checked the class path, which is also to top java:

    $ cd $JAVA_TOP

    $ pwd

    / opt/lapp121/FS1/EBSapps/COMN/java/classes

    $ echo $CLASSPATH

    /opt/lapp121/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/opt/lapp121/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/opt/lapp121/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/opt/lapp121/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/opt/lapp121/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/opt/lapp121/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/opt/lapp121/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/opt/lapp121/fs1/EBSapps/comn/java/classes:/ opt/lapp121/fs1/EBSapps/10.1.2/forms/java:/opt/lapp121/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/opt/lapp121/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/opt/lapp121/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar

    I've heard that it takes run the utility adcgnjar and when I tried, I got the message below:

    Generation customall.jar...

    Do not create custom not customall.jar like no java directory under JAVA_TOP.

    Maybe it's because the location of the custom folder which is$JAVA_TOP/oracle/apps/xxfe

    I also tried to install these custom features of the OPS in online marking (as per my understanding following the features of online marking is not required (this is just an instance of generation) so earlier I had installed directly in the file system to run). But in following mode of patch, I had some error in ADOPTION (prepare) as below:

    FATAL ERROR *.

    PROGRAM: (/ opt/lapp121/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

    TIME: Fri Jan 9 15:07:37 2015

    FUNCTION: main::validatePatchLocation [level 1]

    ERRORMSG: / opt/lapp121/fs_ne/EBSapps/patch/19258581 directory does not exist.

    [UNEXPECTED] Error occurred during execution 'perl /opt/lapp121/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl-


    Notice that I use the commands below to bounce at the intermediate level:

    1. stop adapcctl.sh
    2. admanagedsrvctl.sh stop oacore_server1
    3. Enter the password for Weblogic: < pass >
    4. admanagedsrvctl.sh start oacore_server1
    5. Enter the password for Weblogic: < pass >
    6. adapcctl.sh start


    I am mainly looking for the installation of this file system customization to run if it is absolutely not necessary to do so in the patch file system.


    Please let me know if anyone knows about it, or any way to go?

    Thank you

    Anupam

    Hello

    I could solve this problem. I am writing the solution that worked for reference:

    1. When the custom java files are placed in one of the shipped Oracle directories of the application (for example $JAVA_TOP/oracle/apps/fnd, $JAVA_TOP/oracle/apps/ad, etc) then the creation of custom jar file is not necessary.
    1. When the custom java files are placed in $JAVA_TOP // and then run the utility adcgnjar.
    1. Deploy customizations that are created in the package. oracle.apps.xxprod * and no xxprod.oracle.apps. * or xxprod.oracle.apps.xxprod. * on EBS 12.2.X?

    It was our case because we have a custom directory under $JAVA_TOP/oracle/apps/xxfe

    When the custom java files are placed in any other non-standard location (for example $JAVA_TOP/oracle /, $JAVA_TOP/oracle/java / etc) then custom jar file must be created manually and must be made available for WebLogic to pick it up.

    Detailed instructions are given below:

    Create a temporary custom.zip file that contains the entire application customized to the non-standard location directories/files:

    (1) cd $JAVA_TOP

    (2) zip r - customprod.zip. Where the list of all directory paths are present, compared to $JAVA_TOP for the custom to the non-standard location application java files.

    Generate customprod.jar file & sign 3).

    Command: adjava oracle.apps.ad.jri.adjmx - areas $JAVA_TOP/customprod.zip - outputFile $JAVA_TOP / customprod.jar - jar $CONTEXT_NAME 1 CUST jarsigner - storePass - keyPass

    (4) delete temporary customprod.zip.

    Command: rm $JAVA_TOP/customprod.zip

    (5) follow the steps below to allow the custom WebLogic jar

    (a) to take a backup copy of the existing /admin/template/ebsProductManifest_xml.tmp

    (b) modify /admin/template/ebsProductManifest_xml.tmp to add the customprod.jar (after customall.jar)

    (c) execute AutoConfig

    (d) bounce midrange services

    Thank you

    Anupam

  • Not able to cancel page create without entering the required fields

    Hi all

    I am creating a custom page. I have a new folder creation Page. In this page the 3 fields are required. So I made these fields as required-> Yes. If the user clicks the Cancel button, it must navigate to the previous Page.

    But because of required fields, it's show "form validation failures: ' error. Is requested to enter required fields.


    Kindly help me in this.


    Thank you and best regards,

    Myvizhi

    Make the following property of the button Cancel to "True".

    Disable the side customer Validation

  • Make a custom page when you access the URL of the root of a Web application

    A BC blog post says it's now possible to "make a custom page when you access the URL of the root of a Web App site. For example, if you have a "blog" Web App, items can be made available to/blog/my-blog-post, and you will be able to customize the page/blog"

    Is this possible? It doesn't for me due to unique URL problem yet.

    For example the web page is / banksy - Guide of Banksy

    But web app components must be on/banksy/web-app-item but need to change to/banksy-editions / Banksy choose your weapon (green) | Gallery hang up Banksy Guide

    I don't see any documentation, support BC do not know and ask me the Forum to discuss. Someone at - he found a workaround?

    Thank you

    Paul

    You have a page with the same name as you want for the web application folder.

    1 remove this page from banksy (Dungeon of backup of your content)

    2. change your url web app for /banksy you need

    3. create a folder called /banksy (it will allow you to make a folder)

    4. create an index.html in the folder of Banksy page - put your content to the page that you deleted here

    You will then have an index for the file page and the web application will work...

    /Banksy - index page

    /Bansky/ - index page

    /Banksy/index.html - index page

    / web banksy/something - point app

  • Dynamically update a numeric field as the sum of the values of page element.

    Hello

    I am updating a numeric field on a page of the apex by summing the values of several components of the page. I have tried to follow this tutorial http://st-curriculum.oracle.com/obe/db/apex/r40/apexdynactions/apexdynactions_ll.htm, especially the part "create a Set value dynamic Action with the help of PL/SQL'.

    In the example of the tutorial, they return a value of page element P3_SAL multiplied by a multiplier determined by the case of another page. What I want to do is much more simple that I just want to add multiple values page element and then display them in a numeric field at the bottom of the page.

    so the code I tried to use based on the tutorial is in the tab: Home > Application Builder > Application 103 > Page 3 > Dynamic Action change > create / edit Action

    Set type: PL/SQL function body

    PL/SQL function body:

    BEGIN
    return: P3_ITEM1 + P3_ITEM2 + P3_ITEM3;
    END;

    Page items to submit: P3_ITEM1, P3_ITEM2, P3_ITEM3

    But it gives me an error that I need to declare identifiers, and yet it works if I use only one article and I can perform arithmetic.

    That is to say.

    BEGIN
    return: P3_ITEM1 + 1000;
    END;

    Any help would be appreciated.

    PL/SQL function body:

    BEGIN
    return: P3_ITEM1 + P3_ITEM2 + P3_ITEM3;
    END;

    Page items to submit: P3_ITEM1, P3_ITEM2, P3_ITEM3

    But it gives me an error that I need to declare identifiers, and yet it works if I use only one article and I can perform arithmetic.

    In your code, it lacks the ":" for articles P3_ITEM2 and P3_ITEM3.
    Try this:

    BEGIN
    return :P3_ITEM1+:P3_ITEM2+:P3_ITEM3;
    END;
    
  • Check the box if the user enters the value field or text date input

    I have a business that, the rule of a JSF page with several components and groups. If the user enters the value in a date component or an input text component a selectOneCheckBox must be checked automatically. And even unchecked if the value of the field date field or text entry is deleted. I followed so far recommended for part of the ADF. I don't know what layer of the application of these rules should be applied.

    Please suggest how to get this implemented business rule

    Concerning

    You can implement the required functionality in the user interface layer.

    Here is the snippet of code for features:
    (1) page JSPX:




    Binding = "#{UIPageBean.inputDate} '"
    valueChangeListener = "#{UIPageBean.inputDateChanged}" / >

    Binding = "#{UIPageBean.inputNumber} '"
    valueChangeListener = "#{UIPageBean.inputNumberChanged}" / >

    readOnly = "true" simple = 'true '.
    Binding = "#{UIPageBean.CheckBox} '"
    partialTriggers = "id1 it1" / >

    (2) code Bean:

    public class UIPageBean {}

    Private RichInputText inputNumber;
    Private RichInputDate date. MinValue;
    box private RichSelectBooleanCheckbox;

    public UIPageBean() {}
    }

    {} public void setInputNumber (RichInputText inputNumber)
    this.inputNumber = inputNumber;
    }

    public RichInputText getInputNumber() {}
    Return inputNumber;
    }

    {} public void setInputDate (date RichInputDate. MinValue)
    this.inputDate = date. MinValue;
    }

    public RichInputDate getInputDate() {}
    Return date. MinValue;
    }

    {} public void setCheckBox (RichSelectBooleanCheckbox box)
    this.checkBox = checkBox;
    }

    public RichSelectBooleanCheckbox getCheckBox() {}
    return box;
    }

    {} public void inputDateChanged (ValueChangeEvent valueChangeEvent)
    this.checkBox.setSelected (false);
    If (this.inputDate.getValue ()! = null &)
    this.getInputNumber () .getValue ()! null = &.
    this.getInputNumber () .getValue () () ().equals("") .trim m:System.NET.SocketAddress.ToString is
    false) {}
    this.checkBox.setSelected (true);
    }
    }

    {} public void inputNumberChanged (ValueChangeEvent valueChangeEvent)
    this.checkBox.setSelected (false);
    If (this.inputDate.getValue ()! = null &)
    this.getInputNumber () .getValue ()! null = &.
    this.getInputNumber () .getValue () () ().equals("") .trim m:System.NET.SocketAddress.ToString is
    false) {}
    this.checkBox.setSelected (true);
    }
    }
    }

    Thank you
    Nini

  • Calling Custom Page from the advance line table

    Hello

    My need is,


    Advance in Standard page table.

    I need to add the column to the table of the advance and the column will be a link that is mean picture that calls the Custom Page.

    Once I select the line using RadioButton and click on the Image, the custom page name and

    I want to move the page setting custom Standard

    How to get there?

    I hope that you will have my need.


    Thanx

    Create the column through customization on the Page Std and the bean of the image, set the destination as URL:

    Code snippet
    
    OA.jsp?page=//oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId}
    
    At runtime, the OA Framework substitutes the current row's view instance attribute values for the tokens inside the curly braces. So, for example, &employeeNumber={@EmployeeId} becomes &emloyeeNumber=1234.
    

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

Maybe you are looking for