AbstractRepeater (and its subclasses) does it this way with its onPopulate()
method, so this strategy should fit your case too.
Perhaps think about a reuse strategy, i.e. don't create a new component if
the type hasn't changed.

Sven
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/The-better-way-tp-add-component-directly-tp2122805p2123830.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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

Reply via email to