We have iterator and renderiterator, which one do we make iterable? Also iterating over direct children is a rare usecase, most of the time you want visitors to iterate over a component tree.
-igor On Wednesday, May 20, 2009, Joe Fawzy <[email protected]> wrote: > hi allthe component class has iterator() method , so why not making its > signature implement java.lang.Iterable > i think it will help using the enhanced for loop , a java 5 feature ,making > it consistent with the wicket 1.4 theme > thanks > Joe >
