Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cannot submit a Form to Server.

    Hi All,

    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,

    #2
    Any Idea?

    Thanks.

    Comment


      #3
      RESOLVED ~ Thanks :)

      Comment

      Working...
      X