Exemple #1
0
    public void onEvent(Event event) throws UiException, SQLException {
      Listbox thelb = (Listbox) division_holder.getFellowIfAny(division_lbid);
      String iwhat = thelb.getSelectedItem().getLabel();
      String iname = luhand.matchLookup_ReturnStr("TP_DIVISIONS", iwhat, 2); // get name by disptext
      populateSectionColumn(iname);

      // remove prev tests lb if any
      if (tests_holder.getFellowIfAny(tests_lbid) != null) {
        Listbox prevlb = (Listbox) tests_holder.getFellowIfAny(tests_lbid);
        prevlb.setParent(null);
      }
    }
Exemple #2
0
 public void onEvent(Event event) throws UiException, SQLException {
   Listbox thelb = (Listbox) section_holder.getFellowIfAny(section_lbid);
   String iwhat = thelb.getSelectedItem().getLabel();
   selected_groupcode = iwhat; // save for later usage
   populateTestParametersColumn(selected_category, iwhat);
 }