Oh and to you that has read this thread looking for code examples. Here is my code for doing this. (Hope it's the right way of doing it) There is no form or repeater in the page. It only shows a persons data from the database. Even when hitting refresh in browser. In page constructor public MyConstuctor(UUID pSelectePersonIdKey)
PersonDetachedModel personModel=new PersonMainDetachedModel(pSelectedPersonIdKey); add(new Label("numberLabel", new PropertyModel(personModel, "personNumber"))); add(new Label("firstnameLabel", new PropertyModel(personModel, "firstName"))); ..... PersonDetachedModel extends LoadableDetachableModel<Person>. It holds the personIdkey as a member. In the load method you fetch the data from db,webservice, rest whatever. Jens Alenius -- View this message in context: http://www.nabble.com/WebPage-constructor-tp19977659p19989810.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]