Run a clientListener of type without the (AID) selection selection

Hey everyboy, today I brought a difficult question and interesting for you. (I use JDeveloper 12.1.2.0.0 and the database given by oracle-> HR)

Imagine the following scenario:

-You have a table read-only adf with the service id and the name of the Department

-You have a table read-only adf with information from all 3 tables (join in the department table, table employee and jobs table), I'll call table HUB

-You have a table read-only adf with the employee id and the name of the employee

-You can select one or several departments and the HUB table displays only the rows that are related to the service you have chosen

-You click on any item in the table of hub and it highlights the rows in the employee table that correspond to lines in the table HUB

My question is: How can I do the last part (click on the picture of hub) without clicking it?

I have this on my table of HUB:

< af:clientListener method = "rowSelected" type = "selection" / >

< af:serverListener type = "invokeMatcher" method = "#{BeanControloTotal.matchEmFACTS}" / >

It's the rowSelected method:

< af:resource type = "javascript" >

function rowSelected (evt) {}

var table = evt.getSource ();

AdfCustomEvent.queue (table, "invokeMatcher", (), true);

evt. Cancel();

}

< / af:resource >

If I try to move my clientListener and ServerListener, it says that I don't have the attributes that I need for the method in my bean (because I don't have the employeeID).

I have the bean with links to everytable (so I can access them if I need) and my matchEmFACTS code is:

{} public void matchEmFACTS (ClientEvent clientEvent)

matchEmFromJavaScriptEmployee (clientEvent);

matchEmFromJavaScriptJobs (clientEvent);

matchEmFromJavaScriptDepartments (clientEvent);

}

{} public void matchEmFromJavaScriptEmployee (ClientEvent clientEvent)

initialize and store the values previously selected

oldSelCoMap.putAll (selCoMap);

selCoMap.clear ();

newSelection.clear ();

Employee of the chain = "";

RicheTableau factTable = (RichTable) clientEvent.getComponent ();

rowkeys selected process

RowKeySet rowKeySet = (RowKeySet) factTable.getSelectedRowKeys ();

CollectionModel cm = (CollectionModel) factTable.getValue ();

.....

}

Maybe there is a way I can run this clientListener automatically without having to select any element of my table of hub.

Any ideas?

My best regards,

Frederico.

I've managed to do this and to do that, I had to change my job so that they don't depend on the clientlister and click action.

It's a little difficult but doable.

So thanks for the answers and have a great day.

Frederico

Tags: Java

Similar Questions

  • How to get a link to open inside a page without the aid of images?

    The customer wants outgoing links from its site to open inside its own website (and he showed me an example of a site of era of the 1990s using frames...).  Before I pick up on the ground and muster the strength to have the discussion with him, IS there a way to do this without the aid of images?

    Thank you!

    What about using an IFrame to integrate the content of the page.  You can always use its header and footer - basically its own layout, but use an iframe in the main content area of the page.

    http://www.build-your-website.co.UK/using-iframes.htm

    http://www.w3schools.com/tags/tag_iframe.asp

    --

    Nadia

    Adobe Community Expert: Dreamweaver

    ---------------------------------------------------------------

    Unique templates CSS | Tutorials | SEO articles

    http://www.DreamweaverResources.com

    --------------------------------------------------------------------------

    Web Design & development

    http://www.perrelink.com.au

    http://Twitter.com/nadiap

  • Illustrator is snapping to the point without the option selected.

    Illustrator is snapping to the point without the option selected. Anyone else noticing this and what is the solution. Yes, I restarted illustrator.

    slange,

    Then, it may be time to see.

    The following is a general list of things you can try when the question is not in a specific file (you tried/made some of them already). 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically preferences might be corrupt); ((5) is a list in itself and 6) is the last resort.

    If possible / there is, you must save curent work first, of course.

    (1) close Illy and open again.

    (2) restart the computer (you can do that up to 3 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible);

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    (6) uninstall, run the vacuum cleaner tool (if you have CS3/CS4/CS5/CS6/CC), and then reinstall.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • Three questions.  The heart rate monitor now plays nice with the third-party applications?  Can you run these third-party applications, without the link to your phone?  How much storage?

    My experience with the original watch is that the heartbeat was working fine with apps in the House but does not work well with third-party applications.  Aboriginal health applications were sub par at best.  In addition, he wouldn't these third party apps (Strava), unless you were related to your phone.  A new doesn't do me much good if it is always the case.  Finally, it's great that you can bind your helmet now but what storage is the watch have?  I am not unrealistic, its understandable if its not much, but I hope that it is enough that a few apps and music enough to pass through a 4 hour tour.

    1 WatchOS3 made major changes in this area, and 3rd party applications get access to things like HR. OS3 also makes everything much more receptive. 3rd party applications will need to be updated to play with the HR monitor.

    2. you can run applications 3rd party without the phone with you, but for your type of application, you'll want a series 2 with GPS watch. The likes of Runkeeper OK working in the older shows, but without GPS, they do not really work you need. New - 3rd third party apps will need updates to work with the GPS watch. OS3 software has been available to developers for a while now, so I expect software updates only very quickly. I don't know if or when 3rd parties had access to the equipment and GPS devices, s, then it may be some while before they have series 2 updates.

    3. you can store 2 GB of music. How much music that is depends of course format and quality, but certainly several hours.

    Hope that helps

  • View the name of the person who got pay MAX() of all employees and the amount of salary without the aid of a subquery

    The table is the table of the sample already provided to the user 'hr' to oracle. The structure of the table is:

    NameNull valueType

    --------------                        -------- ------------

    EMPLOYEE_IDNUMBER (6) NOT NULL
    FIRST NAMEVARCHAR2 (20)
    LAST_NAMEVARCHAR2 (25) NOT NULL
    E-mailVARCHAR2 (25) NOT NULL
    PHONE_NUMBERVARCHAR2 (20)
    HIRE_DATEDATE NOT NULL
    JOB_IDVARCHAR2 (10) NOT NULL
    SALARYNUMBER (8.2)
    COMMISSION_PCTNUMBER (2.2)
    MANAGER_IDNUMBER (6)
    DEPARTMENT_IDNUMBER 4

    So I wanted the result to display the 'FIRST_NAME' of the person with the maximum salary of all employees and the salary of this person "Max (Salary)".

    I had the answer to the following query:

    Select first_name, salaries of employees

    where wages (select max (salary) of employees);

    But I wanted to know if there was another way to get the results without using subqueries? Thanks for your help. Appreciate it.

    Use the DUNGEON:

    Max (first_name) SELECT first_name from Dungeon (dense_rank last order of salary).

    Max (salary) salary

    of hr.employees

    /

    FIRST NAME SALARY
    -------------------- ----------
    Steven 24000

    SQL >

    SY.

  • is it safe to run my compaq presario cq62 without the battery and the power cord attached?

    My laptop told me that my battery should replace... I have to keep my power cord in now all the time coz my battery poer only changed as 5 minutes... is it safe out of my battery and run the laptop the power cord?

    Hello:

    Yes, you can do it.

    Is it a matter of having a lighter weight?

    You can also run the power cord with the battery installed.

    Sometimes the battery is so bad that you have to remove and the laptop will not work with the battery removed and plugged power cord.

  • Get the current name of the page without the aid of a bean

    Hello, everyone!

    If I would get the current name of the page to a page, I'd do something like this:
    #{bean.currentPageName}
    @SessionScoped
    @Named
    public class Bean
    {
        public String getCurrentPageName()
        {
            return FacesContext.getCurrentInstance().getViewRoot().getViewId();
        }
    }
    But my question is: is it possible to get the name of the current page directly from the xhtml page without using a bean? Is it something related to it or information available to the page itself? If so, how can I access it?

    Thank you in advance.

    Marcos

    Use the same semantics in the page:

    #{facesContext.viewRoot.viewId}
    
  • When printing, it's so small, I can't read it without the aid of a magnifying glass

    I'm trying to print an email & it prints if little, that I can hardly read it. About a month ago the printing function was working fine and then one day changed the impression of small and do not know what caused it. I tried to remove programs that have been added since the problem began, and that did not help.

    Firefox button > print-> print preview

    The pref scale controls the size of which is printed on paper. 100% is usually better.

  • How can I run version 3.6.8 and the beta as of separate applications without a crash?

    I ran the beta before, recently I downloaded version 3.6.8 and replaces the beta version. How can I download and run each as separate application without a crash?

    IS S/O

    Thank you, for choosing Mozilla for us to better help you come join us on live chat in 29 minutes if possible otherwise just on the live chat whenever you can.

  • How to start the program without the run button

    How can I start the program from the moment I opened the vi?

    without the use of the race.

    Thank you

    Under properties for vi, performance, click on run when open as in the screenshot of Jeff . Do not post any code set to run when open forums!

  • Run the program without the need to license labview labview. is this possible?

    Hello

    I'm wondering - is it possible to have a labview program that can be run without the need to license labview?

    Now we can produce programs executables labview but they need licenses for labview.

    Best regards

    s Farashi

    You can create an exe from your source code. In order to make the exe, you need the professional version of LabVIEW or generator of the app to buy separately. The app Builder includes the ability to create a Setup program. You can run the Setup program on the supported of a windows OS versions.

  • Can't see the network PC MAC computer, unless I have use RUN in the start menu and type in the IP address.

    Original title: MAC to PC NETWORKING.

    I added my Mac to my PC network workgroup.  I can see the PC from my Mac, but not my Mac to the PC network puts unless I have use RUN in the start menu and type in the IP address. I am running XP Pro SP3.

    Hi markymo777,

    I suggest you to check if you can see the MAC computer with the UNC path - \\computername\sharename. Later, check to see if the problem persists.

    Hope the helps of information.
    Please post back and we do know.

  • I want to run or install my HP Laserjet P1006 printer to work on my system without the software freely, I have misplaced the software please I need your help.

    Hello Sir,

    I want to run or install my HP Laserjet P1006 printer to work on my system without the software freely, I have misplaced the software please I need your help.

    Thank you

    Alex

    You can download the software here:

    http://h20000.www2.HP.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=3435683&lang=en&cc=us&prodTypeId=18972&prodSeriesId=3435682&TaskID=135

  • I can barely type a sentence in email or office without the cursor jumps around. It gets worse every day! ... What happens and how can I fix it or stop?

    I can't type a paper letter or in school without the cursor jumps around. It just happened again! ... He jumps around and I have to watch very closely... he already did 3 x now, just try to type these 3 phrases! What is wrong w / my laptop? and how can I solve this problem!

    Just a guess, you could have a setting on a place where some keys move the mouse. That would be used in the case that you do not have a mouse.

    Other that I can't help you much. If you are using a desktop computer, try to unplug the mouse and see what happens. If you're on a laptop, it could be that the trackpad is having problems.

  • Microsoft Lync 2010: When you add users to the Conference for the first time without having to type anything, the chat window is grayed out.

    Hello

    Microsoft Lync 2010: When you add / invite users to the Conference for the first time without having to type in the chat window, the chat window is grayed out. I am not able to type anything in the chat window to continue the Conference.

    Thank you
    Rajeev G C
    Phone: 9886540640

    Hello Rajiv Iyer,

    There is a forum for questions about Microsoft Lync 2010.
    Click here for a link to repost your questions in forums Microsoft Lync.

    Thank you

    Marilyn

Maybe you are looking for