Working with the af:iterator component

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.

Comments:

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?

Posted by ILya Cyclone on October 05, 2010 at 10:19 PM PDT #

good example!! i use the iterator for a dynamic legend for my Application. Thx for ths example

Posted by thietho on October 10, 2010 at 08:53 PM PDT #

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 ?

Posted by Anoop on December 10, 2010 at 07:21 AM PST #

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.

Posted by shay.shmeltzer on December 10, 2010 at 07:33 AM PST #

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

Posted by Kevin King on April 18, 2011 at 06:17 AM PDT #

Thanks a lot.

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

Posted by guest on July 26, 2011 at 08:14 PM PDT #

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^^!!

Posted by guest on June 06, 2012 at 07:57 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today