Hi,

perhaps the easiest way to accomplish would be to add
AjaxTimerBehavior to page in modal window on submit. The bavior could
have time set for 1 second and close the modal window from within the
ajax request it invokes.

-Matej

On Tue, Sep 23, 2008 at 7:06 AM, Flavius <[EMAIL PROTECTED]> wrote:
>
> I have a ModalWindow open and I have a MultiFileUploadField for users to
> upload files.
> Upload works great.  I'd like to close the ModalWindow when the form is
> submitted.
> So if everything is fine, it will do the uploads and close the window.  If
> there's an
> issue, it won't close the window and show the errors in the feedback.
>
> The issue I'm having is I need an AjaxButton to close the modal window, so I
> have
> the AjaxRequestTarget to pass to the window.close() method.  But the
> MultiFileUploadField requires me to do a form post, which I do with a
> standard
> html submit button.  If I use an AjaxButton to submit the form, I don't get
> the
> uploads.
>
> Is there a way to accomplish this?
> --
> View this message in context: 
> http://www.nabble.com/MultiFileUploadField-on-a-ModalWindow-close-issue-tp19621418p19621418.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to