How to show the name of Manager instead od managerId in the hr schema

I have a requirement,

I use oracle xe database to connect to the hr schema, I created EmployeeEO, EmployeeVO,

in the user interface, I want to show the name of Manager instead of ManagerId, the problem is that both come from the same table.

How to fully complete this requirement, buy using the capabilities of the ADF without doing any coding (also search)

Hello

You will need to create a ViewCriteria in EmployeesVO based on the EmployeeId that receives a parameter. Next, you will need to go to the tab of the accessors for EmployeeVO and add a new pointing to EmployeesVO. Then edit and shuttle to the ViewCriteria to the right and in the inputParameter for empId you write (or select) ManagerId. In this way, that this accessor class will always be information of your manager.

Then create a transitional attribute with the value of the following expression: yourViewAccessorName.first (). = null? "yourViewAccessorName.first () .getAttribute ("FirstName") +" "+ yourViewAccessorName.first () .getAttribute ("LastName"): '"

Hope this helps

Tags: Java

Similar Questions

  • How to show the ink levels on the computer for Officejet 6600

    How to show the ink levels on the computer for Officejet 6600

    What is the full product name or product number?

    is your printer?

    This is the Manual of your printer the following image was derived.

    You can use the printer's built-in web server to get the status of the printer information from a browser.

  • How to show the photo album in Apple Tv screensaver.

    How to show the photo album in Apple Tv screensaver. ?

    You can use your photo stream or albums shared for the screen saver, the iCloud photo library can be viewed only manually.

  • How to show the multiple declaration for an application

    How to show the multiple declaration for an application

    Thanks for your suggestions...

    Looking at the javadocs you can only save an indicator by application. You will need to do three separate applications and package them as an If you want three different indicators to be visible at a time. Or change the flag that (or which group) of the indicators you want to display.

  • How to show the main screen (home screen of blackberry)

    Hi guys,.

    I need to know how to show the main screen (home screen of the blackberry), even if it's in any screen (like saying "Calculator" etc)...

    This must be done by programming... is there a solution for this?

    Thanks in advance,

    I also had. This is to disconnect incoming call and display the main screen (home screen of the blackberry).

    EventInjector.invokeEvent (new EventInjector.KeyCodeEvent (EventInjector.KeyCodeEvent.KEY_DOWN, (char) Keypad.KEY_END, 0, 100));
    EventInjector.invokeEvent (new EventInjector.KeyCodeEvent (EventInjector.KeyCodeEvent.KEY_UP, (char) Keypad.KEY_END, 0, 100));

  • How to show the photograph next to a project?

    How to show the photograph next to a project?

    in Adobe MyPortfolio

    It isn't a way by default to show them side by side, but we are looking in new views of project for the future.

  • Photoshop Elements 8, how to show the value, the hue and saturation of a specific area of a pickture?

    Hello

    Photoshop Elements 8, how to show the value, the hue and saturation of a specific area of the image?

    How to choose the area? Which tool?

    Thank you in advance, Karl

    Make sure first that your range of information is visible: window menu / Info (shortcut F8)

    In this palette, click the small icon 'more '.

    Select "Palette Options".

    and choose HSB to second reading of palette.

  • How to reset the color scheme to the default level in Windows 7?

    I changed the default color of Windows 7 (32-bit version x) system palette, using the personalize > Windows color > link appearance and the dialog that results.   But she did background colors of controls like buttons, drop-down lists etc. in the dialogs implemented by applications, being identical to the forefront of the font of text on them.  This makes the information unreadable text.   I want to restore the default color palette, so that this information can be read.   I want to know how to reset the color scheme, since other changes in results window customization in unpredictable and unreadable color on other components of the application windows.
    As this resulted in almost total ease of use of my computer, I would be very grateful to anyone who can guide me to reset the color scheme for my computer to its normal state by default as soon as possible.   Thanks in advance.
    -arasan77

    Defects of appearance and personalization,

    http://www.SevenForums.com/tutorials/282-window-color-appearance-change.html

  • How to change the color scheme

    How to change the color scheme

    If you mean the appearance of the interface of the program, go in Edition > Preferences > Interface and choose a theme.

  • People app - how to show first name first in the list

    My people list to Outlook in a browser lists regularly my contacts last name, then first name such as: "Jones, Bob".

    My people on my pro Surface application does not seem to me to show the contacts in this way. Settings > options will allow me to order the list of contacts by last name, but I can't seem to find a way to also show the surname first as my site outlook.com.

    What makes it so difficult find names on long lists.

    Can you help me solve this problem?

    Thank you!

    Hello

    Sorry, you can't make you show first.  You can order by as the name that you have found, but it will not appear first.  Don't forget to send your comments from the application (open the settings pane to do) to request this feature to add.

    In the meantime, you can always use your apps from more familiar contacts list, that you have used before you have Windows 8.  Maybe it's Outlook or something else, but what you used before will still work now.

  • [JS] How to show the label and the name of the object?

    Hello.

    This image is FrameLabel SDK sample.

    I want to show the label and the name that I set as image.

    For example,.

    App.Selection [0] .label = "label";     App.Selection [0] = [TextFrame object]

    App.Selection [0]. Name = "name";

    What is show and code to set property?

    You can not via JS, unless first do you a plugin to c ++ as that in the SDK and make it scriptable.

  • How to show the email address complete in the message and other areas

    How to view the email address complete address in To, Cc and other fields?  When I type a name that the name does not appear the part @xxxx.com address.

    Hello there jimhaynes,

    Looks like you see the names of people you're emailing, instead you send your e-mail to the e-mail address. You should be able to change that behavior by disabling the option called "Smart addresses using" located in Mail > Preferences > look a.

    If it is already disabled, it switches on, then back to refresh the setting. Once you have done this, you should see the name of the person next to their email when you type one in. It should look like this example: "Kelly Westover [email protected]>.

    If you want to continue to use smart addresses, you can click on the name to reveal more information about the contact by the following article:

    Address postal (El Capitan): use smart addresses

    https://support.Apple.com/kb/PH22294?locale=en_US&viewlocale=en_US

    Thank you for using communities of Apple Support.

  • How to show the head of a Department in first line

    Hi all

    I have a question where I want to display all employees in a Department, but I want to show the head of service
    always in the first line, to say that department_head is a foreign key in the department table.

    Please let me know how to achieve this.

    Thank you
    Tauceef

    The Manager of a depament would work in the same Department?
    If yes then this query will return this employee twice...

    Select ename
    from (
    Select ename, 2 as sortorder
    From dept d, emp e
    Where e.deptno=d.deptno
    Union all
    Select ename, 1 as sortorder
    From emp e, dept d
    Where d.mgrno = e.empno)
    Order by sortorder
    
  • How to show the mouth full function

    Hi all, I'm sure this is a stupid question, but I can't seem to track it down.

    When I use the Palace of function, it shows a view of abbreivated, Express, Favorites, user libraries and then an arrow down to show the rest of the Palace.

    How can I put it so that it always opens the mouth (as if you had hit the arrow down)?

    Thank you

    (If you get the palette via right click, you will need to nail it down to see the 'view' button).

    Press 'view' in the top right, select "Change the visible categories", then tap on ""select all "." Quite.

  • How to show the number n of labelfields in a HFM without roller horizontal sc

    Hi all

    I want to show n number of labels without scrolling in a HFM areas, how?

    The suggestion above reduces to a minimum the width given to each LabelField so that they fit.  If you want just the overlow when the screen width has been reached, try FlowFieldManager.

Maybe you are looking for

  • Satellite M40-129 - speed WLAN

    I have-Satellite M40-129: Centrino PM730 / Win XP Home / 15.4-Intel BIOS: Version 1.20 / 1.05.41-WIFI: Intel (r) PRO/Wireless 2200BG Network Connection, Version 9.0.1.9-Connection to the Internet by the provider Arcor 1Mbit / Germany My connection to

  • Satellite A300 PSAG0A - games does not show full screen

    I have a large number of games installed on my computer. At least 90% of them appear not in the size of the full screen, but they are displayed in a small window with a large amount of black screen that surrounds the window. I am running Windows Vist

  • interface c ++

    HelloI am looking for a way to create two communication channels between my LabVIEW VI and a user program writhen in C++ or Matlab.The idea is that the user program will be able to lunch the VI, who will run in the background and then send commands a

  • 3rd bad performance Spartan oscilloscope

    Hello, I am a student and I'm working on my final year project that consists of an oscilloscope implemented aboard Spartan-3e. I have to program the fpga in Labview. Up to now, I initialized the PGA on board th, the ADC on the Board, and now I have t

  • HALP! My Computer Configuration double double audio needs.

    HI HI I'm having a little problem with my audio to computers. you see I have a Setup dual monitor so that even if I'm on my games my roommate can watch his movies (we have no TV) unless I have to disconnect from the game. However, audio installation