/** * A "bare" constructor suitable for the selection member of a multiple * selection control (UIInput); */ public static UIInputMany make(String valuebinding) { UIInputMany togo = new UIInputMany(); togo.valuebinding = new ELReference(valuebinding); return togo; }
/** A full constructor, specifying a bound String array with an optional * initial value. Note that there is no direct renderer for such a component * in HTML. */ public static UIInputMany make(UIContainer parent, String ID, String binding, String[] initvalue) { UIInputMany togo = new UIInputMany(); togo.valuebinding = ELReference.make(binding); if (initvalue != null) { togo.setValue(initvalue); } togo.ID = ID; parent.addComponent(togo); return togo; }