How to manage the double click on af:table?

..... I use JDev 11 g...

I have an af:table I want when I double click on the line in this table, I run a method in backing bean.

(I know there's a selectionListener in the table but this for the simple click, I want a method call only if I double click on the table)

How can I do?

Thank you...

Sameh Nassar

You can use this method.

1 register a listener client on the table:

The doDbClick method is a javascript function:

function doDbClick (event) {}
source var = event.getSource ();
AdfCustomEvent.queue (source, "doDbClick", {}, false);
}

2 register a listener server on the table to consume this custom event:

The java method:

{} public void doDbClick (event ClientEvent)
do what you want
}

Colin

Tags: Java

Similar Questions

  • How can I configure the double-click on a Magic Mouse 2 without the universal access icon?

    How can I configure the double-click on a Magic Mouse 2 without the universal access icon?

    --> Mouse system preferences.

  • Disable the double click the home button

    IPhone 6 - How can I disable double click on the button for the command to NOT come home? Boring... = thanks IOS 9.3.1

    Settings > general > accessibility > accessibility shortcut.

  • Ho I replace the dll files and run codes such as the double-click to open

    How to replace dll files and run codes such as the double-click to open

    Hello

    1. What are the dll files you are trying to replace?

    2. Why do you want to replace the dll files?

    A dynamic library (DLL) file is an executable file that allows programs to share code and other resources to perform specific tasks. Microsoft Windows provides DLL files that contain functions and resources that allow Windows programs to work in the environment with Windows.

  • My files in Windows Explorer suddenly spent the double click to single click

    Out of the blue my Windows Explorer has suddenly changed to open files and folders by double-clicking on a single click. I don't like this and change (mainly because my voice recognition software works best with the double click method). How can I go on this return failover? Here is a picture of my Windows Explorer, you will notice that all the files are highlighted as if they were links in Internet Explorer.

    In the inside of any folder, press Alt on the keyboard to display the menu bar, and then choose Tools > Folder Options to change this setting.

  • How can I restore "double click-to-open" on my touch pad.

    Original title: the touch pad settings

    How can I restore "double click-to-open" on my touch pad. using window 7

    It depends on who built your touchpad.  Each company has different settings and put them in different places. You can check this common location, but it is not a guarantee.

    1. Open start and select Control Panel
    2. Click on hardware and sound
    3. Click the mouse
    4. Search for touchpad options.  If you don't see everything, go to the Hardware tab, highlight your touchpad in the list, and then click settings.
    5. If there are still no touchpad options, you will need to consult your manual to the owner for where your portable computer specific company set their parameters.
  • How do I change double click to single click on Windows 7?

    How can I change double click to single click to open programs, etc. ?

    Hi cmcgregor,

    Please see the following excellent tutorial: http://www.sevenforums.com/tutorials/10117-single-click-double-click-open-item.html.

    Good luck!

    Kosh

  • How can I make double click to single click to open files?

    How can I make double click to single click to open files?

    See:

  • I would like to know how to manage the ASN.1 encoding/decoding in LabView?

    I would like to know how to manage the ASN.1 encoding/decoding in LabView?

    Hello J,

    in the example given here , it looks like a format simple bytestream...

    You must read the byte stream, get the first and the second byte to decode the data type and length and then read & catalogued according to number of bytes. And then read 2 bytes and so on...

    Encoding will work the same but in reverse

  • How to manage the tv after hdmi to hdmi connection

    I want to connect to my computer windows 7 with tv on my Vizio tv hd tuner. I intend to use the hdmi to hdmi connections. After that I made the connection how to manage the tv without going back to the computer. My TV is in another adjacent room to my computer, sbout 20 ft away. Can I use a wireless mouse to manage the tv? The monitor and tv both appear at the same time? What are other options? Thank you for taking my question and to meet others, I put in the forum. Donnie

    I guess that the xbox 360 is a must for my setup. Thanks for your reply, Donnie

  • How to disable the right-click in Flash canvas

    How to disable the right-click in Flash canvas

    The problem is with the banner code, which, through incompetence or wrong has been coded to interpret a right-click as a navigation request. Fix this.

  • How to manage the SOAP response

    Hello (beginner vCO),

    I use the SOAP Plugin and trying to figure out how to manage the here, a host of SOAP response is the log I get the SOAP response

    [12:53:43.124 2014-05-09] [I] the settings...

    [12:53:43.135 2014-05-09] [I] the available settings:

    [12:53:43.136 2014-05-09] [I] + parameter name: "GetRequestStatusResult", value: "< response >

    < item >

    < ServiceRequestID > SR138917 < / ServiceRequestID >

    OS DEPLOYMENT < ServiceRequestStatus > < / ServiceRequestStatus >

    < ServiceRequestCreated > 09/05/2014-15:20:25 < / ServiceRequestCreated >

    < ServiceRequestCompleted > < / ServiceRequestCompleted >

    MA138921 < CurrentActivity > < / CurrentActivity >

    OS DEPLOYMENT < CurrentActivityTitle > < / CurrentActivityTitle >

    < ActivityStartUTC > 09/05/2014-15:32 < / ActivityStartUTC >

    < ActivityEndUTC > < / ActivityEndUTC >

    < DurationTotalSeconds > < / DurationTotalSeconds >

    < AverageDurationSeconds > < / AverageDurationSeconds >

    < SecondsOffAverage > < / SecondsOffAverage >

    < EstimatedCompletionUTC > < / EstimatedCompletionUTC >

    < / OutputParameters >

    < warning > < / warnings >

    < exceptions > < / Exceptions >

    < / response > '

    It will be better to try and parse text or try and use another method with vCO

    If you haven't done so already, take a look at the action of com.vmware.libarary.soap.processOutParameters.  It is the action that generated the log you have placed in us.  It generates an object Properties (key, value pairs) with the value for each setting that results.

    In your case, assuming that 'outProps' is the result of the above, you can use:

    var getRequestStatusResult = outProps.get ("GetRequestStatusResult");

    And to analyze the code XML with E4X as Ilian said.

  • How to disable the right click option resize on the table column header?

    Hi all

    Please let us know how to disable the right click option resize on the table column header.

    The problem is that when I right click on the header of the column, the column is selected and the context menu with options like type, resize columns, columns, etc... is popping. We want to disable the option of re-size column.

    We create a link by program the values in the table (do not use Bc4J) and the version of Jdeveloper's 11.1.2.2

    Thanks in advance,

    -Vignesh S.

    So who did not observe here is that the table is wrapped in a panelCollection and who is in fact source menu.  However, the content of the context menu can be controlled through the featuresOff of the panelCollection component attribute

  • How to turn off double click selection closing?

    IM using the PC and Photoshop CS6 on Win 7.

    I want to turn off this double click of LMB closes my selection. It causes my selection closes when I don't want it, clicking Quick using the polygonal lasso tool.

    Help, please.

    You can't disable double-click on the Lasso tool, but maybe you can go into the settings in the control panel mouse/trackpad and see if you can set the double-click speed here.

    Gene

  • How to manage the photos Lightroom when using 2 computers, keeping any changes made on one or the other?

    Based on http://forums.Adobe.com/thread/1308132?TSTART=0 I decided to add each question separately:

    Hello, I am very interested in buying Lightroom 5.2. I tried the RC that was missing today. Yet, I have several questions that I can't find really good conclusive answers, I'd like to get an answer before buying LR. Please do not write maybe like this or that (assumptions), because I don't want to start my entire workflow and then realize that I have to change all around, please reply, if you know for sure that something works and you are, preferably, using this method too.

    Is the big question, where I want to especially a conclusive answer:  How to manage the photos Lightroom when using 2 computers, keeping all the changes made on one of them, using the same photos for editing. I'm not going to use DNG. Details: I mainly use my old MacBook Pro, but I wish I could use my PC as it is much better (card: i5 2500K, 16 GB of RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HD that I could use, one for backup and one for the actual Photos/changes. I you will probably need to use as my internal HDs are fairly complete and I cannot be the kind of things simply delete or move to one (developer, without loss of music, programs etc.).

    On this basis, how do I save all such Photos folder (pictures and retouching and preferably presets too)?

    According to me, that it should be possible to work cross-platform without having to create a link to the files each time, or without having to keep export/import of the catalog, keeping the single catalog and the picture library on an external drive that is then switched between systems as needed.

    Obvious first requirement is an external drive that is formatted in a way (for example, FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalogue AND folder parent si le catalogue ET le dossier parent images are both set to the same level in a global parent folder, then it should be possible to take advatage of ability of Lightroom to use relative paths instead of absolute paths to detect the images, no matter if the player is named (Mac) or lettering (PC). This is how "export as catalog of ' works, that is, it creates a 'package', alias a parent folder, containing the catalog and a replica of the folder hierarchy to exported along with the catalog images. Take this 'package' to another system (same OS or not) and "it works" even if the drive letter is different or the operating system is different... because the relative path of the image catalogue is always the same.

    I have not tested this cross-platform (if I have between various PC systems with letters of different readers) so for me it's still just a theory, but there may be others who have done this successfully.

Maybe you are looking for

  • INTERNET 'FAVORITES '.

    When I try to access it through "Favorites" - I get the target message "" of this internet shortcut is not valid.  Go to the Internet shortcut property sheet and make sure the target is correct - for this reason, I brought all my computer back to fac

  • Beats Audio hp pavilion dv7, how to enable it? got windows 7 Home premium

    I have turned it on before randomly and can not repeat how I did before, the best quality when its is better for my mixer, so if you could help me out thanks

  • Zoom in icon missing

    HelloAnyone know how can I get my zoomed icon?  Who zooms on web pages etc.  He disappeared on me and I tried to help and that you know the answer.  I got so used to use it as my eyes are not what they once were.  If someone has an idea, I would real

  • Need for visibility on the IPsec protocol: aggressive Mode

    Hello I have a few doubts about VPN. I already went through a large number of documents. Everybody says something I don't agree with. So please don't view this kind of material in your answer. Aggressive mode: what I know, there are 3 Exchange for ag

  • Cannot install samsung apps to exclusive windows 8

    I have a Samsung ATIV Smart PC Pro (700 t) and when I go to the store Windows and try to install one of the applications 'Samsung Exclusive' (for example ' S Note"), I get the message"sorry, your purchase could not be completed.  I have no problem bu