Re: [Wicket-user] Refresh page after form submit within ModalWindow

2007-06-26 Thread Tauren Mills
I solved the problem... In case anyone else has a similar issue in the future, the target.addComponent needs to be set in MyPage, not in MyModalPage. Something like this needs to be done: newService.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { publ

Re: [Wicket-user] Refresh page after form submit within ModalWindow

2007-06-26 Thread Tauren Mills
Timo, Good idea, but that doesn't work either. The Ajax Debug window in MyPage shows nothing being sent to do. Note this is in Wicket 1.2.6. INFO: INFO: Initiating Ajax GET request on /db/app?wicket:interface=:6:newService::IBehaviorListener&wicket:behaviorId=1&random=0.9353265386317773 INFO: I

Re: [Wicket-user] Refresh page after form submit within ModalWindow

2007-06-26 Thread Timo Rantalaiho
On Tue, 26 Jun 2007, Tauren Mills wrote: > 2. Use AJAX to refresh just MyDataView Have you tried adding a placeholder container around your DataView and refreshing that with ajax instead? I'm not sure but I think that Repeaters used to need that if you wanted to update them via AJAX. Have you