Examples of DropDown


Examples of com.sun.webui.jsf.component.DropDown

            @HandlerInput(name = "tableDD", type = com.sun.webui.jsf.component.DropDown.class),
            @HandlerInput(name = "validationField", type = com.sun.webui.jsf.component.DropDown.class),
            @HandlerInput(name = "methodValue", type = String.class)})
    public static void setDisableConnectionPoolTableField(HandlerContext handlerCtx) {
        String methodValue = (String) handlerCtx.getInputValue("methodValue");
        DropDown tableDD = (DropDown) handlerCtx.getInputValue("tableDD");
        DropDown validationDD = (DropDown) handlerCtx.getInputValue("validationField");
        if ("table".equals(methodValue)) {
            tableDD.setDisabled(false);
            validationDD.setDisabled(true);
        } else if ("custom-validation".equals(methodValue)) {
            tableDD.setDisabled(true);
            validationDD.setDisabled(false);

        } else {
            tableDD.setDisabled(true);
            validationDD.setDisabled(true);
        }
    }
View Full Code Here

Examples of com.sun.webui.jsf.component.DropDown

            @HandlerInput(name = "tableDD", type = com.sun.webui.jsf.component.DropDown.class),
            @HandlerInput(name = "validationField", type = com.sun.webui.jsf.component.DropDown.class),
            @HandlerInput(name = "methodValue", type = String.class)})
    public static void setDisableConnectionPoolTableField(HandlerContext handlerCtx) {
        String methodValue = (String) handlerCtx.getInputValue("methodValue");
        DropDown tableDD = (DropDown) handlerCtx.getInputValue("tableDD");
        DropDown validationDD = (DropDown) handlerCtx.getInputValue("validationField");
        if ("table".equals(methodValue)) {
            tableDD.setDisabled(false);
            validationDD.setDisabled(true);
        } else if ("custom-validation".equals(methodValue)) {
            tableDD.setDisabled(true);
            validationDD.setDisabled(false);

        } else {
            tableDD.setDisabled(true);
            validationDD.setDisabled(true);
        }
    }
View Full Code Here

Examples of com.sun.webui.jsf.component.DropDown

            @HandlerInput(name = "tableDD", type = com.sun.webui.jsf.component.DropDown.class),
            @HandlerInput(name = "validationField", type = com.sun.webui.jsf.component.DropDown.class),
            @HandlerInput(name = "methodValue", type = String.class)})
    public static void setDisableConnectionPoolTableField(HandlerContext handlerCtx) {
        String methodValue = (String) handlerCtx.getInputValue("methodValue");
        DropDown tableDD = (DropDown) handlerCtx.getInputValue("tableDD");
        DropDown validationDD = (DropDown) handlerCtx.getInputValue("validationField");
        if ("table".equals(methodValue)) {
            tableDD.setDisabled(false);
            validationDD.setDisabled(true);
        } else if ("custom-validation".equals(methodValue)) {
            tableDD.setDisabled(true);
            validationDD.setDisabled(false);

        } else {
            tableDD.setDisabled(true);
            validationDD.setDisabled(true);
        }
    }
View Full Code Here

Examples of de.lessvoid.nifty.controls.DropDown

          }
          return o1.toString().compareTo(o2.toString());
        }
      });

      DropDown dropDown = screen.findNiftyControl("resolutions", DropDown.class);
      for (DisplayMode mode : sorted) {
        dropDown.addItem(mode);
      }
    } catch (Exception e) {
    }
  }
View Full Code Here

Examples of de.lessvoid.nifty.controls.DropDown

                JSONObject creature = ((JSONArray) creatures).getJSONObject(i);
                model.creatures.add("" + creature.getInt("id"));
            }
            nifty.gotoScreen("creature_select");
            Screen screen = nifty.getScreen("creature_select");
            DropDown niftyControl = screen.findNiftyControl("dropDown", DropDown.class);
            niftyControl.clear();
            niftyControl.addAllItems(model.creatures);
        }
    }
View Full Code Here

Examples of loxia.struts2.taglib.model.Dropdown

    return new NumberField(stack,req,res);
  }
 
  protected void populateParams() {
        super.populateParams();
        Dropdown dropdown = ((Dropdown) component);
        dropdown.setEditable(editable);
        dropdown.setChoice(choice);
        dropdown.setFindMode(findMode);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.