But how do I refresh the page in the modal window by overriding DropDownChoice.wantOnSelectionChangedNotifications()? Where do I get the handle to AjaxRequestTarget?
On Mon, Jun 20, 2011 at 12:25 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > Don't use AjaxFormComponentUpdatingBehavior but use > DropDownChoice.wantOnSelectionChangedNotifications() instead. > > On Mon, Jun 20, 2011 at 8:28 AM, Alec Swan <alecs...@gmail.com> wrote: >> Hello, >> >> I have a modal window which displays a page (using >> ModalWindow.PageCreator()) with a DropDownChoice with >> AjaxFormComponentUpdatingBehavior("onchange") behavior. I need the >> page in the modal window to reload when the user makes a selection in >> the DropDownChoice. I tried calling modelChanged() in >> AjaxFormComponentUpdatingBehavior#onUpdate(), but that didn't force >> the page in the modal window to reload. >> >> How can I accomplish this? >> >> Thanks, >> >> Alec >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org