01: /*
02: * Created on 9 Nov 2006
03: */
04: package uk.org.ponder.rsf.builtin;
05:
06: import uk.org.ponder.beanutil.BeanGetter;
07:
08: public class UVBBean {
09: private BeanGetter rbg;
10:
11: public void setRequestBeanGetter(BeanGetter rbg) {
12: this .rbg = rbg;
13: }
14:
15: public Object[] values;
16:
17: public String[] paths;
18:
19: /** The action method, after all bindings are complete, reads a collection
20: * of EL paths.
21: */
22:
23: public void populate() {
24: values = new Object[paths.length];
25: for (int i = 0; i < paths.length; ++i) {
26: values[i] = rbg.getBean(paths[i]);
27: }
28: }
29:
30: }
|