Igor,

thanks for the reply and pointing me in the direction of a call back and the
ajax request target. I've not looked at the request target class in depth
yet, so that's probably the piece I was missing. I'll give it a try
tomorrow.

Jonny


igor.vaynberg wrote:
> 
> can you not add an onclose callback to the window that repaints the
> datatable by adding it to the ajax request target?
> 
> -igor
> 
> 
> On Jan 31, 2008 7:47 PM, jwray <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> New to Wicket so this maybe some obvious I'm missing and I'd appreciate
>> any
>> pointers.
>>
>> I have an AjaxFallbackDefaultDataTable within a AjaxTabbedPanel backed by
>> a
>> SortableDataProvider that drags data from a database as needed. One
>> column
>> of my table contains an AjaxFallbackLink. This link opens up a
>> ModelWindow
>> by constructing a Panel with the object from the selected row of the
>> table
>> and setting the model window content before showing the window. The panel
>> in
>> the model window contains a form for editing properties of the passed in
>> object, with two AjaxButtons for OK and Close. OK will take the form
>> model
>> object and persist it to the database. All this works great, but I can't
>> see
>> a way of notifying the table, or underlying data provider, that the data
>> has
>> changed and needs to be refreshed. Any pointers on either how to do this
>> or
>> an alternative approach?
>>
>> thanks in advance.
>> Jonny
>> PS. This is my first attempt at using wicket and it's been refreshingly
>> easy
>> to get this far. Thanks for a great framework.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Notifying-a-DataTable-that-data-has-changed-tp15220179p15220179.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]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Notifying-a-DataTable-that-data-has-changed-tp15220179p15220441.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