Hierarchical List View with Parent and detail as Table

I have a requirement where in I need to show a list of items e.g Deparments and for each department I need to show the corresponding employees in a table
I used the listview component .I used the groupHeaderStamp containing a list item  to display the parent record and another liist item to display the child records. However , the child records are not getting displayed. If I comment the groupHeaderStamp, then the other records are getting displayed. Please help..
Basically , the below code from Using Tables, Trees, and Other Collection-Based Components - 11g Release 1 (11.1.1.7.0)  did not work . It showed up only the contents within the groupheader stamp I am using Jdeveloper 11.1.17.0
  <af:listView id="lv2" value="#{bindings.DepartmentsView1.treeModel}"
                       var="row"
                       selectionListener="#{bindings.DepartmentsView1.treeModel.makeCurrent}"
                       selection="single">
            <f:facet name="groupHeaderStamp">
              <af:listItem id="li3" >
                <af:outputText value="#{row.bindings.DepartmentName}" id="ot1"
                               inlineStyle="font-weight:bold;"/>
              </af:listItem>
            </f:facet>
            <af:listItem id="li2">
<af:outputText value="#{row.bindings.DeptNo}" id="ot10"
<af:outputText value="#{row.bindings.EmpName}" id="ot11"
</af:listItem>
</af:listView>
Please help.

Hi ..
Thanks for replying .
I created Dept , Emp and a view link. Instead of using the groupHeaderStamp facet  , I directly used the view link iterator within the a single listItem . The listItem shows the Dept attributes and the Emp view link iterator as a panelCollection. I was able to display the data as required . Now if I try to add an employee record to a table ,   I am getting the following error.
java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding cannot be cast to org.apache.myfaces.trinidad.model.CollectionModel .ue
This error appears during the following casting : CollectionModel cModel = (CollectionModel) table.getValue();
Could you please help.?

Similar Messages

  • Is it possible in iTunes 11 to get the old album list view, with covers and track listings like in 10?

    Is it possible in iTunes 11 to get the old album list view, with covers and track listings like in 10?
    If not, then to me that is a huge retrograde step

    No, the old album list view is not an option in iTunes 11...
    You can restore much of the look & feel of the previous version with these shortcuts:
    ALT to temporarily display the menu bar
    CTRL+B to show or hide the menu bar
    CTRL+S to show or hide the sidebar
    CTRL+/ to show or hide the status bar (won't hide for me on Win XP)
    Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour
    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may let iTunes start up more quickly)
    If you don't like having different coloured background & text in the Album view use Edit > Preferences > General and untick Use custom colours for open albums, movies, etc.
    If you still feel the need to roll back to iTunes 10.7 first download a copy of the 32 bit installer or 64 bit installer as appropriate, uninstall iTunes and supporting software, i.e. Apple Application Support & Apple Mobile Device Support. Reboot. Restore the pre-upgrade version of your library database as per the diagram below, then install iTunes 10.7.
    See iTunes Folder Watch for a tool to scan the media folder and catch up with any changes made since the backup file was created.
    tt2

  • HT5772 How do I delete podcast episodes that I don't want to keep without having them stay in my List view in iTunes and clog it up?  I have some episodes that I've listened to that I want to keep, but others I want to delete.

    Using iTunes on my MacBookPro, I find that when I want to delete selected podcast eisodes, they still stay in my List view with the cloud symbol next to them. I don't want them in my List view. I want them gone. I don't want to download them ever again. I do keep some episodes so I don't want to do the draconian thing and delete all podcast episodes once I've heard them. The other problem I have with trying to delete episodes is that some podcasts then have the same episodes pop back up as though I haven't listened to them. I've deleted a bunch of Science Friday episodes only to have them download again ready to hear. Not only that, but some episodes will finish playing or stop playing in the middle of an episode and a random podcast will start playing. Think! does that. GAH!!
    Does anyone know a workaround? The same nonsense happens in any iTunes view I try.
    <Edited by Host>

    You can delete photos from individual albums but not from the camera roll.  If you try to delete a photo from camera roll it will be deleted from all other albums ("locations") that contain the photo.  This is because the actual photo is in the camera roll (the albums only contain links to the photo in camera roll, not the actual photo).

  • Create View  with Force and No Force

    Can Anyone Tell me how to create view with force and no force i have very little idea about this

    This is the syntax.
    CREATE [OR REPLACE] FORCE VIEW view
    [(alias[, alias]...)]
    AS subquery
    [WITH CHECK OPTION [CONSTRAINT constraint]]
    [WITH READ ONLY [CONSTRAINT constraint]];You can see interesting threads about this topic here.
    Re: Creating view forcibly
    Creating View forcefully
    Cheers
    Sarma.

  • DB View with Sales and Finance Data

    Team,
    Is there a DB view with Sales and Finance data?
    -Cust No.
    -PO#
    -Invoice
    -Clearing Doc
    -Ship From
    -Unit Price
    Etc.
    Thanks
    Naved

    hi   there is  a  maximum  level of      view 
    BKPF_BSID_AEDAT  ....
    if you want you can create a with view with  you own selection  in the seSE11 ..
    go for the database  view  .....  because  it wil  give you the data  @ database level
    Girish

  • IiTunes 8 List view with artwork - track number?

    n list view, with the artwork column expanded, there is an additional column right after the artwork with the track number.
    What's this for?
    Can't remove it.

    not answered

  • Help neede with UITableview and detail views

    OK. So I'm new to iPhone dev and have been trying to figure this out with no luck.
    I have a xib and coresponding ProfileViewController file that contains a tableview. The tableview is pulling data from a .txt file. This is working. However, what I'd like to be able to do is when a user selects one of the tableview rows, it pulls a different xib file, under the nav controller.
    For instance:
    Item 1 displays person.xib
    Item 2 displays animal.xib
    etc.
    I am also using a tab view controller and a navigation controller. The tab views and nav controller work fine.
    If anyone could help with some instructions/code, I would greatly appreciate it.
    Thanks,
    Doug

    Hi Doug - Do you just want each row of your table view to switch to a different detail view when selected? That's a fairly standard setup, so maybe you're trying to describe something else I'm not seeing yet.
    Let's start with the standard structure anyway. Then you can explain what you want that's different, ok?
    Have you looked over the UICatalog sample app yet? The main view of that app presents a table view under a nav bar. Selecting any row in the table view will slide the detail view matching that row under the nav bar. Each detail view is controlled by a different subclass of UiViewController.
    The UICatalog sample is a bit more complicated than we might want for learning the basic structure, but I think it's clear enough for you to see the key steps. Here's one of the methods you might want to look at:
    // MainViewController.m
    // the table's selection has changed, switch to that item's UIViewController
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    UIViewController *targetViewController = [[menuList objectAtIndex: indexPath.row] objectForKey:@"viewController"];
    [[self navigationController] pushViewController:targetViewController animated:YES];
    The above is deceptively simple because lots of work has gone into building the menuList array, which is an array of NSDictionary objects, each containing all the info needed to bring up one detail view. However with a little study, you may find most of the answers to your questions in that file.
    Note that while the view controllers in the menuList array are created with code in awakeFromNib, they could just as easily have been pulled out of separate xib files.
    If you''d like a really well paced, crystal clear explanation of how to use nav bars with table views, I would recommend Chapter 8 and 9 of +Beginning iPhone Development+ by Mark and LaMarche. I think you may be right at the point where you'll benefit from that book the most.
    Hope that helps!

  • Easy Tabs breaks when a calendar list view is added and stops working on sub sites (?)

    SP 2010 on premise.
    When I add a calendar list view web part to Easy Tabs it wipes out all the other web parts and causes errors. Libraries and other web parts seem fine. I haven't tried other list views or been able to find out if they're supported in Easy Tabs.
    Also when pages were moved (or copied) from a parent to a sub site, I noticed the first couple of tabs work when clicked but then it stops responding.
    Any thoughts?

    Hello Webbrewer,
    When I look at the Easy Tabs page I see there are some known issues with Calendars:
    http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx
    Maybe you can contact them, they have a skype chat on their site.
    Hope this helps a bit
    - Dennis | Netherlands | Blog |
    Twitter

  • DHTML List (Image) with Sublist and authorization problems

    Dear all -
    I wonder if anyone can help with this DHTML drop-down menu query:
    We use hierarchical menus implemented as DHTML Lists (Image) with Sublists. When some of the items are hidden through authorization, the wrong headers appear for the menus.
    For example:
    Menu
      Item 1
        Subitem 1 of Item 1
        Subitem 2 of Item 1
      Item 2
        Subitem 1 of Item 2
        Subitem 2 of Item 2
    Say Item 1 and its subitems are all hidden through authorization controls. The heading for Item 2 then appears as 'Subitem 2 of Item 1' instead of 'Menu'.
    There's an example here:
    http://htmldb.oracle.com/pls/otn/f?p=11837:1
    Anyone know why this is happening?
    Thanks for your time.
    John.
    PS. Any idea where my previous post on this subject has disappeared to?

    Carl - in the example on htmldb.oracle.com, in Menu2 I'm hiding all the elements in Category 1 (parent and children), although not the 'grandparent' (Menu2).
    I'm therefore still expecting the menu title to be 'Menu2', because that's Category 2's parent.
    It doesn't appear to be an issue with the sequence of the items, because I've changed all those about and still got the same problem.
    To be more specific, again using the htmldb.oracle.com example, in Menu2 we have:
    Menu2
      Category 1 (Hidden)
        Item 1 of Category 1 (Hidden)
        Item 2 of Category 1 (Hidden)
        Item 3 of Category 1 (Hidden)
        Item 4 of Category 1 (Hidden)
      Category 2     
        Item 1 of Category 2     
        Item 2 of Category 2     
    And Scott - thanks for picking up the previous post - for some reason I couldn't for the life of me find that yesterday (in fact I still can't find it when I search).
    Thanks for looking into this.
    Regards,
    John.

  • SharePoint 2013 List View with query string filter stops working after editing view from browser

    I have created one list definition in which I have added one list view which will filter data from query string paramater
    So when I am creating list from my list definition, view with query string filter is working fine.
    But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
    Any suggestion what I am missing?
    Below is my list view schema
    <View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
    <Toolbar Type="Standard" />
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    <ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
    </ParameterBindings>
    <JSLink>hierarchytaskslist.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink>
    <JSLink>clienttemplates.js</JSLink>
    <RowLimit Paged="TRUE">100</RowLimit>
    <ViewFields>
    <FieldRef Name="Body"></FieldRef>
    <FieldRef Name="Title"></FieldRef>
    <FieldRef Name="StartDate"></FieldRef>
    <FieldRef Name="DueDate"></FieldRef>
    </ViewFields>
    <ViewData>
    <FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
    <FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
    </ViewData>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
    <Value Type="Lookup">{TargetId}</Value>
    </Eq>
    </Where>
    </Query>
    </View>
    I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.

    Hi JayJT,
    The Miscellaneous is located in the contact list that you used for the connection.
    So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • ICal under 10.5 doesn't print the List view with To Do's correctly.

    The problem is this: I have a bunch of To Do's in iCal. I usually print them out on paper using the LIST VIEW (print dialog) so that I can take my To Do list with me. Unfortunately, after updating to Leopard 10.5, all the URL's in my To Do's have wierd links to my email and print funny code on paper now. It's like the added feature of To Do's in mail has caused something here. Anyone else experiencing this? By this way, this only happens with old to do's (before the upgrade), not new ones.

    John,
    This has happened to me as well. Our school uses phpicalendar to publish lesson plans to our web server. I have had this happen to three other teachers as well. In order to get them back to the correct server I have to export their calendars to the desktop, create a new calendar and publish it to the correct location, then import their calendars from the desktop. I haven't been able to re-enter the correct URL in the existing calendars - get an error when publishing.

  • Filter List View by User and Groups in SharePoint Does Not Work on site Restore to another Server

    We have a scenario where users from a group or seeing items of list views entered by users of other group.
    For e.g, we have (ALL are Active Directory users and are authenticated as such)
    GROUP A with USER-A1, USER-A2, USER-A3
    GROUP B with USER-B1, USER-B2, USER-B3
    GROUP C with USER-C1, USER-C2, USER-C3
    We created views called
    GROUP_A_VIEW
    GROUP_B_VIEW
    GROUP_C_VIEW
    We created a web part for each of this view
    And from Advanced Settings, added Target audience for each VIew with respect. For e.g. if Target AUdience is Group A, then USER-A1 will see items entered by himself or USER-A2, and USER-A3 but not the mbers of GROUP_B and GROUP_C
    It works fine on the our development machine.
    However when we backup and restore to other machine containing the same Active Directory users, 
    GROUP A members are seeing records entered by GROUP B
    GROUP B members are seeing records entered by GROUP C
    GROUP C members are seeing records entered by GROUP D
    ....etc.
    Any help will be appreciated.
    Murali Boyapati

    Groups and users are stored locally in a cache on each site collection. Within that site collection they have IDs assigned which are used internally to identify those groups.
    What is probably happening is that the groups you've targeted are being identified by IDs which are not consistent between your source site collection and your destination collection.

  • Creating View for a table with parent child relation in table

    I need help creating a view. It is on a base table which is a metadata table.It is usinf parent child relationship. There are four types of objects, Job, Workflow, Dataflow and ABAP dataflow. Job would be the root parent everytime. I have saved all the jobs
    of the project in another table TABLE_JOB with column name JOB_NAME. Query should iteratively start from the job and search all the child nodes and then display all child with the job name. Attached are the images of base table data and expected view data
    and also the excel sheet with data.Picture 1 is the sample data in base table. Picture 2 is data in the view.
    Base Table
    PARENT_OBJ
    PAREBT_OBJ_TYPE
    DESCEN_OBJ
    DESCEN_OBJ_TYPE
    JOB_A
    JOB
    WF_1
    WORKFLOW
    JOB_A
    JOB
    DF_1
    DATAFLOW
    WF_1
    WORKFLOW
    DF_2
    DATAFLOW
    DF_1
    DATAFLOW
    ADF_1
    ADF
    JOB_B
    JOB
    WF_2
    WORKFLOW
    JOB_B
    JOB
    WF_3
    WORKFLOW
    WF_2
    WORKFLOW
    DF_3
    DATAFLOW
    WF_3
    WORKFLOW
    DF_4
    DATAFLOW
    DF_4
    DATAFLOW
    ADF_2
    ADF
    View
    Job_Name
    Flow_Name
    Flow_Type
    Job_A
    WF_1
    WORKFLOW
    Job_A
    DF_1
    DATAFLOW
    Job_A
    DF_2
    DATAFLOW
    Job_A
    ADF_1
    ADF
    Job_B
    WF_2
    WORKFLOW
    Job_B
    WF_3
    WORKFLOW
    Job_B
    DF_3
    DATAFLOW
    Job_B
    DF_4
    DATAFLOW
    Job_B
    ADF_2
    ADF
    I implemented the same in oracle using CONNECT_BY_ROOT and START WITH.
    Regards,
    Megha

    I think what you need is recursive CTE
    Consider your table below
    create table basetable
    (PARENT_OBJ varchar(10),
    PAREBT_OBJ_TYPE varchar(10),
    DESCEN_OBJ varchar(10),DESCEN_OBJ_TYPE varchar(10))
    INSERT basetable(PARENT_OBJ,PAREBT_OBJ_TYPE,DESCEN_OBJ,DESCEN_OBJ_TYPE)
    VALUES('JOB_A','JOB','WF_1','WORKFLOW'),
    ('JOB_A','JOB','DF_1','DATAFLOW'),
    ('WF_1','WORKFLOW','DF_2','DATAFLOW'),
    ('DF_1','DATAFLOW','ADF_1','ADF'),
    ('JOB_B','JOB','WF_2','WORKFLOW'),
    ('JOB_B','JOB','WF_3','WORKFLOW'),
    ('WF_2','WORKFLOW','DF_3','DATAFLOW'),
    ('WF_3','WORKFLOW','DF_4','DATAFLOW'),
    ('DF_4','DATAFLOW','ADF_2','ADF')
    ie first create a UDF like below to get hierarchy recursively
    CREATE FUNCTION GetHierarchy
    @Object varchar(10)
    RETURNS @RESULTS table
    PARENT_OBJ varchar(10),
    DESCEN_OBJ varchar(10),
    DESCEN_OBJ_TYPE varchar(10)
    AS
    BEGIN
    ;With CTE
    AS
    SELECT PARENT_OBJ,DESCEN_OBJ,DESCEN_OBJ_TYPE
    FROM basetable
    WHERE PARENT_OBJ = @Object
    UNION ALL
    SELECT b.PARENT_OBJ,b.DESCEN_OBJ,b.DESCEN_OBJ_TYPE
    FROM CTE c
    JOIN basetable b
    ON b.PARENT_OBJ = c.DESCEN_OBJ
    INSERT @RESULTS
    SELECT @Object,DESCEN_OBJ,DESCEN_OBJ_TYPE
    FROM CTE
    OPTION (MAXRECURSION 0)
    RETURN
    END
    Then you can invoke it as below
    SELECT * FROM dbo.GetHierarchy('JOB_A')
    Now you need to use this for every parent obj (start obj) in view 
    for that create view as below
    CREATE VIEW vw_Table
    AS
    SELECT f.*
    FROM (SELECT DISTINCT PARENT_OBJ FROM basetable r
    WHERE NOT EXISTS (SELECT 1
    FROM basetable WHERE DESCEN_OBJ = r.PARENT_OBJ)
    )b
    CROSS APPLY dbo.GetHierarchy(b.PARENT_OBJ) f
    GO
    This will make sure it will give full hieraracy for each start object
    Now just call view as below and see the output
    SELECT * FROM vw_table
    Output
    PARENT_OBJ DESCEN_OBJ DESCEN_OBJ_TYPE
    JOB_A WF_1 WORKFLOW
    JOB_A DF_1 DATAFLOW
    JOB_A ADF_1 ADF
    JOB_A DF_2 DATAFLOW
    JOB_B WF_2 WORKFLOW
    JOB_B WF_3 WORKFLOW
    JOB_B DF_4 DATAFLOW
    JOB_B ADF_2 ADF
    JOB_B DF_3 DATAFLOW
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Create folder view with files and tasks

    Good day to you,
    we want to support our software development procces with Vibe. What we are doing is, we make changes to the source code and protocol corresponding things in certain files.
    We think in so called "releases" and every release consists of tasks and a list of changes. This list is held in an excel file, so I would like to create a folder view, which consists of tasks and files.
    So far I could create a custom folder view with attachments at the top and a task list at the bottom, based on the task family.
    The problem is, the attachment view as a standard folder view does not allow colleborative editing of attached files. You can only view and download attached files, but not open them via Office addin. Therefore you can not lock or version files, which is mandatory for collaborative work.
    I would like to mix the file folder view with it's possibilities with a task folder view.
    Any ideas?
    Warm regards
    bitschnau

    There's no out of the box way to achieve what you're looking for.
    Two solutions:
    1. Your users would need to open the entry first and then click on the "edit this file" link.
    2. You could code your own folder view or landing page element and build what you need.
    HTH
    Cheers
    Erik
    PS: Feel free to contact me offlist if you need professional support.

  • Session expiration issue with parent and child window

    Hi,
    We have two applications (App1 - Implemented using JSF, Spring and Hibernate and App2 -Implemented using Spring MVC, Spring JDBC).
    I have implemented 'Test Access Content' functionality in App1.
    First admin user (Role- Manager) needs to login to App1
    As part of 'Test Access Content' functionality, he enters URL with encrypted key and click 'Test Access' button.
    It opens new window (implemented using java script - window.open) and hits spring controller of App2.
    In spring controller of App2, I am decrypting the key to get user details. After that i am setting user details in session, constructing final URL to display actual content.
    Problem is parent window maintains session till child window renders response. Once child window renders response, parent window loosing session.
    So, if i click any button in parent window after child window renders response, it displays login page as there is no session for parent window.
    Please note that App1 and App2 are sharing same domain. only context paths are different for both apps (app1 and app2).
    Any suggestions on this issue are much appreciated. Please let us know if you have any questions.

    Hi,
    When you open a child window from parent window then you can access child data in the parent window through javascript.
    We have a main web page. There are quite many links on it from which >user can open new web pages but the data is saved when the submit >button on the main page is clicked. Also data that user entered on the >other sub pages is not displayed in the main window.
    1 is this a case of parent and child window.case 1 When you are submitting the main page you need to run javascript function and get data from child windows and save that to database or session. next time when you are displaying the main window you need to query session or database to display the child window data in the main window.
    Case 2> closing child window and you need data in the parent. This can be done in two ways.
    1> When you are closing the child window populate some variables of the main window using javasript.
    2> Save the values in the database or session and refresh the main window and extract data from database or session
    Where should the data be saved that user enetered on the sub pages as the data is not shown in the main page - should it be stored in the session?It is design decision. You can store data in either session or database when you are closing the child window. But ifyou are saving the data on the main page then you can populate main page with child windows data using javascript. Save the data t database when main window data is saved. Depends on business requirements.
    In short if you are saving child windows data in session or database then you need to refresh main screen to pull that data otherwise populate main screen using javascript.
    I hope i answered your questions :) best of luck

Maybe you are looking for

  • Can't create outlines from a placed image?

    I'm using illustrator and I placed this image: http://i500.photobucket.com/albums/e406/Aelvir/G2_zps95ce8124.png and no matter what I do, it won't let me select "Create Outlines".

  • JTAPI login failed

    iam getting the following error when doing the cisco unity express initialization wizard; "JTAPI login failed. Error while determining CCM version-1" ive done a search on the cisco error decoder but found nothing. please help

  • Photos App iOS 7????

    How do you get the top and bottom menus to go away in photo app. I take a lot of pictures in landscape mode an when I go to photos and view them they are covered on top and bottoms by the menus. Before iOS7 you could tap the screen to bring up the me

  • Debugging and monitoring MPLS networks

    Hi , I've had the following problem with a customer of ours and I'd like to know if there's any tools I can use in the future to better diagnose the problem if it may arise again. The customer is a bank with hundreds of brnach sites. All of them are

  • T61 graphics card

    Can the NVIDIA Quadro FX 570M be installed on the T61?  We just purchased new T61's and have found out that the NVIDIA Quadro NVS 140M card in them is not compatible with our SolidWorks software. Thanks for your help.