You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ronaldtm <ro...@gmail.com> on 2008/08/15 22:04:13 UTC

Suggestion: Make MarkupContainer implement java.lang.Iterable

MarkupContainer already has the iterator() method. If it implements Iterable,
one can use it directly in the foreach loop :)

MarkupContainer container = ...;
for (Component c : container) {}
-- 
View this message in context: http://www.nabble.com/Suggestion%3A-Make-MarkupContainer-implement-java.lang.Iterable-tp19004729p19004729.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org