Iterating around lists of lists within ADF page - ADF 11g 11.1.1.6

Hi,
I am facing a challenge with a bean backed data control and rendering its contents onto a JSPX page.
The data control looks like this:
http://i48.tinypic.com/2zf1pfl.png
I need to iterate around audioServiceList and within that, seperately iterate around primaryComponents and secondaryServiceComponents.
I have an initial binding to audioServicesList:
+<af:iterator value="#{bindings.audioServiceList.collectionModel}" var="audioService" id="a1">+
but don't fully understand how I get a specific child of the variable audioService.
I need to get a handle onto both the children, individually, to iterate around that collection
Is it a case of accessing it via #{audioService.primaryComponents}
+<af:iterator value="#{audioService.primaryComponents.collectionModel}" var="audioService" id="a1">+
I understand there is the .children notation but I dont think I can choose which child I get returned (as there are some attributes underneath audioServiceList and then 2 lists)
Any help would be appreciated.
Regards
Jason

OK,
I am unsure how to get the underlying list to pass it to an iterator. If I were to use a seperate iterator underneath, how do I get access to the underlying list in the first place to pass it to an iterator?
I am thinking of something like this but I know it is wrong:
+<af:iterator value="#{audioServiceList.primaryComponents.collectionModel}" var="audioService" id="a1">+
+...+
+<af:iterator value="#{audioService.children[3]}" var="primaryComponentList" id="a2">+
or
+<af:iterator value="#{audioService.primaryComponent}" var="primaryComponentList" id="a2">+

Similar Messages

  • How do I alphabetize within a pages document?

    How do I alphabetize a list within a pages document?

    You sort a table there, but if you want a more permanent solution, OSX has a very useful but less well known method of extending application abilities:
    Services are little snippets of code that do simple tasks and can be accessed by any suitable application from under the Application menu > Services
    First download WordServices (free).
    Unzip the file and double click on the WordService.service file. If you have the default security on your Mac, you may have to do this 3 times before it lets you open it. Once you have opened it, it will be installed.
    In Pages:
    Menu > Pages > Services > Services Preferences… > Keyboard > Shortcuts > Services > Shortcuts > scroll about half way down and check Sort Lines Ascending/Descending and any other services that catch your eye
    Now when you select your text list > Menu > Pages > Services > Sort Lines Ascending/Descending
    This is available everywhere not just Pages..
    As it is now part of your menus, you can give it your own custom keyboard shortcut in System Preferences > Keyboard > Shortcuts
    Peter

  • Pojo/List/ManagedBean/ADF RF component yeilds error "Target Unreachable", J

    Hello JDevelopers;
    (Pojo/List/ManagedBean/ADF RF component yields error "Target Unreachable", JSF component does not.)
    I am attempting to convert a page with jsf/html components to a page with ADF RF components.
    I am using a pojo that returns a List.
    The pojo is registered as a ManagedBean in adfc-config file.
    I am not using a data control.
    It all works fine with jsf/html components.
    The following <h:inputText> works fine when using jsf/html component.
         <h:inputText value="#{taskRnDController.task.taskNum}" required="true" </h:inputText>
    Changing it to an <af:inputText component and running the app produces the error listed below;
         <af:inputText value="#{taskRnDController.task.taskNum}" id="it1" label="Label 1" required="true"/>
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.PropertyNotFoundException: Target Unreachable, 'task' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
    this is the adfc-config file
    <managed-bean id="__3">
    <managed-bean-name id="__2">taskRnDController</managed-bean-name>
    <managed-bean-class id="__1">com.myorg.facade.TaskRnDController<;/managed-bean-class>
    <managed-bean-scope id="__4">session</managed-bean-scope>
    </managed-bean>
    I need an <af:form> and an <af:table> components on the same page so that when a user
    inserts a new record on the form and presses save btn it is immediately displayed
    within the <af:table>.
    I am stuck and any help is much appreciated.
    Edited by: 848693 on Jun 15, 2011 4:28 PM

    you just want to bind your input text to backing bean .then why you are using list ?
    It is very simple just use any variable and bind with your UI component
    Thanks
    Prateek

  • Steve, "Simple JSF Popup List of Values Page " does not work..

    Hi Steve,
    I read "Not Yet Documented ADF Sample Applications" #80 : "Simple JSF Popup List of Values Page " and download SimpleADFBCLOVJSF.zip, but when I try to run the sample, I get this error :
    JBO-33001: Cannot find the configuration file /xxx/common/bc4j.xcfg in the classpath
    What is wrong ?
    Thank you,
    xtanto

    Thanks for reporting this. I've uploaded a newer version of the zip file that fixes this issue.
    It was due to a last-minute refactoring of my model project from having the application module living in a package named "xxx" to another package named "example.model"

  • Select list within interactive report.

    Hello y'all,
    I have a need to develop an interactive report and am lost in how to proceed. I am asking for your help. The report requirements are as such:
    - There are 3 types of records that will be in the report
    - The is a checkbox to associate the records to a particular event.
    - If the record is of a certain value, 3 of the columns in that record have to show as select lists.
    - The records with the other 2 values should not have the select lists, just show a null in those columns.
    - The checkbox must be checked for the select lists to appear.
    - The select lists are based on a list of values. The values are populated with an existing common function used in many of the application pages.
    I am having no success in trying to get the select lists in the report. Has anyone developed an interactive report that uses select lists within the report? Is this even possible?
    I am using application Express 3.2.0.00.27. Any help that you can give is greatly appreciated. Thank you so much!
    *** Got it. It has to be a tabular report with updateable columns. ***
    Edited by: seashell on Sep 13, 2010 5:22 AM
    Edited by: seashell on Sep 13, 2010 7:07 AM

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • How to do cascading select lists  in ADF table

    I have bulk update ADF table and two of the columns are select lists. For example, in a row of the table, if first select list is changed, then is it possbile to populate second list based on the value in first select list within that row?. any ideas are appreciated.
    Regards,
    Surya

    Cascading LOV's .. refer http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-oracle-adf-11g-update.html
    In table just set the PRR on column 2 for the column 1 component. Also set the AutoSubmit/PartialSubmit to true for the column1 component.
    Amit

  • Browsing through a list of several pages - best algorithm?

    i have a web application where you can view a list of records. the resulting set is divided into pages, so that the user can browse (previous, next) through the list. the jsp page for displaying a list is pretty simple, it get's a vector from the data bean and displays the elements within a lower and upper index. this solution is simple and easy and has the advantage, that the vector with (all) items can easily be sorted by the user by clicking on the table column header of the page.
    but this solution is not suitable for a big result set. my question is, what is the best solution for displaying lists in separate pages and just load the records that are necessary to display one (the current) page?
    one idea is, to have a JDBC result set open on the server and do a "fetch next rows" on each page flipping forward - its questionable if this is faster. you also have to hold a JDBC result set open for each user viewing a list. and the further the user browses, the bigger the data result set (vector with items) gets (remember: the user can also browse backwards, and there is no JDBC fetch previous rows so you have to remember the already fetched rows).
    any other ideas? thanks in advance!

    You can use a scrollable result set. This will give you direct
    access by row.
    http://developer.java.sun.com/developer/Books/JDBCTutorial/index.html
    There is no perfect solution, though. Every case will be a balance
    of storing a vector on the server vs keeping a result set on the server
    vs storing data on the client vs retrieving subsets of data.
    Each has overhead in either storage space, page loads from the server,
    or database access. You will have to decide what is best for your
    application.

  • How do you disable the automatic list detection in Pages 5?

    How can you disable or deselect the automatic list detection in Pages 5?  I want to stop the auto numbering.

    Menu > Pages > Preferences > General > Editing: uncheck Automatically detect lists
    Peter

  • Prevent Occurence of list header and page breaks in spool file of ALV Grid

    Prevent Occurence of list header and page breaks in spool file of ALV Grid  Display.
    When we run the ALV in background and create spool request then:
    Spool file output is coming like this.
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    But the required is like this
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    Please suggest a posible answer

    Hello all,
    if you have not yet solved this on your own, here is my solution: use a format type that has 60000 lines per page for your spool output device.
    It all depends on the format type that was used for creating the spool output.
    By default (in our system), we have 65 lines per page. And after each page the column headings of the ALV will appear.
    What i did:
    create a new format type via transaction SPAD->full administration->device types->format types (copy an existing one)
    change"Number of Rows" to 60000 or something applicable
    edit the device type of your output device (e.g. LOCL) to contain the newly created format type (via SPAD; Button "Formats" in device type maintenance).
    That's it! Be sure to use this format type for your output device in the "Background Print Parameters" window (-> Button "Properties").
    Regards
    Daniel Klein
    All other parameters you discussed before didn't do it. All ALV-Settings will be overwritten by the output device settings and its print properties.

  • How to use List within javaFX(*.fx) script?

    How to use java.util.List within javaFX(*.fx) script?
    The following is my code in Java
    PDBFileReader pdbreader = new PDBFileReader();
              pdbreader.setPath("/Path/To/PDBFiles/");
              pdbreader.setParseSecStruc(true);// parse the secondary structure information from PDB file
              pdbreader.setAlignSeqRes(true);  // align SEQRES and ATOM records
              pdbreader.setAutoFetch(true);    // fetch PDB files from web if they can't be found locally
              try{
                   Structure struc = pdbreader.getStructureById(code);
                   System.out.println("The SEQRES and ATOM information is available via the chains:");
                   int modelnr = 0 ; // also is 0 if structure is an XRAY structure.
                   List<Chain> chains = struc.getChains(modelnr);
                   for (Chain cha:chains){
                        List<Group> agr = cha.getAtomGroups("amino");
                        List<Group> hgr = cha.getAtomGroups("hetatm");
                        List<Group> ngr = cha.getAtomGroups("nucleotide");
                        System.out.print("chain: >"+cha.getName()+"<");
                        System.out.print(" length SEQRES: " +cha.getLengthSeqRes());
                        System.out.print(" length ATOM: " +cha.getAtomLength());
                        System.out.print(" aminos: " +agr.size());
                        System.out.print(" hetatms: "+hgr.size());
                        System.out.println(" nucleotides: "+ngr.size()); 
              } catch (Exception e) {
                   e.printStackTrace();
              }The following is my code in JavaFX(getting errors)
    var loadbtn:SwingButton = SwingButton{
        text:"Load"
        action: function():Void{
            var pdbreader = new PDBFileReader();
            var structure = null;
            try{
                structure = pdbreader.getStructure(filepath.text);
                List<Chain> chains = structure.getChains(0);
                foreach (Chain cha in chains){
                        List < Group > agr = cha.getAtomGroups("amino");
                        List < Group > hgr = cha.getAtomGroups("hetatm");
                        List < Group > ngr = cha.getAtomGroups("nucleotide");
            } catch (e:IOException) {
                e.printStackTrace();
        };I'm using Netbeans 6.5 with JavaFX
    (PDBFileReader, Chain, Structure etc are classes from my own package, already added to the library folder under the project directory)
    Simply put, How to use List and Foreach in JavaFX?

    We can not use Java Generics syntax in JavaFX. But we can use Java Collection classes using the keyword 'as' for type-casting.
    e.g.
    import java.util.LinkedList;
    import java.util.List;
    import javafx.scene.shape.Rectangle;
    var outerlist : List = new LinkedList();
    var innerlist : List = new LinkedList();
    innerlist.add(Rectangle{
        width: 10 height:10});
    innerlist.add(Rectangle{
        width: 20 height:20});
    outerlist.add(innerlist);
    for (inner in outerlist) {
        var list : List = inner as List;
        for (element in list) {
            var rect : Rectangle = element as Rectangle;
            println("(width, height)=({rect.width}, {rect.height})");
    }

  • How to remove a list from a page ?

    I added a list to a page and then later decided it would be easier to add the list to page 0. Now I can't find how to remove the list from the page.
    Edited by: Rene W. on Oct 6, 2008 1:52 AM

    Ok sorry I understood you wrong then.
    I tried to recontruct your problem and did the following things.
    1. Created a new list in: Home>Application Builder>Application 305>Shared Components>Lists>Create / Edit List
    2. Created a new region on page 2: Home>Application Builder>Application 305>Page 2>Create Region Type: List, Name:"test1"
    3. Created a new region on page 1: Home>Application Builder>Application 305>Page 1>Create Region Type: List, Name: "test2"
    4. Deleted region "test1" on page 2
    5. List and region still survived on page 1. :D
    Tobias

  • Displaying cascading list in the page

    Hi
    I have a cascading parent child list of Country , City , World.
    I want to display the world list on the page using some webpart. I want that there should be two drop downs and when the Country and city are selected from that drop down then the list item should be displayed .
    For eg.
    If I select India and Delhi then the list item should be displayed for the same.
    Vij

    Hi Vij, Romeo's solution will work inside the form, but I think you might be talking about adding the dropdowns to the page itself where the list is, then I suggest the html web part. See the following link for information on how to set it up:
    https://support.office.com/en-ie/article/Use-the-HTML-Form-Web-Part-to-filter-and-display-data-in-another-Web-Part-860b681c-38ad-43ff-a036-a60868497ff7
    cameron rautmann

  • Present lists in one page

    Hi
    I have a customer that handles service on machines. They have 3 lists per customer and have over 120 customers.
    I would like to present thoose on one page, I tried content search but I didn´t get it to work. It presented everyting in ther lists. (Every object).
    Does anyone have any idea on how I can solve this?
    //Robert

    Hi,
    According to your post, my understanding is that you want to present lists in one page.
    I recommend that you can use Content Query Web Part.
    You need to edit the web part as below:
    The result is as below:
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to get page item list in  a page?

    how to get page item list in  a page?

    Have a look at ISpread::GetItemsOnPage().
    That should get you started.

  • How to process list within list in jsp

    Hi,
    I have to read values from list within the list in jsp. I got list of objects and I am reading the variables from it in jsp. for that I iterate through the list, read the variable from the object.
    I use
    <logic:iterate name="searchFormBean" property="policies" id="policiesList" indexId="index">
    and reading the variable like below.
    <html:hidden name="searchFormBean" property='<%= "partyId[" + index + "]" %>' />
    and I have method getPartyId(int index, String text) in searchFormBean class.
    now I have a problem that object has list variable which has to be read.
    I am not sure of how to pass both the index (index of object list and index of list within the object).
    I have method getIds(int index, int listIndex, String text)
    Please let me know how should I write code in jsp to call the above method.
    Thanks & Regards,
    Nasrin.N

    <%
    getPartyId(int index, String text);
    %>
    Nasree ..its quite confusin ur question...forget abt implementation..just tell us in detail what ur rqmt is..
    regards
    shanu

Maybe you are looking for

  • ABAP list report, multiple selections - select-options

    I have written a very simple ABAP list report, that contains a single select-option.  On the selection screen, I have the option of entering multiple values, with each new value being displayed directly underneath the old, but I am only getting the f

  • How do I transfer my iPad to another person?

    What's the process to change the "ownership" of an iPad from me to another member of my family?

  • ID3 Tags in MediaSou

    Is there any way I can convert the tags in my Creative MediaSource library to the ID3 tags in the mp3s themselves? I've spent a whole lot of time tagging thousands of songs in MediaSource, but they can't be played in any other players since they don'

  • HP LaserJet Pro 200 color M251nw won't connect for updates

    Printer works fine with desktop and wireless. Can't get it too "UPdate" or connect with webservices. How do I connect too my Ipad as well...???

  • BAPI_ACC_INVOICE_RECEIPT_POST document posted succ but not in FB03 -urg

    Hi For the Inter-company G/L Account posting (Company codes 1000 has EUR currency key & 2000 has GBP currency key), I am using the BAPI FM BAPI_ACC_INVOICE_RECEIPT_POST & BAPI_TRANSACTION_COMMIT. For this, I am giving the 'DocumentHeader' structure w