Eelco Hillenius wrote:
You could acchieve the same by using LoadableDetachableModel or - what
I usually do - just override Model:

final User user ...
Label l = new Label(id, new Model() { getObject(Component c) { return
user.getxx; } });

Eelco

Not the same, since Model would also need the setObject() (if the property is writable). And it would double the code.

--
Janne Hietamäki
Cemron Ltd
http://www.cemron.com/


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to