Re: Force modal page to reload on Ajax event

2011-06-20 Thread Martin Grigorov
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

Re: Force modal page to reload on Ajax event

2011-06-20 Thread Alec Swan
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

Re: Force modal page to reload on Ajax event

2011-06-20 Thread Martin Grigorov
read the javadoc of this method. try it and come back here with further questions using Ajax to reload the whole page is non-sense On Mon, Jun 20, 2011 at 10:25 AM, Alec Swan alecs...@gmail.com wrote: But how do I refresh the page in the modal window by overriding

Force modal page to reload on Ajax event

2011-06-19 Thread Alec Swan
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()