Subversion Repository Public Repository

litesoft

Diff Revisions 607 vs 610 for /trunk/GWT_Sandbox/UIdesign/src/com/test/uidesign/client/PersonalInfoForm.java

Diff revisions: vs.
  @@ -26,8 +26,9 @@
26 26
27 27 HorizontalPanel zHPanel;
28 28
29 - // TODO: Errors on FormTextArea!!!
30 - FormTextarea zFrmTA = new FormTextarea( "Comments are really long", null, "My New Tooltip", false, null, false, null, false );
29 + FormTextarea zFrmTA = new FormTextarea( "Comments are really long", null, "My New Tooltip", false, //
30 + null, false, //
31 + null, false );
31 32 zFrmTA.addFormComponentListener( new MyListener( "ERROR" ) );
32 33 add( zFrmTA );
33 34
  @@ -47,14 +48,14 @@
47 48 zTime.addFormComponentListener( new MyListener( new SimpleTime( 1, 2 ) ) );
48 49 zHPanel.add( zTime );
49 50
50 - // FormComboBox zOptions = new FormComboBox( "Colors *", null, "Pick-a-color", "Red" );
51 - // zOptions.addFormComponentListener( new MyListener( "-Select-" ) );
52 - // zOptions.addItems( "-Select-", //
53 - // "Red", //
54 - // "Green", //
55 - // "Blue" );
56 - // zHPanel.add( zOptions );
57 - //
51 + FormComboBox zOptions = new FormComboBox( "Colors *", null, "Pick-a-color", "Red" );
52 + zOptions.addFormComponentListener( new MyListener( "-Select-" ) );
53 + zOptions.addItems( "-Select-", //
54 + "Red", //
55 + "Green", //
56 + "Blue" );
57 + zHPanel.add( zOptions );
58 +
58 59 // add( zHPanel = new HorizontalPanel() );
59 60 //
60 61 // FormSuggestBox zSuggest = new FormSuggestBox( "Suggestions", null, "Type to filter content", null, null, createSuggestions() );