01: /*
02: * Created on Jan 17, 2006
03: */
04: package uk.org.ponder.rsf.components;
05:
06: public class UIOutputMany extends UIBoundList {
07:
08: /** A constructor suitable for the value lists appearing in selection controls */
09: public static UIOutputMany make(String valuebinding, String resolver) {
10: UIOutputMany togo = new UIOutputMany();
11: togo.valuebinding = new ELReference(valuebinding);
12: togo.resolver = new ELReference(resolver);
13: return togo;
14: }
15:
16: /** Another constructor for selection lists, where these have been precomputed **/
17: public static UIOutputMany make(String[] values) {
18: UIOutputMany togo = new UIOutputMany();
19: if (values != null) {
20: togo.setValue(values);
21: }
22: return togo;
23: }
24: }
|