Yes you are right... but I think new PropertyModel(this,
"selectedEintrag.vorname") will work I guess.

Ernesto


On Tue, Mar 15, 2011 at 3:30 PM, Hans Lesmeister 2
<hans.lesmeis...@lessy-software.de> wrote:
>
> Ernesto Reinaldo Barreiro-4 wrote:
>>
>> final Label vorname = new Label( "Vorname", new
>> PropertyModel(selectedEintrag, "vorname"));
>>
>
> This option will not work because:
>
>
>> selectedEintrag = item.getModelObject();
>>
>
> The reference "selectedEintrag" is overwritten.
>
>
> -----
> --
> Regards,
> Hans
>
> http://cantaa.de
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/update-label-using-Ajax-Link-tp3356575p3356751.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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to