X

Shay Shmeltzer's Oracle Development Tools Tips

  • October 4, 2010

Working with the af:iterator component

Shay Shmeltzer
Director of Product Management - Oracle

I recorded a quick little demo that shows the basic way to use an af:iterator.

In this case the request was to dynamically create a tab on the page for each record in the table.

Using the iterator component allows me to loop through the records in the table and create the tabs as needed and show the data for each department in the tab.

Join the discussion

Comments ( 8 )
  • ILya Cyclone Wednesday, October 6, 2010
    Hi Shay,
    Thanks a lot for this post.
    I am intrested of how to show and manipulate the data of child ViewObjects inside dynamic items.
    For example, how to place a table of employees under each Department tab?
    Or can I hande DML operations under dynamic tabs, like creating new employees in department?
  • thietho Monday, October 11, 2010
    good example!!
    i use the iterator for a dynamic legend for my Application.
    Thx for ths example
  • Anoop Friday, December 10, 2010
    Thanks for the video. It is pretty helpful.
    a follow-up question. I used this same approach and was successfully able to implement it. but a quick question, the VO that I am using is initially fetching only 25 rows, and thus only 25 entries are iterated. But there are more than that. how to do it for the full VO ?
  • shay.shmeltzer Friday, December 10, 2010
    Anoop, check the tuning section in the VO editor and also the settings you have for the iterator in the binding tab for your page - if you want all the rows to be fetched set it to -1.
  • Kevin King Monday, April 18, 2011
    Great post... Helped out alot...
    Any chance you've used nested iterators for a master/detail relationship?
    I've got side by side forms (just read only) however my detail view is the same for all of my master records... Any way to overcome this?
    Thanks
  • guest Wednesday, July 27, 2011

    Thanks a lot.

    I have seen several articles of you... always usefull!


  • guest Thursday, June 7, 2012

    Hi Shay,your video is helpful.could I ask you a question.

    If there are three fields as follows

    Acompany |UrlName1 |URL1 (http://~)

    Acompany |UrlName2 |URL2 (http://~)

    Bcompany |UrlName3 |URL3 (http://~)

    Bcompany |UrlName4 |URL4 (http://~)

    I want to like your example of showing

    panel tabbed showDetailItem

    A company ---> * UrlName1 * UrlName2 (Link by golink)

    B company ---> * UrlName1 * UrlName2

    Do you have a recommended method TKS^^!!


  • Shahid Hafeez Monday, October 17, 2016

    Hi Shay,

    How i can use row data as column header instead of tabs, or is it possible to grow single column table horizontally.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.