[Wicket-user] AjaxFallbackDefaultDataTable (2.0) - how to update table when item is added or deleted

2007-02-14 Thread De Soca

Hello,

I know that there must be an easy way to do this, but I have not been able
to figured it out os far, and there are no examples that I could find.

I would like to know how you can update the AjaxFallbackDefaultDataTable in
2.0, when the underlying data has changed, such as in a delete or add
operation.

So far I have tried updating the table through the standard target mechanism
we use for other AJAX components in Wicket, however no joy so far.

I have also tried calling the "modelChanged()" method on the table, still no
effect.

I could replace the whole table, but that seems a bit draconian, and would
defeat the purpose of using AJAX in the first place.

The only thing I have not tried is targeting each column of the table
individually.

Thanks in advance for all assistance.

De.
-- 
View this message in context: 
http://www.nabble.com/AjaxFallbackDefaultDataTable-%282.0%29---how-to-update-table-when-item-is-added-or-deleted-tf3228031.html#a8967651
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxFallbackDefaultDataTable (2.0) - how to update table when item is added or deleted

2007-02-14 Thread Igor Vaynberg

you have to update the whole table. there is nothing "draconian" about it
because any other row may or may not be there after the update - other users
might be adding/removing things to the table as well.

-igor


On 2/14/07, De Soca <[EMAIL PROTECTED]> wrote:



Hello,

I know that there must be an easy way to do this, but I have not been able
to figured it out os far, and there are no examples that I could find.

I would like to know how you can update the AjaxFallbackDefaultDataTable
in
2.0, when the underlying data has changed, such as in a delete or add
operation.

So far I have tried updating the table through the standard target
mechanism
we use for other AJAX components in Wicket, however no joy so far.

I have also tried calling the "modelChanged()" method on the table, still
no
effect.

I could replace the whole table, but that seems a bit draconian, and would
defeat the purpose of using AJAX in the first place.

The only thing I have not tried is targeting each column of the table
individually.

Thanks in advance for all assistance.

De.
--
View this message in context:
http://www.nabble.com/AjaxFallbackDefaultDataTable-%282.0%29---how-to-update-table-when-item-is-added-or-deleted-tf3228031.html#a8967651
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user