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
select course_name from training_attendance_table
where course_name=:P1_COURSE_NAME
For dis_date
select on_date from training_attendance_table
where on_date=:P1_ON_DATE
After I wrote a process to capture the hidden question contained in the message, and that's what follows
 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;
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.

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
Your Attendance for the *<course name>* training session on *<date>* is confirmed 
Waiting for the solution.

Kind regards
Mini

Try this.

Your presence to the & P1_COURSE_NAME. training session on & P1_ON_DATE. is confirmed

Tags: Database

Similar Questions

  • How to capture the values

    Hi friends,

    I came across one of the scenarios, i.e.

    In my application, I have a report page and a form page, the report and the form are based on the unique table...

    If a record is inserted medium, means it will be inserted in the report...

    in the region of report I have an button called then if I clicked the next button means a form page must open to capture all values which is inserted in the report of each field of the form...

    How to capture the values of the ratio to form shortly after clicking on the button NEXT in the region of report...

    Help me solve this question friends,

    Thank you
    Saro...

    Hello

    For the Next button , which is located in the region of report,

    change the Action: to redirect to the page and give the respective page number: (i.e.) the target...

    And specify the value of these items: what are all the elements of the target.

    with these values: describe the elements of the source where you will take the values of the corresponding points...

    Izz all wells
    GTA...

  • How to capture the value of type column report

    It would be a great help that you might suggest the following

    (i) Java script that I wrote on the standard status column (in a tabular report) fails.
    This happens because of the standard status column, if I use the text field then called Javascript function and showing correct results.

    Now, here, I want to know how to capture the value of the column standard report, since javascript fails due to
    the column values of standard report unrecognized.

    Example:

    Columns of the report as a table:
    ```````````````````
    Standard report column: salary
    TextField report column: new treatment
    Report column standards: difference

    I've written the javascript on column New_salary function which returns the value of the salary column to calculate the difference.

    For this column of report types, the javascript function does not work, that is to say, it does not show the difference., since it is not read
    the value of the column Salary (which is the Standard type of report column)
    Once I have change the Salary column to text (display as saved state) javascript field works fine.

    All entries on how to capture the standard value of the column, so that I can access the value of the javascript function.

    Thanks in advance
    Vijay

    Hi Vijay - I had problems with the forum as well (and my workspace OTN so)!

    You have two questions, I think.

    First of all, that the old wage is not an input element, you can not get to it by referring to an ENTRY tag. you will need to change that to something like:

    var s1 = d[k-1].firstChild.nodeValue;
    

    This means that there is nothing else in the cell apart from the text - as in < td > < table > 123. If there is something else there that stops you getting the value using the above, you can go through these nested tags referring to objects further firstChild-

    var s1 = d[k-1].firstChild.firstChild.nodeValue;
    

    As I don't see your page, you need to check yourself to see firstChild how much you need. This example assumes that you had something like: < td > < b > 123 < /b > < table >

    Second, the values of s and s1 are strings. You must convert these numbers to be able to perform calculations. You have two javascript functions to do this: ('string') parseFloat and parseInt ('string'). One contains decimals, the other is not - but know that one is not very accurate (it can change "123.456' in ' 123.455999999995' or something similar - not very good! '").

    So, your calculation should be:

    var diff = parseInt(s) - parseInt(s1);
    

    Andy

  • How to capture the value of profile in AM

    Hello

    How to capture the value of profile in AM.

    Krishna

    Here is the code that you can use

      String profileValue=  getOADBTransaction().getProfile("profile Name");
    

    Thank you
    -Anil

  • How to capture the data of type string with agent script and then compared to an alarm

    Hello...

    How to capture the string with agent of script data and then create a rule to compare the string data to generate alarm?

    Thank you!...

    Start here:

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/6155.custom-script-agent-1-leverage-an-existing-monitoring-script-to-push-data-into-Foglight

  • How to retrieve a value of page element in another page?

    Hello

    How to retrieve a value of page element in another page?

    say P55_COURSES_TO_EVALUATE is my name of the page element, and it is a selection list. Based on the value selected in the next page I see the details of the selected value shd and for that I need P55_COURSES_TO_EVALUATE value in the following page. How to do it? When I try to retrieve the values it simply returns nothing.
    Pointers would be really useful.

    Thanks in advance.

    Hello

    Could you please how you try to use it?

    If you set the value to the P55_COURSES_TO_EVALUATE element and submit the page, the value is stored in session state.
    Then you can use this element in any page as

    :P55_COURSES_TO_EVALUATE
    

    You cannot access page value in javascript/jQuery to other pages like

    $v('P55_COURSES_TO_EVALUATE')
    document.getElementbyID('P55_COURSES_TO_EVALUATE')
    $(#P55_COURSES_TO_EVALUATE)
    

    Because the item is not on the other pages. In javascript from other pages, you can use

    var a = '&P55_COURSES_TO_EVALUATE.';
    

    Kind regards
    Jari

  • JDev 10.1.3.4: How to customize the validation message?

    Hello

    I am using JDeveloper 10.1.3.4 and want to customize validation error message but don't know how. Also, the error message is triggered off the base and needs fixing.

    On my page, I have a group of two radio button is set to required = "true", a message is added, and the two buttons and the error message are placed in a grid of three-column table:
    <h:panelGrid columns="3"
                 binding="#{backing_student_doValidation.panelGrid1}"
                 id="panelGrid1" frame="none">
    <h:selectOneRadio binding="#{backing_student_doValidation.selectOneRadio1}"
                      id="selectOneRadio1" required="true">
      <f:selectItem itemLabel="I Agree" itemValue="agree"
                    binding="#{backing_student_doValidation.selectItem1}"
                    id="selectItem1"/>
      <f:selectItem itemLabel="I Disagree" itemValue="disagree"
                    binding="#{backing_student_doValidation.selectItem2}"
                    id="selectItem2"/>
    </h:selectOneRadio>
    <h:message for="selectOneRadio1" errorStyle="color:rgb(255,0,0);"/>
    </h:panelGrid>
    When none of the buttons is selected, the validation error message is:
       O I Agree   O I Disagree   Validation Error: Value is required
    that is not quite user-friendly. I want the message to be: "you have to either agree or disagree. But how?

    Another problem is that the error message is triggered. What may be not presented above, is that this error is emitted above the buttons as if the error message is surrounded by the Exhibitor tag: imagine < font size = "2" > < sup > Validation error: it takes value negative > < / police >. I tried several (middle, base, low) values for the vertical-align property of the panelGrid but none has no effect. Is there a way to fix this?

    Thank you!


    Newman

    Hello Newman,

    It is strongly recommended to use the xml format of the jsp that is jspx. It's good to move to this format for all of the examples you will find only in this format. JSPX has nothing to do with panelPage or ADF Faces components. You can use pure standard JSF
    jspx format components. But I would suggest that you use ADF Faces components since they are compatible JSF and they provide the enriched functionality. Or you can freely combine JSF components and standard ADF Faces or even if you like another set of compatible
    You can import the tag library and also use JSF components.
    To return to your use case. Using the af:selectOneRadio instead of f: selectOneRadio component you can solve the problem with customization of message required validation by using the requiredMessageDetail property, but you will encounter :) problem of position of this message

    
                
                  
                  
                
    
    
    

    Kind regards

    Branislav

  • How to disable the annoying message "Printer cartridges no HP installed" on Windows 7?

    How to disable the annoying message "Printer cartridges no HP installed" on Windows 7? I have a HP Officejet 6500 has more and there is a way to disable those annoying pop ups. First of all, why HP can't fix their software to display only 1 message. If I turn on my printer, I get about 5 popups when the 3-minute delay. Is - this embarrassing? You bet, I do not turn off my printer more to avoid these messages. There must be a registry entry that I can delete gladly. Ideas? If you are an employee of HP, please do not give the Conference on "genuine cartridges" and how you take care of your printer. I've had my printer for 7 years and never had a problem with cartridges not HP. They are all made in China.

    This isn't a bad idea, but this does not resolve the issue. There are many complaints from customers about these annoying messages. All HP needs to do is to say to their developers to add a function to disable this feature. What is a marketing thing? Yes, it's a boring marketing question that should really be fixed. It's like Windows display constantly that your device drivers are not fully tested. Of course, when a customer buys a product at a lower price, they take this risk. I hate to be notified 365 days a year that my cartridges are not authentic.

  • How to automate the process of loading data using load file &amp; Task Scheduler

    Hello

    I do the automated processes to load the data into Hyperion Planning application using the file data_Load.bat & Scheduler of tasks.

    I created Data_Load.bat file, but the rest of the process, I cannot complete.

    Could help you me, how to automate the process of loading data using the file Data_load.bat & task Scheduler or what are the rest of the file is require it to achieve.

    Thank you

    In response to your question using the maxl for loading scripts?

    If Yes, I've seen and deliver in the batch (ex: load_data.bat) that is you do not have the path of the maxl script complete with a batch when passing through the event the task scheduler will work, but the log file and / or error will not be created. Which means lots claims it linked task scheduler, although he did not do what you need to.

    If you use maxl use this as the batch

    "essmsh C:\data\DataLoad.mxl" or you can also use the full path for the maxl or work elsewhere. The only reason why I think that the maxl can then not work is if you do not have the updated batch updated to call on all LANE changes maxl or if you need to update your environment variables to correct the command essmsh to work in a command prompt.

  • How to add the warning message when you use the function 'print' in Adobe LiveCycle Designer

    I'm trying to make the pdf document for my business that requires the addition of a warning message while everyone to use the function 'print' page...

    Does anyone know how to add the warning message about LiveCycle Designer

    Also my supervisor mentioned something using "nag" If that sounds at all

    Not in the XML code, in the case of script of pre-publication of the "print" key. If you don't have the script editor to the top on your version of designer, you can press ctrl + shift + F5 to bring it.

  • How to implement the process Train in Jdev 10.1.3

    Hello..
    Anyone know where to find a tutorial on how to implement the process train in jdev 10.3.1

    Thank you

    http://download-West.Oracle.com/docs/HTML/B25947_01/web_complex005.htm#CEGIGJID

  • How to capture the value of the profile controller option in the OPS?

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?
    How to write the code for this?

    Thank you

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?

    Pagecontext class we getProfile method using this you can get the value of profile:

    pageContext.getProfile ("profilename");

    Concerning
    Meher Irk

  • How to capture the input value of text by the user in a popup page search LOV?

    I need to capture the user entry in the LOV search page. I added a controller in the LOV region, and the speed is also work, but I have to hold the entry to search for in the contextual search page. Also do you know what the text entry id "keyword"? then I can try store the value in LICS of the Commander.

    Hello

    Why do you need to write code in LICS?

    You have the user type field in your query of Lov VO (then only you had created search are they allowed in Lov research/item of type user), I proposed is just changes to sql to check if the user type is vendor and caters fields null., something like below for each address field:

    , DECODE (user_type, "PROVIDER", NULL, ) address_field1

    You should always share full details, including related sql code and xml on your question to avoid all these discussions back

    Kind regards

    Sandeep M.

  • How to capture the username to login dialog before actual login on demand. as in the trigger LOGON IT I want to put a validation

    When the user launches the application we get connect dialog asking the USER name: PASSWORD: STRING: values.

    Once we enter these values, it will connect to this session. But I want to take the username before you actually connect to the database. How is it possible. I'll make a few validatios before opening SESSION or ONE CONNECTION.

    IM using form 11g

    Forms [32 bit] Version 11.1.2.1.0 (Production)

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    Oracle Toolkit Version 11.1.2.1.0 (Production)

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.2.1.0 - Production procedure generator

    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

    Query Oracle 11.1.2.1.0 - Production Designer

    Oracle virtual graphics system Version 11.1.2.1.0 (Production)

    The GUI tools Oracle Utilities Version 11.1.2.1.0 (Production)

    Oracle Multimedia Version 11.1.2.1.0 (Production)

    Oracle tools integration Version 11.1.2.1.0 (Production)

    Common tools Oracle zone Version 11.1.2.1.0

    Oracle CORE Production 11.1.0.7.0

    Some how WE-ERROR now works. seems that I made a mistake. I capture the error ORA-2391 he and custom message display.

    Thank you

  • How to capture the users of information fromRPD

    Hi Experts,

    I have x, user Y z in RPD. They're back writing. How to capture their username in the responses. \


    Thnaks
    V

    You can assign the variable user to session system in a column where the writeback is used
    put VALUEOF (NQ_SESSION. The USER) in fx of the column. so when X the user connects, the column is filled with the value 'X' and this value can be rewritten to db.

Maybe you are looking for