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
-~----------~----~----~----~------~----~------~--~---