How to implement hierarchical structure of managers and reportees using jdeveloper adf

I want to display hierarchical structure(which can be expanded and compressed) with 3 columns(Employeeid, fist Name,lastname) of managers and his reportees on selecting a top level manager.
In this i'm going to use programmatic view objects.
I have employees table.
Here is my detailed requirement:
On selecting a user from drop down list, i want to display the list of users reporting to him.
From the displayed list on selecting a manager, list of users reporting to him has to be displayed in a tree format with the correspoding just being listed below the current selected manager
Example :
Top Manger  has been selected from dropdown and clicked submit.
Output(a table as mentioned below):
Manager1
Manager2
NonManager1
Manger 3
On clicking manager1,
output:
Manger 1
  Manger11
  Manasger12
  Nonmanager11
Manger 2
NonManger1
Manger3
on clicking manager1 again, tree has to be compressed and the output has to be just the same as first output.
Please help me on this by sharing information or any references on how can i achieve this implementation using Jdeveloper adf concepts.
Will be waiting for the inputs.
Thank You,
Dev

Obviously, you can only display one picture.  So then the question becomes which picture to show.  Therefore, you will have to create some sort of preference of one pattern over another.
I would use a FOR loop so that you can loop through your available patters and their possible results.  Use the Conditional Terminal on the FOR loop so that you can stop the loop on the first match.  Then you just wire up the selected value for the ring outside of the loop.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • How to implement XI interfaces in online and offline modes?

    Hi Everybody,
    Can you please tell me how to implement XI interfaces in online and offline modes?
    thanks a lot,
    Ramya Shenoy.

    Hi,
    Are you looking for Push and Pull mechanism of PI?
    When the adapters like SOAP, HTTP, IDOC, etc. send the data to PI , it is nothing but a push mechanism, and hence the communication is synchronous by default.
    But adapters like JDBC, File, etc. they fetch the data from Source Applications, so it is a kind of Pull mechanism for PI, and
    by default communication is asynchrnous.
    Pls elaborate exactly what are you looking for?
    Regards,
    Supriya.

  • My emails do not go - they exit outbox and go to recovered. How can I delete my Icloud account and just use gmail.

    My emails go from outbox into I cloud recovered section. I have gmail too. how can I delete my icloud account and just use gmail? Speed test on wifi good.
    Any ideas please.

    Sign out of iCloud (System Preferences>iCloud)

  • HT1692 I just upgraded my pc to Windows 8.  How can I sync my iPhone 5 and iPad using a USB cable with iTunes for Windows 8 ?

    How do I sync my iPhone 5 and iPad using iTunes with my new Windows 8 computer?  Windows support community implies it's an Apple problem.

    chateaudrive wrote:
    roaminggnome,
    Windows Support says you cannot sync Calendar function for  iPhones with Windows 8
    You did not mention this in your 1st post.
    Did you try the troubleshooting steps on the page you came from?

  • How can i sync notes on ipad and iphone using itunes?

    how can i sync notes on ipad and iphone using itunes?
    it used to work with me before upgrading to mountain lion.

    Sync them both to the same computer.

  • How can i upload files in servlets and also using jsp

    means that uploading files(.doc) or any files by using servlets and jsps

    yawmark wrote:
    saichand wrote:
    means that uploading files(.doc) or any files by using servlets and jsps
    [http://www.google.com/search?q=How+can+i+upload+files+in+servlets+and+also+using+jsp]
    ~Good topic titles are indeed brilliant search keywords. It's sad to see that it won't even come in the mind of the topicstarters to Google it before posting the topic.

  • How to implement Master-Detail Search in TopLink without using DataControl

    Hi,
    I am using TopLink and EJB in our requirement. But we are not creating any data controls. Without data controls how to implement master detail search using TopLink and EJB. I did search for a single table. It is working fine. The way i implented is as follows.
    1) Taking search parameter from UI and passing it to A delegator class's method.
    2) Delegator class's method calls the EJB's NamedQuery which i already created using expression builder.
    3) EJB executes the NamedQuery with the parameter we are passing. And it returns the results back to UI.
    But as i am new to TopLink, can anyone tell me the procedure to implement Master - Detail search. Here we need to search based on Master table's column.
    Waiting for the replies regarding this.
    Thanks & Regards,
    Suresh Kethireddy

    Hi,
    I did it successfully. Following is the code.
    Session session = getSessionFactory().acquireSession();
    UnitOfWork uow = session.acquireUnitOfWork();
    ReadAllQuery raq = new ReadAllQuery();
    Dept d = new Dept();
    d.setLoc(loc);
    raq.setExampleObject(d);
    List<Dept> res=(List<Dept>)uow.executeQuery(raq);
    for(int i=0; i<res.size();i++){
    System.out.println("Dept DeptNo ---"+res.get(i).getDeptno());
    System.out.println("Dept DeptName ---"+res.get(i).getDname());
    System.out.println("Dept Location ---"+res.get(i).getLoc());
    List<Emp> eRes=res.get(i).getEmpCollection();
    for(int j=0; j<eRes.size();j++){
    System.out.println(" Emp No ---"+eRes.get(j).getEmpno());
    System.out.println(" Emp Name ---"+eRes.get(j).getEname());
    System.out.println("Emp HireDate ---"+eRes.get(j).getHiredate());
    System.out.println(" Emp Job ---"+eRes.get(j).getJob());
    System.out.println(" Emp Mgr ---"+eRes.get(j).getMgr());
    System.out.println(" Emp Sal ---"+eRes.get(j).getSal());
    But now my question is, i want to search by providing Dept param as well Emp(Which is child table) param also. Is it possible?
    I tried in 2 ways like this.
    1) Emp emp = new Emp();
    emp.setEname(eName);
    dept.addEmp(emp);
    raq.setExampleObject(dept);
    2) Emp e = new Emp();
    e.setEname("ADAMS");
    List<Emp> list = new ArrayList();
    list.add(e);
    d.setEmpCollection(list);
    raq.setExampleObject(d);
    But in both cases i failed to search based on the values i am passing to Emp.
    Is there any other way to achieve my requirement?
    Any help on this is great.
    Thanks & Regards,
    Suresh K

  • How do I transfer my iTunes apps and songs using my apple ID to our main computer which already has my husband's apple ID on

    I have iTunes on an old laptop with my own apple ID for my iphone and ipod.
    My husband has iTunes on our main computer with his own apple ID for his iphone and ipod.
    I am shortly purchasing an iPad using my apple ID.
    How can I transfer my songs, apps and videos from my iTunes onto the new computer using my apple ID, not his. 
    Is it possible to create a new account on his iTunes?
    How do I ensure all my apps and songs come over from my iTunes?
    I have searched on here and online but have not been able to get an answer.
    Thanks

    Thanks
    Are you sure that if I use my windows log in rather than my husbands, then open itunes it won't delete all his hundreds of songs and overwrite with mine? 
    I want to maintain my own apple ID login and he wants his but without losing his songs.....
    how do i transfer the content of my itunes including apps and songs to the new computer.  There doesn't seem to be an easy explanation on here. Do I just plug my iPhone in and it will all transfer?

  • HT2589 We had an account that was housed on our old computer but it didn't make it onto the new one...how can I get the account balance and start using it?

    We had an account that was housed on our old computer but it didn't make it to the  new one.  How can we find the balance and start using it again?

    iTunes accounts are not located on your computer.  They are simply tied to a specific AppleID.  Just log in to iTunes with the correct AppleID and Password and you will be back in that account.

  • How to get Portal Login user ID and Groups using UME API in JSPDynpages

    Hi Experts,
    How can I get the portal logged user ID and bsed on that ID need to get his assigend groups.
    For this Initially I need to get the logged user ID using UME API.
    Can you drop the code to write and display using JSP Dynpages?
    Thanks
    Venkat.

    Hi,
    Try the below code
    IUserFactory userfact=UMFactory.getUserFactory();
    IUser user=userfact.getUserByUniqueName(request.getUser().getUserId());
    String usrid=user.getUniqueName();
    And also you can get the groups assigned to user by using the below code
    Iterator groups = user.getParentGroups(true);
    while (groups.hasNext()) {
         String groupstr = (String) groups.next();
         IGroup g = UMFactory.getGroupFactory().getGroup(groupstr);
         response.write("Group name "g.getUniqueName()"<br>");
    Regards
    Suresh

  • How feed many record in table component and not use append command again

    hi master
    How I feed Multiple records in table component and not use append and save command again and again
    Same as oracle grid
    I give many record and save one time
    Please give me idea how I add Multiple record and save one time not use append and save command again and again
    Thank�s
    aamir

    Hi!
    appendRow() method just add temporal row. For add them to DB commitChanges() method should be used. So you can use appendRow() method several times, fill every new row and only then use commitChanges() method. In this case all new rows will be added to DB per one time.
    Thanks,
    Roman.

  • How to Implement SSL with Oracle Applications R12 without using Load Balanc

    How to Implement SSL with Oracle Applications R12.1.3 without using Load Balancer

    Please refer to (Enabling SSL in Release 12 [ID 376700.1]).
    Thanks,
    Hussein

  • HT1918 How can I cancel my credit card and just use an Itunes gift card?

    How can I cancel my credit card account and just use an itunes gift card?

    Changing Payment Information  >  http://support.apple.com/kb/HT1918
    Also see...
    Selecting the None option
    http://support.apple.com/kb/TS5366?viewlocale=en_US&locale=en_US
    If necessary... Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT1918 i want to know how to cancel a credit card account and just use an i tunes card

    How do I cancel a credit card account and just use my i tunes card?  Every time I try to use my i tunes card, it reverts back to the credit card account which I do not want to use.

    If you do not have your card registered to your iTunes Store account, then these are most likely fraudulent charges to your credit card directly rather than an unauthorized purchase through your iTunes Store account. Report the charges as fraudulent to your bank. They will probably cancel your existing credit card and issue you a new one.
    Regards.

  • How to find Mobile device OS name and version using Flex?

    is there anyway to get device information like OS name and version using flex 4.5.1 or 4.6 SDK. i am developing a project in Flex which needs to identify the end user mobile platform like Android, iOS.. and its version like Android means 2.1,2.2,etc..
    Anyone can help me on this?

    I don't know that there is a proprietary driver. In fact, I'm sure there isn't because I never installed one. I figured there was some code file somewhere that dealt with keyboards. Yes, I have dealt with the developer, they say to tell Apple there is a problem. I have been putting it off and waiting to update since 10.6.3, so the problem is getting a little old. Do I even know there is a problem? I'm not sure what this means. I do know that when I update my operating system past 10.6.2 my keyboard no longer works, and I have to use a stock Apple keyboard to run a time machine reinstall. Why else would I be going through this?

Maybe you are looking for