Vincent,

I'm not sure I understand your question.  The Label objects are used to
render some value field of your model object. In my opinion, its easiest to
understand the ListView as a black box that takes a list of domain objects,
wires up the proper rendering components for the elements you desire to
render and outputs the result.  The populateItem(ListItem item) method is
the 'programmer directions' on how to do this for each element in the list.
More simply, populateItem is called for each item in the list.  Does this
help?

----- Original Message ----- From: Vincent Jenks
To: [email protected]
Sent: Wednesday, March 15, 2006 11:49 AM
Subject: Re: [Wicket-user] Newbie question: applying dynamic form component
with ListView


So, in a nutshell, my code could be refactored to eliminate the need for
Label objects in each row and in their place, use the model objects?


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to