// init with vertical layout
      flc = FormLayoutContainer.createVerticalFormLayout("ffo_vertical", getTranslator());    
      mainForm = Form.create("ffo_main_vertical", flc, this);
    } else if (layout == LAYOUT_CUSTOM) {
      throw new AssertException("Use another constructor to work with a custom layout!");
    } else {
      // init with default layout
      flc = FormLayoutContainer.createDefaultFormLayout("ffo_default", getTranslator());
      mainForm = Form.create("ffo_main_default", flc, this);