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 <riyaz.mans...@gmail.com> 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to Google-Web-Toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment