How to handle click event on listBox

I have two listboxs. And I want to load The items into the second accordingly to the selected items in the first.And I want that the content of the second change each time the selected items of the first listbox are modified.
I don't know which event to handle for the first listBox indicating the items are selected in the first listbox. I want to execute the method loading items into the second listbox each time this event is fired.
Thanks in advance.

Thanks for your reply.
I used <webuijsf:listbox > component to display the list and .
And I want to allow user to select multiple items.
Then I want that the 2nd will be populated each time an item is selected.So the method doing it must be called in an action listener .
Please I don't really know how to use the <h:selectOneMenu> component.And I want that after the submit the 2nd list will be populated.
How can I do it please.
Thanks.

Similar Messages

  • How to catch click event on BAR or a BAR GRAPH???

    Hello
    I want to implemnt following things,
    1. there is Bar Graph containing 10 Bars.
    2. So i want to navigate to 10 diff. pages on click of each bar.
    So how to catch click event on BAR or a BAR GRAPH.????

    Hi,
    You can set Destination URI on a graph. The URL can be specifically associated to a particular data point plotted in the graph.
    Detail for the same is provided in OAF developer guide under 'Charts and Graphs' topic.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to handle selection event in alv component

    Hi all,
        i am new to webdynpro abap. and i want to know how to handle selection event(such as select all / unselect ) in my simple alv application.
    Thanks very much

    Hi,
    By default when you use the selection mode for the ALV as Multi/Mutli No Lead then this option is enabled.
    Try to implement the event ONLEADSELECT and check wether this event is triggered or not.
    DATA: lo_value type ref to cl_salv_wd_config_table.
        CALL METHOD  lo_value->if_salv_wd_table_settings~set_selection_mode
          EXPORTING
            value = cl_wd_table=>e_selection_mode-multi_no_lead.
    Try to implement these event for ALV and put a break-point and test which event is getting triggered.
    ON_CLICK           
    ON_DATA_CHECK      
    ON_FUNCTION        
    ON_LEAD_SELECT     
    ON_STD_FUNCTION_AFTE
    ON_STD_FUNCTION_BEFO
    Please provide more inputs.
    Regards,
    Lekha.

  • How to catch click event on a link from an applet

    how to catch click event on a link from an applet

    The applet has to call a mouse listener:
    public class Applet extends Applet
                   implements MouseListener, MouseMotionListener
    The mouse methods must be included, here is the one to catch a click
    public void mouseClicked(MouseEvent e)

  • How to handle server event in component through BOL Concept

    Hi All,
                Please let me know how o handle Server event in Component through BOL Concept.
    Thanks,
    Prameela.

    Hi Prameela,
    If you want the server event to be triggered in the search view, you have to add the code in the GET_DQUERY_DEFINITIONS method.
      DATA: lv_getter TYPE string.
    CONCATENATE 'GET_P_' <rt_result>-field INTO lv_getter.
        TRANSLATE lp_getter TO UPPER CASE.                    "#EC SYNTCHAR
        TRY.
            CALL METHOD me->(lp_getter)
              CHANGING
                cs_result = <rt_result>.
          CATCH cx_sy_dyn_call_illegal_method.
    *     no P-Getter found
        ENDTRY.
    Regards,
    Leon

  • How to handle key events in iphone

    I want to be able to detect physical keyboard (e.g. bluetooth) events in an iOS app.
    In Mac, there is a class NSEvent which handles both keyboard and mouse events, and in ios (iphone/ipad) the counterpart of NSEvent is UIEvent which handles only touch events. I know ios API does not provide this functionality, but how can i handle key events in iphone???

    in my application header part of the page is common of all page. header.jsff contains comandmenuItem named "proceduralhelp". if I click proceduralhelp a pop up opens .
    in my login page when first time I open popup and press escape popup is not closing.
    rest of the cases after login escpe will cose the popup.
    only on the loginpage that to for the first time it is not closing when pressing up on escape key. (then we click on close button. and once again open the popup in loginpage now if we press escape it works).
    Thanks,
    Raghavendra.

  • How to handle Valuechange events, when page bean is in request scope

    Hello balusc and forum mates,
    I want to know is there any good way to handle ValueChangeEvents events, when the page's bean in request scope.
    My problem is, I have a page having more than 1 value change event so How can I maintain page values at backing bean. My bean is request scope, I can't change to session scope.
    Please I really need it.

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

  • How to call click event to HorizontalList item after it's been initialized

    How do I to call the click event of a HorizontalList item
    after the dataprovider property of the HorizontalList object's been
    set and the first item's been created. I need to call it's click
    event.

    http://www-03.ibm.com/support/ezserv/home.jsp

  • How to handle the events of business object (BAPI)

    Hi,
    How to register to BAPI event and handle?
    For example, for a business object 'inv', there is an event as 'created'.
    I want to insert entry in a z table when an inv is created.
    I assume that the 'created' event is triggered when an inv is created.
    How i can register to that event and handle that event so that i can
    insert an entry in z table.
    Thanks,
    Prasad

    ComponentListener?
    : jay

  • How to add click event to MatrixLayoutRow

    Hi all,
    I want to add click Event to MatrixLayoutRow, Do you know how to add this Event ?

    Hi there,
    That link appears to be broken. I'm not sure what you mean by "no .css file was created". Edge does not directly use .css files.
    To add a button action to an object in Edge is straightforward. See this video at the 2:00 mark:
    http://www.youtube.com/watch?v=ysReea4yyys
    Here's a breakdown of how to add a click event to an object:
    1) click the curly braces to the left of the object in the Elements panel. This will launch the code event panel for your object.
    2) click the "+" button at top left and select "click", to add a click event to your object.
    3) assuming your object is on the root Stage, you can use the code presets at the right of your click event. Click the "play from" button at right of the events panel. This will insert sym.play(1000); which tells the timeline to play from the 1 second mark. You can change the play parameter to a frame label, say "intro", like this: sym.play("intro");
    Look at the Edge Animate API for more details on the play method:
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html

  • How to handle LostFocus event for TextField in J2ME?

    Hi:
    I want to handle LostFocus event for TextField in J2ME.
    So can anybody help me.....
    Thank You

    MIDP API does not have LostFocus event.
    You can try setting ItemStateListener for the TextField ([if needed, click here for details|http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/ItemStateListener.html]). API requires that +"...For implementations that have the concept of an input focus, the listener should be called no later than when the focus moves away from an item whose state has been changed. The listener should be called only if the item's value has actually been changed...."+

  • How to handle mousemove event in Acrobat?

    Hi, i am working on Acrobat plugin. how to handle mouse move event in acrobat using Acrobat SDK?. i have created menuitem. when i selected menuitem is activated now i want to handle mouse move event acrobat.
    Thanks in advance

    Thank You Leonard... For reply..
    AVPageViewCursorProc callback used for cursor coordinate..
    now i am displayed in the annotation.. but it is not show continuously... how can do it?
    whenever cursor changes, cursor coordinate should be displayed properly in the annotation. may i get some suggestion or sample.
    Thanks in advance..

  • How to handle key events in popup component

    Is there any possibility to handle keyboard events after a popup is opened
    requirement : I want to close popup when I press escape key (by default this functionality is present but in some scenarios this is not working ) so explicitly i want to handle key events for popup.
    Thanks,
    Raghavendra.

    in my application header part of the page is common of all page. header.jsff contains comandmenuItem named "proceduralhelp". if I click proceduralhelp a pop up opens .
    in my login page when first time I open popup and press escape popup is not closing.
    rest of the cases after login escpe will cose the popup.
    only on the loginpage that to for the first time it is not closing when pressing up on escape key. (then we click on close button. and once again open the popup in loginpage now if we press escape it works).
    Thanks,
    Raghavendra.

  • How to handle mouseclicked events in a ListView node correctly?

    Hi
    We want to simulate table rows and headers with a ListView. We have an additional requirement that when a particular row is selected, a X icon will appear at the last column. Clicking which will remove the row from the table.
    A snippet from the implementation is given below
    public class SampleList extends ListView{
        function getRow(row :Row, index:Integer, cell:ListCell):Node {         
             HBox {
                    var closeView : Image
                    content : [
                    Label {textWrap:true, text: bind row.id, layoutInfo: bind LayoutInfo {width:width * .2, height:height * .02 }}, //some column 1
                    Label {textWrap:true, text: bind row.name, layoutInfo: bind LayoutInfo {width:width * .12, height:height * .02 }}, //some column 2                                               
                    close = ImageView {
                                            image : Image{url:"close.png"}
                                            disable: bind cell.selected and not cell.empty
                                            pickOnBounds : true                                   
                                            onMouseClicked : function (event):Void{
                                              if (not close.disable)
                                            //delete from row from model (Row)
                                            } //close column
         override var cellFactory =  function () {     
                def cell : ListCell = ListCell {       
                onUpdate:  function() {                    
                        def item = cell.item;              
                        cell.node = if (item == null) null; else getRow(cell.item as Row, cell.index,cell);                                          
    }      The problem with the code is that the mouse clicked event used by the close button is multiplexed - Firstly - the application logic - it is used to delete the row from the model and secondly - the ListView control - uses it to trigger a item selection internally. As a result, if you click on a row which is not yet selected (in the sense that it is highlighted) at the exact location of the X icon, the row is deleted without it having been ever highlighted
    If you note the code above, you will notice that the close image's mouseclicked event checks cell.selected before deleting it. And cell.selected is true even though the list has not been highlighted
    Any workarounds for this problem would be appreciated
    Thanks
    Dhruva

    User, please always tell us your jdev version.
    In general you use a valueChangeListener which is fired when the user tabs out of the field...
    Timo

  • How to handle softkey events

    hi all,
    The softkeys varies form device to device.so kidly say some genric way to handle softkey events.
    Thanks in advance
    Badri

    The only "generic" way to handle softkeys is to use Commands.
    shmoove

Maybe you are looking for

  • Macbook Pro using Thunderbolt   DisplayPort adapter doesn't recognize monitor.

    So I've got a curious situation here. We ordered 3 new 13" MacBook Pros Retina (2013 model) and we were testing a cable hookup with a co-workers 13" MacBook Pro Retina (2012) but it doesn't seem to recognize the Monitor as being connected. The setup

  • How to push realtime data from SQL Server

    Hello, I am looking for the best way to approach the following situation ... 1) how to connect 2) what I will need to maintain "realtime" updated data on the the web browser (client) side 3) and if Flash Media Server 2 or the Flash runtime (Platform)

  • How can you find out what number comment you are on within the comments list?

    Hi everyone, I have looked around but I cannot seem to find an answer to what seems a very simple request. I have a PDF with over a hundred comments on it and I am making (slow) progress through the comments list. I would like to estimate how long th

  • Pivot point in Photoshop CS 4

    Hello I seem to have an issue using 3D layers in Photoshop CS 4 ext. You see I have a layer which I convert to a 3D layer and I want to rotate the element however I would like to move the pivot point which it rotates from. I am unable to do this. I c

  • Unable to  use Table name in a variable

    Hi, I am trying to build a select statement which uses table name in a variable. Please help me in building such statements. Regards Kishore