Hi Hi
I have a page that has a FileUpload form. Once the file is uploaded
successfully onSubmit of the form I need to open a panel in ModalWindow.
There is no Ajax event to fire which leaves me searching for ways to open
the ModalWindow.
I need to open the ModalWindow only on successful upload of the file.
W hen I say success page, I mean within the onSubmit method on the same
page.
Something like this
Form Form = new Form(FORM_NAME, model)
{
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit()
{
FileUpload upload = uploadField.getFileUpload();
//open ModalWindow
}
}
Thanks
-Lina