FileUpload inside FlexTable is not visible in design mode

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

FileUpload inside FlexTable is not visible in design mode

Postby ashouric » Wed Oct 18, 2006 1:13 am

Dear all,

FileUpload is not visible when added inside FlexTable.

N.B.: It is visible when viewed from EntryPoint (which contains 'Testing' composite)

Code: Select all
public class Testing extends Composite {

   public Testing() {
      final FlexTable flexTable = new FlexTable();

      final Label label1 = new Label("One:");
      flexTable.setWidget(0, 0, label1);

      final TextBox tb1 = new TextBox();
      flexTable.setWidget(0, 1, tb1);

      final Label label2 = new Label("Two:");
      flexTable.setWidget(1, 0, label2);

      final TextBox tb2 = new TextBox();
      flexTable.setWidget(1, 1, tb2);

      final Label label3 = new Label("Three:");
      flexTable.setWidget(2, 0, label3);

      final HorizontalPanel hp = new HorizontalPanel();
      flexTable.setWidget(2, 1, hp);

      final ListBox listBox = new ListBox();

      final Image image = new Image();

      final Label photoLabel = new Label("Four:");
      flexTable.setWidget(3, 0, photoLabel);

      final FileUpload fileUpload = new FileUpload();
      flexTable.setWidget(3, 1, fileUpload);
Posts: 75
Joined: Sat Sep 30, 2006 9:13 pm

Postby Konstantin.Scheglov » Wed Oct 18, 2006 5:10 am

We support FileUpload widget (you can see it on palette), but I forgot to add support for it during parsing. Fixed.
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Postby Eric Clayberg » Wed Oct 18, 2006 5:48 am

The latest build now contains Konstantin's fix.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests