Usually you have a property model that points to a date property of your POJO.

new Label("foo", new PropertyModel(person, "geboortedatum"));

Martijn


On 3/27/06, Geertjan Wielenga <[EMAIL PROTECTED]> wrote:


Hi all,

From this page, I've learnt how to do a markup label in Wicket:

http://www.wicket-library.com/wicket-examples/compref?bookmarkablePage=wicket.examples.compref.LabelPage

What I'd like to do also is print out a label that shows the date. The
above link mentions this, but not how to do it. Could someone show me
how (i.e., show me the code) for doing this?

Thanks,

Gj



-------------------------------------------------------
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



--
Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!
-- http://wicketframework.org

Reply via email to