Hi All,
I am having difficulty to submit a form. Below are the Snippets of my code..
Can anybody please advise? Thanks a lot
Thanks,
I am having difficulty to submit a form. Below are the Snippets of my code..
Can anybody please advise? Thanks a lot
Code:
form = new DynamicForm();
form.setWidth(0);
form.setHeight(0);
form.setEncoding(Encoding.MULTIPART);
form.setCanSubmit(true);
form.setAction("/excelServlet");
form.setMethod(FormMethod.GET);
addMember(form);
// THIS METHOD IS NOT WORKING - CANNOT CALL SERVER
form.redraw();
form.submitForm();
//THIS METHOD CAN CALL SERVER
Window.open("/excelServlet", "_blank", null);
Thanks,
Comment