Hello,

I'm having the same issue, and so far haven't figured it out...

I am doing this, within an ajax click handler:

                    mySortableDataProvider.updateDataList(updatedPersons);
                    myAjaxFallbackDefaultDataTable.modelChanged();
                    target.addComponent(myAjaxFallbackDefaultDataTable);

I am updating my data provider with an updated list, but I'm not seeing the
table refresh...

Can you post some code for what is working for you?

Jason




Björn-Peter Tietjens wrote:
> 
> Hi
> thanx for your help.
> I just forgot to update the datasource for the table before calling 
> "modelChanged()"
> Cheers B
> 
> James Carman schrieb:
>> Are you using an AjaxLink to do the delete?  If so, are you adding the
>> table to the ajax request target, so that it gets updated?
>>
>> On Mon, Dec 29, 2008 at 10:15 AM, Björn-Peter Tietjens <[email protected]>
>> wrote:
>>   
>>> Hi there,
>>>
>>>
>>> I would need some help on the AjaxFallbackDefaultDataTable please.
>>> I am using this AjaxFallbackDefaultDataTable to display entries from a
>>> database using hibernate and a SortableDataProvider. I inserted a Action
>>> column to delete entries. My ActionPanel adds a link and overwrites its
>>> onClick event, deleting the row from the database, BUT now the table on
>>> my
>>> page does not update until i completely reload the whole page. I am
>>> doing a
>>> ajaxFallbackDefaultDataTable.modelChanged();
>>> but that doesnt do the job either. What do I need to ?
>>>
>>> Thank you for your help!
>>> Cheers Björn
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>     
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxFallbackDefaultDataTable-problem-tp21204443p22556499.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]

Reply via email to