Ejemplo n.º 1
0
 protected Object createQuestionComboBox() {
   Object question = Thinlet.create(Thinlet.COMBOBOX);
   for (int j = 1; j <= 4; j++) {
     Object choice = ui.createComboboxChoice(getI18NString(QUESTION + "." + j), null);
     ui.add(question, choice);
   }
   ui.setText(question, getI18NString(QUESTION_DEFAULT));
   ui.setColspan(question, 2);
   ui.setWeight(question, 1, 1);
   return question;
 }
Ejemplo n.º 2
0
 public LoginScreen(
     UiGeneratorController uiController,
     PatientViewThinletTabController tabController,
     ApplicationContext appCon) {
   this.tabController = tabController;
   this.ui = uiController;
   userDao = (UserDao) appCon.getBean("UserDao");
   questionDao = (SecurityQuestionDao) appCon.getBean("SecurityQuestionDao");
   settings = SecurityOptions.getInstance();
   mainPanel = ui.createPanel("");
   ui.setWeight(mainPanel, 1, 1);
   reset();
 }