wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Vaynberg" <igor.vaynb...@gmail.com>
Subject Re: Notifying a DataTable that data has changed
Date Fri, 01 Feb 2008 03:49:11 GMT
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 <jonny.wray@fiveprime.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Mime
View raw message