Ernesto, In the below snippet, sometimes it is not possible to ONLY include the content of the modal dialog in the ajax target. There are times where a parent of the dialog may be added to another AjaxRequestTarget (for some reason other than just updating the dialog window - maybe to update a list view that launches the modal). In this case, the Dialog is destroyed as is no longer displayed. Is there anything that can be done to resolve this so we don't have to work around the normal "if you add the parent to the target, the child will be updated" approach? Adding the parent in this case destroys the child.
Ernesto Reinaldo Barreiro-4 wrote: > > > target.addComponent(content); > dialog.open(target); > > -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-Dialog-when-used-with-Ajax-tp3009441p3061879.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org