Indeed there was an error since I put an tag for the
AjaxSubmitLink inside the markup instead of tag.
I fixed the markup and now the form is submitted, the modal window is
closed and the window closed callback is invoked.
Thank you,
Nili
Matej Knopp wrote:
> Can you please check your log? P
Can you please check your log? Probably there will be an exception. Can
you post the stacktrace?
-Matej
Nili Adoram wrote:
> I tried replacing the original SubmitLink in the form with an
> AjaxSubmitLink:
>
> public class AdvancedSearchForm extends Form {
>
> private static final String i
I tried replacing the original SubmitLink in the form with an
AjaxSubmitLink:
public class AdvancedSearchForm extends Form {
private static final String id = "advanedSearchFrom";
public AdvancedSearchForm(IModel model) {
super(id, model);
add(new TextField("name")
You have to use AjaxSubmitLink and call Window.close(target) inside the
onSubmit(AjaxRequestTarget...) method.
-Matej
Nili Adoram wrote:
> Hi all,
>
> I have a panel (named AdvancedSearchPanel) containing a Form with a
> SubmitLink.
>
> I open this panel inside a modal dialog:
>
> fi
I just get the problem, solved by using ajax form button, you can see
how I solve it at
http://www.nabble.com/Submit-a-form-at-ModalWindow-cause-the-ModalWindow-close.-tf2912895.html#a8139020
On 1/9/07, Nili Adoram <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a panel (named AdvancedSearchPanel
Hi all,
I have a panel (named AdvancedSearchPanel) containing a Form with a
SubmitLink.
I open this panel inside a modal dialog:
final ModalWindow modal;
add(modal = new ModalWindow("modalAdvancedSearch"));
final AdvancedSearchPanel searchPanel = new
AdvancedSearchPane