Display the fullname without clicking on the button in this tutorial

Hello,
I am referring to this tutorial : Zeeshan Baig's Blog: Calling PL/SQL Procedure and Function in Oracle ADF application
1) I would like the fullname to be displayed automatically after the employee id is input ,without having to click the getEmpFullName button.
2) I would like to copy the fullname value to an entity attribute and save in db .
Is that possible please ? Thanks.

Thanks  931325 , I want to use the tutorial link that you sent me .
Step1 : Define the application module method in respective page definition as shown in below screen shot 
Step2: Write the below code in backing bean to invoke application module method
Note : I have done step 1 , my method is already in page definition. How do you implement step 2 . 
public void ot2_attributeChangeListener(AttributeChangeEvent attributeChangeEvent) {
FacesContext facesContext = FacesContext.getCurrentInstance();
Application app = facesContext.getApplication();
ExpressionFactory elFactory = app.getExpressionFactory();
ELContext elContext = facesContext.getELContext();
ValueExpression valueExp =
elFactory.createValueExpression(elContext, "#{bindings}", Object.class);
BindingContainer binding= (BindingContainer)valueExp.getValue(elContext);
OperationBinding operationBinding=binding.getOperationBinding("createCurrentCustomerRow");
// Set the Input parameters to the operation bindings as below
operationBinding.getParamsMap().put("pCustomerID", "100"); 
// Invoke the Application module method
operationBinding.execute();
// Get the result from operation bindings
Object obj =operationBinding.getResult()
Thanks

Similar Messages

  • Need to display processing icon on click of submit button

    Hi all,
    I need to display a processing message like "Please wait....Request being processed" whenever the user clicks on submit button.There is a PL/SQL process which inserts data into the database on click of submit button.As this insertion would take time, I need to display a processing message as mentioned earlier.
    My approach was to create a javascript function and call it from the URL redirect section . when this option is selected,the processing message is displayed..but the PL/SQL process is not executed as the URL is redirected...
    Any help would be greatly appreciated....
    Thanks
    nashy

    To some degree, it will depend on just how long you think the process will take to run. If you think it's going to take several minutes (thus risking your page timing out), an approach I have taken is to run a process on submit which kicks off an oracle job (do a search for DBMS_SCHEDULER if this doesn't mean anything to you) thereafter, periodically repoll the page - you could go for a javascript method if you don't want to keep re-submitting the page - which checks to see if the job has completed.
    Once the job completes, you just show the data (or do whatever you need to do to indicate completion to the user).
    It does require a fair bit of conditional display and process control to pull off, but it is achievable.

  • HT2905 My itunes looks nothing like the examples in this tutorial.  I do not have "display exact duplicates" or "date added".  Can someone please help me remove duplicate songs?  Also, I downloaded two audio books and they are showing up in my song list.

    My itunes looks nothing like the examples in this tutorial.  I do not have "display exact duplicates" or "date added".  Can someone please help me remove duplicate songs?  Also, I downloaded two audio books and they are showing up in my song list. Why???

    'Show duplicates' is now under the 'View' menu. To see the 'Date added' column go to 'View options' from the 'View' menu and check it in the section under 'Stats'.
    Click an audiobook once to select it and hit command-i (Mac) or control-i (Windows). Go to the 'Options' tab and set 'Media Kind' to 'Audiobook'.

  • Pge Template Popup not displaying the buttons

    I assigned the template popup to a page. But now the button in that page is not displaying.
    Any help?
    Thanks
    Deb

    It's always helpful if you provide the following information up front with any question:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s) used
    - Theme
    - Templates
    - Region type
    I assigned the template popup to a page. But now the button in that page is not displaying.What is the purpose of this page? Is it actually a pop-up? Or just intended to have minimal structure? What button—what is its purpose? Is it in a region or item position? An HTML button or a template button?
    The problem is not with the page template. while opening the page I am passing the printer friendly parameter as YES which I have to. And that i causing all the mess.Printer friendly mode typically applies some generic changes to how a page renders, one of which is not to show buttons.
    Why do you have to have the page in printer friendly mode? And why do you want a button then to be displayed against normal convention?

  • To display region on a click of a button

    hi,
    I want to display a region on a click of a button which is in another region.I want when i click that button region containing button should get disappear and another region should get appear.when next time i open that page
    region containing button should appear first.
    second, i want to insert a check constraint on a field called mailid,that at time of inserting data in it ,it should contain '@'sign,if not a message should get displayed.
    pls can u help in out.

    Mak,
    To show and hide your regions, you need to use conditions, please review the following section in the HTML DB documentation for information on how to do work with conditions:
    http://download-west.oracle.com/docs/cd/B12037_01/appdev.101/b10992/mvl_a_con.htm#sthref1724
    To validate your mail ID you could work with database constraints. However in order to customize your error message, I'd recommend using HTML DB validations, see the HTML DB documentation, chapter 7 for more information on how to work with validations:
    http://download-west.oracle.com/docs/cd/B12037_01/appdev.101/b10992/mvl_buildr.htm#sthref938
    Regards,
    Marc

  • Loading and displaying other  form on click of a button using swing

    hi,
    i've just started with my first ever swing program. i want to load another UI form on click of a button . how can i do that.

    Sorry for posting last message
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class MainCl extends JFrame
    public MainCl()
    this.setBounds(100,100,400,300);
    btn = new JButton("Click me to show another fframe");
    btn.setBounds(10, 20, 250, 30);
    this.getContentPane().setLauout(null)
    this.getContentPane().add(btn);
    btn..addActionListener(new ActionListener()
    JFrame frm2 = new SecondFrame();
    frm2.setVisible(true);
    public static void main(String [] args)
    JFrame frm1 = new MainCl();
    frm1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frm1.setVisible(true);
    JButton btn;
    class SecondFrame extends JFrame
    public SecondFrame()
    this.setBounds(200,200,200,100)
    this.getContentPane().add(new JLabel("This is NEW FORM"));
    }

  • My ipad currently only has 18% charge, i want to download ios6 but it wont let me click on the button, could this be because it needs more charge

    my ipad 3 currently has only 18% charge, ive just gone to click on the download button to download new ios 6 but its not highlighted so therfore i cant do it, is this because ipad needs more charge?

    Yes, the update takes quite a bit of time (> 1 hr for my iPad2) and will not initiate unless you have enough juice in your battery or are plugged in.

  • How to display the button 'Down payment clearing ' in Billing document

    Dear Gurus:
        If I  used transation code F-39 ,I can do down payment clearing for billing document .But I want to do this in transation code VF01 .
        Can any one guide me how to do down payment clearing in billing document.

    Could you please share your exactly requirement.
    Regards,
    Manoranjan.

  • My ipod classic 80G is displaying the error message "this accessory is not supported" when placed on my Altec Lansing dock

    Ipod is 80G Classic and displaying no other unusal or faulty behaviour. In the couple of days between the dock working fine and the error message appearing, there were no software updates. The ipod is actually a couple of years older than the dock- what's going on?

    So the iPod worked previously on this particular dock? Does Altec's support website state that it supports your particular model iPod Classic?
    Have you tried a hard reset of the device with it still connected to the dock?  To do this, first make sure the hold switch is in the Off position, then press and hold both the Select (Center) and Menu buttons together long enough for the Apple logo to appear.
    It wouldn't hurt to also check the dock connector on the iPod for any signs of debrisa and bent or corroded pins that could be blocking the connection between the dock and iPod.
    B-rock

  • How do you make a movieclip display and play when click on a button

    I'm looking to have a movie clip pop up, play itself after a user clicks on a flash navigation button.
    (something like this???)
    message_btn.addEventListener(MouseEvent.CLICK, goMessage1);
    function goMessage1(evt:MouseEvent):void
        ???(play message movie clip here)???;

    How you code that depends a bit on how you design the movieclip.  You could make the movieclip have an empty first frame that it is stop()-ed at, and tell it to play() in the event handler function.  Or you could have the movie's visible property  initially set to false and stop()-ed at frame 1 and have the event handler set the visible property to true and tell the movieclip to play();
    The key is to have a plan where the movieclip is waiting to play and has an instance name assigned to it that you can use to command it to play when you want it to.

  • Help! when i connected my ipad 3 with ios 7.1 on my laptop, itunes displayed "the data on this ipad cannot be recognized. Please restore it to factory settings using the summary tab" my apps could not be detected by ifunbox or itools either. please help

    i am very desperate to get an answer along with a solution as i have extremely important personal data on my ipad

    Hi there Paula120,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    -Griff W. 

  • Please could someone explain to me some of the components on this tutorial

    http://cnx.org/content/m13711/latest/
    http://cnx.org/content/m13711/latest/
    Hi I am trying to carry out this VI curve tutorial,
    http://cnx.org/content/m13711/latest/
    Hi I am trying to carry out this VI curve tutorial,
    I have everything set up but I am really having trouble with the Block diagram I am meant to be copying.
    http://cnx.org/content/m13711/latest/
    Hi I am trying to carry out this VI curve tutorial,
    I have everything set up but I am really having trouble with the Block diagram I am meant to be copying.
    For example, how do I know which daq assistant is the input and which the ouput and then why is there 3 and not 2?
    http://cnx.org/content/m13711/latest/
    Hi I am trying to carry out this VI curve tutorial,
    I have everything set up but I am really having trouble with the Block diagram I am meant to be copying.
    For example, how do I know which daq assistant is the input and which the ouput and then why is there 3 and not 2?
    also the N in a blue box and the I in a blue box in the top left and bottom left corner, I have no idea what these are.
    http://cnx.org/content/m13711/latest/
    Hi I am trying to carry out this VI curve tutorial,
    I have everything set up but I am really having trouble with the Block diagram I am meant to be copying.
    For example, how do I know which daq assistant is the input and which the ouput and then why is there 3 and not 2?
    also the N in a blue box and the I in a blue box in the top left and bottom left corner, I have no idea what these are.
    Please help its really important I do this.
    http://cnx.org/content/m13711/latest/
    Hi I am trying to carry out this VI curve tutorial,
    I have everything set up but I am really having trouble with the Block diagram I am meant to be copying.
    For example, how do I know which daq assistant is the input and which the ouput and then why is there 3 and not 2?
    also the N in a blue box and the I in a blue box in the top left and bottom left corner, I have no idea what these are.
    Solved!
    Go to Solution.

    Hi again,
    right so I have done what you all said and gone and read a book on LabView fundamentals, "introduction to data aquisition with LABVIEW by RH king"
    it has answered my questions about the for loop and most of the rest, the thing I am now having trouble with is the pink lines coming from the DAQ assistant, I have tried all the options, generate signal, aquire, sine wave, digital, continuous samples, N samples but I can't get a pink line, all I can get in that location is a gray "error out", is this all it is, just connect error out to error in.
    Also another thing that is confusing me is, just before the graph, that component between the last division and the graph indicator, I am having trouble identifying.
    Sorry to keep badgering on about this one but I need to get this example completed for work.

  • Image not displayed on the button

    I don't know why, but I can't seem to view any image set on a button.
      Image minimize = new Image(getClass().getResourceAsStream("images/min.png"));
          Button button1 = new Button();
          button1.setGraphic(new ImageView(minimize));Even the ButtonSample.java sample program from http://docs.oracle.com/javafx/2/ui_controls/button.htm# does not seem to show the image on the button. (It displays the button without the image)
    Could anyone please tell me what I'm missing here.

    Could anyone please tell me what I'm missing here.You are probably missing the image.
    Is the image in the place you are looking for it under the classpath?
    System.out.println(getClass().getResource("images/min.png").toExternalForm());Then go and check if the image is at the printed location.
    You can also add a listener to the image's error property to see if there was some error loading it.
    You can find some sample code for buttons with images here (http://stackoverflow.com/questions/10518458/javafx-create-custom-button-with-image) and try them out to see if they render correctly for you.

  • Execute Menu Function on click of the button

    Hi All,
    I have a requirement, where we have to convert the Interactive form to XML on click of the button.
    This button is also available on the form. In the PDF we have option in Documents --> Form Data --> Export Data from Form
    Is there any way I can excute this, when I click on the button. I tried app.execMenuItem(). But it is not working.
    Please help me.
    Amit

    Hi All,
    I have a requirement, where we have to convert the Interactive form to XML on click of the button.
    This button is also available on the form. In the PDF we have option in Documents --> Form Data --> Export Data from Form
    Is there any way I can excute this, when I click on the button. I tried app.execMenuItem(). But it is not working.
    Please help me.
    Amit

  • Internet Explorer7 cannot display the Webpage in forms 10.1.2.3

    Hi all,
    I have installed forms 10.1.2.0.2 to my laptop under Windows Vista Home Premium and followed the following steps :
    1- changed virtual memory to (minimum of 2048 and maximum of 4096)
    2- I updated forms 10.1.2.0.2 it to forms 10.1.3 using pathch 3 (patch ID 5983622)
    3- I changed the application server Url in forms builder by choosing Edit, preferences, runtime and click on "Reset to default" button and added ?config=jpi at the end of the line.
    when i run the form I got the message "Internet Explorer cannot display the Webpage"
    when I called the link http://Computer_name:8889/forms/frmservlet?config=jpi
    I got a message asking me to allow downloading java plug-in 1.4.2 ( which I know that it is not certified with Vista), So i refused downloading and updated the formsweb.cfg file as Steve Cosner said in his thread Vista Jinitiator problem
    and added these new lines to the formsweb.cfg file:
    [[jdk15]]
    jpi_classid=clsid:CAFEEFAC-0015-0000-FFFF-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.5.0/jinstall-1_5_0_12-windows-i586.cab#Version=1,5,0,12
    jpi_mimetype=application/x-java-applet;jpi-version=1.5.0_12
    jpi_download_page=http://java.sun.com/javase/downloads/index_jdk5.jsp
    baseHTML=basejpi.htm
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjpi=basejpi.htm
    baseHTMLie=basejpi.htm
    When i run the form I got the same error message "internet Explorer cannot display the Webpage "
    Again I called the link : http://Computer_name:8889/forms/frmservlet?config=jpi
    then I got a message asking to allow loading and installing JRE 1.5.0_12 , and I allowed downloading and installation
    After all of this, the form doesn't run and I get the same message "Internet Explorer cannot display the Webpage "
    Is this a forms related problem or an Internet Explorer problem
    Please help
    Mostafa Abolaynain
    Edited by: Mostafa Abolaynain on Jun 5, 2009 12:06 AM

    jemar98 wrote:
    We have a custom application built alongside Oracle Ebusiness Suite 12.
    Launch a form from the Menu Navigator
    Click in any field in the form
    Focus does not change to the field that was clicked
    Focus can be retained by pressing any keyIs this issue with all custom forms or specific ones?
    Did you use the TEMPLATE.fmb file when building your custom forms?
    Can you find any errors in the JRE Console Window?
    Please obtain the FRD log file and see if you can capture more details about the error -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for

  • When I go to click on FF icon Firefox crashes before it starts...

    FF was working just fine... I was on Facebook... left my computer (Mac OS X 10.5.8) for about an hour (everything was left on)... when I got back FF had crashed, I did the usual, sent report and restarted... the icon would bounce, looked like it woul

  • Inserting a new row in a table

    I want to insert a row between other rows. Means when we insert a row and we see by select * from emp; then the result shows that inserted value goes to last row. So i want that when we insert a value to a table and do select * from emp; then inserte

  • Vendor sub-range in automatic po

    Hi, All, I have a problem with vendor sub-range in the next process: In info record there is sub-range SR1 for material/vendor. In contract there is sub-range SR2 for same material/vendor In mrp was created requisition with reference to contract. we

  • Import  to iPhoto from iphone

    I have photos in my camera roll on iphone and they do not sync to iphoto or itunes. how do I do that. John

  • Photoshop cs5 cloning tool problem

    when using the cloning tool or the healing brush if I move the cursorn over the image the layer moves with the cursor