cheers, Steve
On 27/05/2009, at 7:46 PM, Douglas Ferguson wrote:
You could use AjaxButton.This would give you an onSubmit with AjaxRequestTarget in the signature.D/ Lina Thomas wrote:Hi Hi I have a page that has a FileUpload form. Once the file is uploadedsuccessfully 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 openthe 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 samepage. 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--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
smime.p7s
Description: S/MIME cryptographic signature