How to handle the OAMessageLovInputBean Action?

Hello

Can someone help me on how to manage the activity or action of OAMessageLOVInputBean?

Thank you.

Jon

Jon,

If (pageContext.isLovEvent ())
{
Form has been sent because the user has selected a value from the LOV modal window, either because the user tabs to the LOV of entry.
Find out what entry LOV triggered the event.

String lovInputSourceId = pageContext.getLovInputSourceId ();

At this point, all data are available in the VO base, just like regular events of PPR. Call AM an method for updating application VO properties.

If ("myLovInput".equals (lovInputSourceId))
{
am.invokeMethod ("handleMyLovInputEvent"); Invoking method here AM
}
}

Thank you
-Anil

Tags: Oracle Applications

Similar Questions

  • How to handle the onTriggered many ActionItem created dynamically

    Hi, I created the ActionItem dynamically using (loop)

    because data is from webservice

    How to handle the onTrigerred?

    If my code is like this:

    for (int i = 0; i)< alist.count();="">

    {

    My page page * = iRoot-->findChild ("SpecificObject");
    ActionItem * action = ActionItem::create () .title (aList [i] .name);

    bool res = QObject::connect (action, SIGNAL (triggered ()), this, SLOT (handleAction (())); what I'm confused because I don't know what action is triggered
    Q_ASSERT (res);
    Q_UNUSED (res);

    my page-> addAction (action, ActionBarPlacement:efault);

    }

    MyClass::handleAction() Sub

    {

    aFunction(); This parameter of function required of aList, said user.user aList [i]

    }

    Do I need to create handleAction() as well as added actionItem SLOT

    But I don't know how much action added because it is dynamic server

    Thank you

    There are a few options:

    Create a single location and connect all the signals. You can then call sender() into the slot to retrieve the object that sent the signal and go from there. You can also use a QSignalMap that maps each signal to a value and send this value to a single location. You can also use QSignalMap::sender() to get the sender object.

    I used the QSignalMap to do something similar for handling created dynamically successfully drop-down lists.

  • How to handle the case of zero insert line?

    11.2.0.2, I want to insert into a table and you want to handle the case where the zero line is inserted. I use the following code and hope an exception is caught and let me have the chance to do something
    set serveroutput on
    begin
    insert into his2051 select * from his2051  where today not in ( select distinct today from his2051 );
     EXCEPTION
        WHEN NO_DATA_FOUND THEN
            DBMS_OUTPUT.PUT_LINE('NO_DATA_FOUND exception ' );       
        WHEN OTHERS THEN
            DBMS_OUTPUT.PUT_LINE('OTHERS exception ' );       
    end;
    The block runs OK, but not seen release. How to handle the case of insertion of line 0?

    This will do what you want:

    set serveroutput on
    begin
    insert into his2051 select * from his2051  where today not in ( select distinct today from his2051 );
     if SQL%ROWCOUNT = 0 THEN
            DBMS_OUTPUT.PUT_LINE('%rowcount must be  [' || SQL%ROWCOUNT || '].' );
            DBMS_OUTPUT.PUT_LINE('NO_DATA_FOUND - but won't cause an exception ' );
     END IF;
     EXCEPTION
        WHEN OTHERS THEN
            DBMS_OUTPUT.PUT_LINE('OTHERS exception ' );
    end;
    
  • How to display the left action menu?

    Sorry, this is a newbie question. I have looked in the documentation, but has not found an answer for this.

    How to view and add action item in the left menu similar in action of 'Hub' menu in the image here:

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__actionitem.html

    Thank you!

    It is not an action menu, but a TabbedPane. Intended for a different use than the other menus, so better don't not for he applied as a set menu. See https://developer.blackberry.com/cascades/reference/bb__cascades__tabbedpane.html and also https://developer.blackberry.com/devzone/design/bb10/application_structure.html

  • How to handle the null value

    Hi all

    Can someone tell me how to handle null.

    I have a radio button, I need to capture the worth and inspiring I have a search criterion.

    If I select the radio button without problem. If I did not choose the option button it gives me the error.

    OAMessageRadioButtonBean var1 = (OAMessageRadioButtonBean) webBean.findChildRecursive ("job");
    If (var1! = null)
    {
    S1 = var1.getValue (pageContext) m:System.NET.SocketAddress.ToString ();
    }

    Please suggest.

    Kind regards

    Sangu

    S1 = (String) var1. GetValue (PageContext);

  • Inactive Contacts - how you handle the?

    We currently have XXX, XXX (there is no way I'm telling you, in fact) of contacts in Eloqua, which is not just whatever be done in a VERY long time. We have recently acquired another company who does not use Eloqua and working on their integration in our system. Now I'm sure that like Eloqua me just buy more space, I work on a project to clean up the deadbeats and leave room for shiny new customers. The program that we run has three points of contact, and if a customer engages in any of the steps they got out the program and will be left in the system. In the last step we let them know that if we do not hear back from them within 10 days, we will assume that they are super busy and we will remove them from our database. Also, we are ignoring those who joined in the last 12 months, because they can always be interested in reading some of our materials and have not gotten yet around him.

    This seems to be an Amir of a program and will surely cause our stats boost then because we send is more people that never open anything.

    How you handle these kinds of people? Do you agree with our approach?

    Absolutely!  It is a perfect process.  In my life earlier as someone who was directly in the marketing of opps, we did this process manually about every 3 months.  Automating this process with a campaign and send to the PB to automatically remove contact looks a perfect nurture automated.

    You can even include the verbiage in the last email, if they "do not" provide this mail they will be removed from the system.

  • How to handle the task of automation without connection SGD-Automation

    Hello

    I have created an Automation task, the task performs the work, but after completing the work, I need to connect SGD-automation user and update the status of the task to move to the next step. How to avoid manual handling in the task of automation? How to do the task to go to the next manual task without connection with CMS-automation.


    Kind regards
    Marg

    In your Xquery use the syntax "context: completeTaskOnExit ($context, $exitStatus).

    Set these two variables ($context, $exitStatus) according to your required exit status.

    Hope this has helped.

    Thank you

  • How to handle the no_data_found exception

    Hi all

    How to treat no_data_found exception in the procedure. I created a procedure with the cursor, the cursor loop and passing the value to the select statement (in the where clause). It works fine if the select statement returns one other wise he throws exception no_data_found, but I want to continue execution after the statement select returns no ecor. Please let me know how to handle this.


    Thank you and best regards,
    Rajasekhar

    Hello
    Assuming it's the syntax of your procedure:

    create or replace procedure XXXXXX as
    .
    .
    
    .
    .
    
    for cur_rec in 
    loop
    .
    .
    .
    
    .
    .
    .
    begin
    
    exception
    when no_data_found then
    
    end;
    .
    .
    
    .
    .
    end loop;
    .
    .
    end procedure;
    
  • How to handle the larger size than the movie disc?

    I couldn't see a razor tool, or something like that in yet that I can use to cut the video if it is larger that the DVD could hold.  What could I do if I am OK to remove some content in order to fit into the drive?

    Thank you!

    How to cut the timeline?  This is the part that I don't understand.

    I don't know that you can. And if you can, I'm not saying that it is a bad idea.

    Drag the end to the beginning. This makes it shorter.

    Drag the beginning to the end; then drag the element remaining in the beginning (do not leave any space empty).

  • How to call the two actions in the same button

    Hi all

    I'm new to ADF,

    My requirement is after the user enters the details in the Page. Some of the information (values) is passed to call some of the information (values) and web service is passed to the database.

    To do this, I created two buttons. One for spending details for the web service (button created from web service data control) and another button to pass the values to the database (created according to the validation of data control operation). The two actions of button work properly.

    But I need to call the two operations in a guide only button.pls me briefly to do this.

    Concerning
    C.Karukkuvel

    Hi C.Karukkuvel

    Maybe this blog post from Shay Shmeltzer can help, "making two declarative operations with a button.
    at http://blogs.oracle.com/shay/2010/04/doing_two_declarative_operatio.html

    success
    Jan Vervecken

  • How to handle the click event of the ButtonField?

    I've added six buttons in my application. I want to perform different actions dependent on which button is pressed.

    How I do that? Can someone explain to me please with code?

    Thanks in advance.

    You can use a FieldChangedListener.  When you press the button, it calls the function fieldChanged (...).  The first parameter is the area that has changed (i.e. button).

    Earl

  • How to disable the default action with ButtonField

    Hello

    Here's what I get "my custom action" when you click on a button:

    FieldChangeListener listener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    my custom action
    };
    };
    ButtonField myButtonField = new ButtonField ("Test button");
    Add (myButtonField);
    myButtonField.setChangeListener (listener);

    But when I click on the button shows a list of 3-point default choice. How can I disbale this list?

    Thank you.

    Something like that...

    ButtonField myButtonField = new ButtonField (button "Test", ButtonField.CONSUME_CLICK);

  • How to handle the case end good app?

    Hello

    I'm creating an application for BB Storm2 5.0 device. I have a function to maintain a custom in app menu item native contacts, and clicking from there, brings to my screen of the application. It works very well.

    Problem occurs in the following steps:

    Steps to follow:

    1. start my native element menu contacts application, launch my app successfully screen.

    2. then if I press the red button, launching the device home screen.

    3 then run on the native Contacts application once again, throw my request directly instead of native contacts.

    Because in step 1, I launched my application screen in the menu contacts native. Because it does not have closed earlier, lance on native contacts spear my request.

    Anyone explain how can I handle this situation?

    Thank you.

    What amrishodiq said, this isn't 100% correct.  Let me correct that, then explain what you see:

    You can add the ApplicationMenuItems without even starting your Application, by doing this in the treatment of hand (.).  If your application is present or not is irrelevant.  In fact, if you add them to the start of your application, you can get several added entries, must be careful about this.

    What amrishodiq said about the red button and the usual methods of closing an Application is correct.  If you really want to exit your Application, is to call System.exit (.).  This happens automatically if you use the screen and you close the last screen in the stack to display.

    That said, you're doing something completely different here.

    You run in a Menu of Application element.  This menu item runs your code, but it is actually run by the Contact Application.  That's why, when press the red button and then relaunch the application contact, you view your screen.  If you had an icon for your Application and you have clicked on that right now, you will see a different screen.

    In this case, if your screen called System.exit (.), he was closing the Contacts Application.

    The problem of the listeners and ApplicationMenuItems running in the Application they are related is something that comes up quite often on this forum.  You really need move on to your own application and process the contact in there.  There are complications with it, make it seem easier to do what you're doing, that is just run your screens under enforcement Contacts.  However, I would recommend that you look at putting in a global events in the context of switch for your application, I think it's a better long-term solution.

  • How to handle the UAC to run the file?

    Get a weather app to run each time that the boot of win7, but it always pop up to alert security of the UAC.

    I would like to know any approach to handle this situation:

    (1) add known run the file in the lists of confidence, so he would not jump to the top once again

    (2) turn off UAC

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    There is no "trust list" for UAC because that would be a weakness that hackers could exploit immediately. You have these options:

    • Download a compatible version of Windows 7 software.
    • Ask the supplier, how it can be changed to be compatible Windows 7.
    • Turn off UAC (not recommended)
  • How to handle the list manager correctly?

    Hello

    I am a student and I had to make a simple request to APEX.
    It is a part of modelling on the project:

    apex_ask.jpg

    As you can see, I have two relationship 'n - n' and a '1-n ".
    I want to create a user page in order to allow him to add a 'work' (work) but this "object" should be linked with the "n" type (type), "n" person and "n" copy.

    I am currently working on this page:

    scrennshot_apex.JPG
    As you can see, I have two list manager.

    I try a simple test:

    If I click on "region with dynamic action button" called click me! a short javascript code to show me the content of the second list manager

    id_personne = $v("P13_PERSONNE");
    alert(id_personne);
    

    the result looks like "40:30:4:6".

    I want to in PL/SQL, but I don't know how to do this:

    • Get the value of the Manager of the list (like javascript)
    • Get every issue of '40:30:4:6' in a LOOP

    Currently my PL/SQL looks like:

    DECLARE
        v_personne VARCHAR2(40) := '3:42:22:4:1:5';
        v_cptr NUMBER;
        LN$I pls_integer := 0;
    BEGIN
        v_cptr := regexp_count( v_personne, ':' );
        LOOP
            LN$I := LN$I + 1 ;
            dbms_output.put_line( to_char( LN$I) ) ;
            exit when LN$I >= v_cptr ;
        END LOOP;
    END;
    /
    


    I'm only counting the number of ': ' for loop.

    Kind regard

    Hello

    2909908 wrote:

    Please update your profile name with an explicit name, check out this video: https://www.youtube.com/watch?v=_FD80PU41k8

    Hello

    I am currently working on this page:


    As you can see, I have two list manager.

    I try a simple test:

    If I click on "region with dynamic action button" called click me! a short javascript code to show me the content of the second list manager

    1. id_personne = $v ("P13_PERSONNE");
    2. Alert (id_personne);

    the result looks like "40:30:4:6".

    I want to in PL/SQL, but I don't know how to do this:

    • Get the value of the Manager of the list (like javascript)
    • Get every issue of '40:30:4:6' in a LOOP

    Currently my PL/SQL looks like:

    1. DECLARE
    2. v_personne VARCHAR2 (40): = "3:42:22:4:1:5";
    3. v_cptr NUMBER;
    4. LN$ I pls_integer: = 0;
    5. BEGIN
    6. v_cptr: = regexp_count (v_personne, ' :');)
    7. LOOP
    8. $ LN I: = LN$ I + 1;
    9. dbms_output.put_line (to_char (LN$ I));
    10. When out LN$ I > = v_cptr;
    11. END LOOP;
    12. END;
    13. /

    I'm only counting the number of ': ' for loop.

    Kind regard

    You can use STRING_TO_TABLE to process the values of list manager.

    see the example given below

    DECLARE
      l_vc_arr2 APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
      l_vc_arr2 := APEX_UTIL.STRING_TO_TABLE(:P13_PERSONNE);
      FOR z IN 1..l_vc_arr2.count LOOP
        htp.p(l_vc_arr2(z));
      END LOOP;
    END;
    

    Visit this link for reference: http://docs.oracle.com/cd/E11882_01/appdev.112/e12510/apex_util.htm#AEAPI186

    Hope this helps you,

    Kind regards

    Jitendra

Maybe you are looking for