Suggestion: Make MarkupContainer implement java.lang.Iterable

2008-08-15 Thread ronaldtm
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:

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-08-13 Thread ronaldtm
1) Generifying* Wicket [X] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. 2) How strongly do you