Ernesto Reinaldo Barreiro-4 wrote: > > Yes you are right... but I think new PropertyModel(this, > "selectedEintrag.vorname") will work I guess. >
I guess you are right. That will work, but it is not very elegant to put a reference to the page or panel into the model. He probably should not overwrite the reference on "selectedEintrag" or use the readonly model you suggested. I think I would put a new Model() into the label and then, instead of overwriting the variable "selectedEintrag", call label.setModelObject(item.getModelObject().getVorname()) ----- -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-label-using-Ajax-Link-tp3356575p3357001.html Sent from the Users forum 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