I see, thanks all~:-)
"Matej Knopp" <[EMAIL PROTECTED]>
news:[EMAIL PROTECTED]
> You need to use AjaxSubmitButton inside the modal window. And to
> refresh the parent window you need to add WindowClosedCallback to it,
> just like in the wicket-examples.
>
> -Matej
>
> On 6/14/07, Nili Adoram
You need to use AjaxSubmitButton inside the modal window. And to
refresh the parent window you need to add WindowClosedCallback to it,
just like in the wicket-examples.
-Matej
On 6/14/07, Nili Adoram <[EMAIL PROTECTED]> wrote:
> add AjaxSubmitButton to the form embedded inside the modal window:
>
add AjaxSubmitButton to the form embedded inside the modal window:
AjaxSubmitButton submit = new AjaxSubmitButton("submitSearch",
AdvancedSearchForm.this) {
@Override
protected void onSubmit(AjaxRequestTarget target, Form form) {
ModalWind
sorry.
An opener modalwindow has a form, when the form onSubmit( ) , I want to
refresh
parent window , and close current window, how to do ?
"Crag" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED]
> thanks Nili.
>
>
> but it's not my meaning.
>
> An open modalwindow has a form, when the for
thanks Nili.
but it's not my meaning.
An open modalwindow has a form, when the form had been submmitted( where
form onSubmit( ) I will do something here), I want to refresh
parent window , and close current window, how to do ?
"Nili Adoram" <[EMAIL PROTECTED]>
news:[EMAIL PROTECTED
in your panel:
final ModalWindow modal;
add(modal = new ModalWindow("modalAdvancedSearch"));
add(new AjaxLink("openModal") {
@Override
public void onClick(AjaxRequestTarget target) {
modal.show(target);
}
});
modal.setCloseButtonCall
An open modalwindow, when the form had been submmitted, I want to refresh
parent window , and close current window, how to do ?
the simple code:
public class EditModal extends WebPage {
private static final long se
An open modalwindow, when the form had been submmitted, I want to refresh
parent window , and close current window, how to do ?
the simple code:
public class EditModal extends WebPage {
private static final long s