Hi Chris,
I think all this is actually related to ModalWindow, not to Form.
You don't close the Form, you close the ModalWindow.
ModalWindow#close() accepts AjaxRequestTarget (ART) so it is clear that it
needs to be in Ajax request, no ?
The form is just a component in the ModalWindow. With or
Hi Chris,
I think all this is actually related to ModalWindow, not to Form.
You don't close the Form, you close the ModalWindow.
ModalWindow#close() accepts AjaxRequestTarget (ART) so it is clear that
it
needs to be in Ajax request, no ?
The form is just a component in the ModalWindow. With or
On Tue, Dec 4, 2012 at 11:31 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Hi Chris,
I think all this is actually related to ModalWindow, not to Form.
You don't close the Form, you close the ModalWindow.
ModalWindow#close() accepts AjaxRequestTarget (ART) so it is clear that
it
On Tue, Dec 4, 2012 at 11:31 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Hi Chris,
I think all this is actually related to ModalWindow, not to Form.
You don't close the Form, you close the ModalWindow.
ModalWindow#close() accepts AjaxRequestTarget (ART) so it is clear
that
it
OK, please send a patch for ModalWindow's javadoc.
On Wed, Dec 5, 2012 at 1:41 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:
On Tue, Dec 4, 2012 at 11:31 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Hi Chris,
I think all this is actually related to ModalWindow, not to
Hi,
On Mon, Dec 3, 2012 at 1:05 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
I understand that with a form in a modal window you must explicitly
declare an AjaxButton component because modal windows require AJAX comms
(BTW this should probably be mentioned in the Form Javadoc page
Hi,
On Mon, Dec 3, 2012 at 1:05 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
I understand that with a form in a modal window you must explicitly
declare an AjaxButton component because modal windows require AJAX
comms
(BTW this should probably be mentioned in the Form Javadoc page
Hi,
On Mon, Dec 3, 2012 at 10:11 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Hi,
On Mon, Dec 3, 2012 at 1:05 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
I understand that with a form in a modal window you must explicitly
declare an AjaxButton component because modal
The other important thing to mention in Form's Javadoc is that a form in
a ModalWindow can not be closed without AJAX. i.e. you can't do the
close in the standard Form.onSubmit handler as that is given no
AjaxRequestTarget parameter which is required to perform the ModalWindow
close. Trying to