If the update could be tied to some action taken elsewhere, like updating a
textfield, clicking a button or link you should consider adding the
webmarkupContainer to the ajaxrequesttarget on the onEvent, onSubmit etc of
those components.
Before adding you have to change the backing model of the table.
So, one word after all: I suggest you to consider tying the refresh to an
Ajaxed event rather then to the container or table itself.

Sandor Feher [via Apache Wicket] <[email protected]>
ezt írta (időpont: 2015. máj. 1., Pén 22:12):

> Hi,
>
> A have a WebMarkupContainer and a DataTable inside in it.
> I would like to refresh the datatable based on my spring bean's event. To
> achieve this I added an AjaxSelfUpdatingBehaviour to container. My problem
> is that I'm not able to control the refresh because
> at onPostProcessTarget the refresh already taken.
> So I'm looking for the proper way to do that.
>
> TIA, Sandor
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-wicket.1842946.n4.nabble.com/Event-driven-DataTable-refresh-tp4670574.html
>  To start a new topic under Users forum, email
> [email protected]
> To unsubscribe from Users forum, click here
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842947&code=a292YXJvbjFAZ21haWwuY29tfDE4NDI5NDd8MjY3OTE2NzY=>
> .
> NAML
> <http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Event-driven-DataTable-refresh-tp4670574p4670575.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to