public void main(IWContext iwc) throws Exception { add(IWDeveloper.getTitleTable(this.getClass())); getParentPage().setBackgroundColor("#FFFFFF"); Form form = new Form(); form.maintainParameter(IWDeveloper.actionParameter); add(form); Table table = new Table(1,2); table.setHeight(1,1,"30"); table.setHeight(1,2,Table.HUNDRED_PERCENT); table.setAlignment(1,1,Table.HORIZONTAL_ALIGN_LEFT); table.setAlignment(1,2,Table.HORIZONTAL_ALIGN_LEFT); form.add(table);
public void main(IWContext iwc) throws Exception { add(IWDeveloper.getTitleTable(this.getClass())); getParentPage().setBackgroundColor("#FFFFFF"); Form form = new Form(); form.maintainParameter(IWDeveloper.actionParameter); form.setTarget(IWDeveloper.frameName); add(form); Table table = new Table(1, 2); table.setHeight(1, 1, "30"); table.setHeight(1, 2, Table.HUNDRED_PERCENT); table.setAlignment(1, 1, Table.HORIZONTAL_ALIGN_LEFT); table.setAlignment(1, 2, Table.HORIZONTAL_ALIGN_LEFT); form.add(table);
  public void main(IWContext iwc) throws Exception  {          add(IWDeveloper.getTitleTable(this.getClass()));      getParentPage().setBackgroundColor("#FFFFFF");          Form form = new Form();          form.maintainParameter(IWDeveloper.actionParameter);          add(form);          Table table = new Table(1,2);          table.setHeight(1,1,"30");          table.setHeight(1,2,Table.HUNDRED_PERCENT);          table.setAlignment(1,1,Table.HORIZONTAL_ALIGN_LEFT);          table.setAlignment(1,2,Table.HORIZONTAL_ALIGN_LEFT);          form.add(table);          SubmitButton viewOut = new SubmitButton(PARAM_VIEW_OUT_LOG,"View Out Log");          SubmitButton clearOut = new SubmitButton(PARAM_CLEAR_OUT_LOG,"Clear Out Log");          SubmitButton viewErr = new SubmitButton(PARAM_VIEW_ERR_LOG,"View Error Log");          SubmitButton clearErr = new SubmitButton(PARAM_CLEAR_ERR_LOG,"Clear Error Log");          table.add(viewOut, 1, 1);          table.add(viewErr, 1, 1);          table.add(clearOut, 1, 1);          table.add(clearErr, 1, 1);          processBusiness(iwc,table);  }