AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Peter Arnulf Lustig
In addition: my specific problem is, that after clicking on a link which is generated in the datagrid, I am not able to manipulate other components!? How is this possible? - Ursprüngliche Mail Von: Peter Arnulf Lustig u...@yahoo.de An: users@wicket.apache.org Gesendet: Mittwoch,

AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Peter Arnulf Lustig
Hi Ernesto, I don't get it: How can I change the Label-Text? When I try to change the Model of the component Label, nothing happens. The page reloads and the Label has the old Text (not the new one which is meant to be changed) - Ursprüngliche Mail Von: Ernesto Reinaldo Barreiro

AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Peter Arnulf Lustig
Thank you! Your solution is really nice. It functions well! I have a problem which the datagrid. After removing a row in the database it throws an exception, because wicket is unable to populate an item (I assume the deleted one) How can I tell wicket to reload the datagrid because something

Re: AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Linda van der Pal
I used this with a AjaxFallbackDefaultDataTable and then I didn't have to tell it that the DB had changed. Peter Arnulf Lustig wrote: Thank you! Your solution is really nice. It functions well! I have a problem which the datagrid. After removing a row in the database it throws an exception,

AW: AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Peter Arnulf Lustig
. September 2009, 13:37:44 Uhr Betreff: Re: AW: How would you realize a delete-Link in a datagrid row? I used this with a AjaxFallbackDefaultDataTable and then I didn't have to tell it that the DB had changed. Peter Arnulf Lustig wrote: Thank you! Your solution is really nice. It functions

Re: AW: AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Linda van der Pal
AdministratorDataProvider()) { } thanks! - Ursprüngliche Mail Von: Linda van der Pal lvd...@heritageagenturen.nl An: users@wicket.apache.org Gesendet: Mittwoch, den 30. September 2009, 13:37:44 Uhr Betreff: Re: AW: How would you realize a delete-Link in a datagrid row? I used

AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Peter Arnulf Lustig
How do you achieve, that the dataview is refreshed after clicking delete? - Ursprüngliche Mail Von: rmattler robertmatt...@gmail.com An: users@wicket.apache.org Gesendet: Mittwoch, den 30. September 2009, 14:51:19 Uhr Betreff: Re: How would you realize a delete-Link in a datagrid row?

AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread Peter Arnulf Lustig
yes I thought it... :) How do you achieve that the dataview is refreshed after deletion of a row? - Ursprüngliche Mail Von: rmattler robertmatt...@gmail.com An: users@wicket.apache.org Gesendet: Mittwoch, den 30. September 2009, 16:19:11 Uhr Betreff: Re: How would you realize a

Re: AW: How would you realize a delete-Link in a datagrid row?

2009-09-30 Thread rmattler
Wrap the dataview in a WebMarkupContainer . 1) Create a WebMarkupContainer 2) Create your data view 3) Add the dataview into the wmc 4) Don't forget to set .setOutputMarkupId(true); on the dataview 5) On the return of the Modal window refresh the target I.E.