I found my mistake. It a single character misspelled in the form panel action url !!!
Regardless, it would help if the onSubmitComplete or elsewhere an exception is thrown. On Mar 22, 2:16 pm, Riyaz Mansoor <[email protected]> wrote: > I have added onSubmit and onSubmitComplete handlers and both fire > successfully. Have checked the url as well. > > But nothing is being submitted to the servlet. I checked this with a > log() statement in my servlet service method. > > what should i do? > > On Mar 22, 12:59 am, Riyaz Mansoor <[email protected]> wrote: > > > The form panel below is in a vertical panel which has submit link. The > > vertical panel is in a popup panel. Clicking submit has no effect! > > > The examples seem to show formpanel being added to rootpanel. can't > > use popup? > > > Grid grid = new Grid(3, 2); > > grid.setCellSpacing(8); > > grid.setWidget(0, 0, hiddenStmtId); > > grid.setWidget(0, 1, hiddenEntityId); > > grid.setText(1, 0, "Comment"); > > grid.setText(2, 0, "Attachment"); > > grid.setWidget(1, 1, txtComment); > > grid.setWidget(2, 1, fileUpload); > > > formPanel = new FormPanel(); > > formPanel.setAction("/uploadservlet"); > > formPanel.setMethod(FormPanel.METHOD_POST); > > formPanel.setEncoding(FormPanel.ENCODING_MULTIPART); > > formPanel.add(grid); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
