01: /*
02: * Created on Aug 5, 2005
03: */
04: package uk.org.ponder.rsf.components;
05:
06: /**
07: * A base class for any "pure" (componentless) bindings encoded in the
08: * component tree. The base function is that the name/value pair recorded
09: * in this base class will be submitted as part of the request map.
10: * These may appear as children of either UIForm components, or of UIComponent
11: * components. Derived classes are UIELBinding, UIDeletionBinding etc.
12: * @author Antranig Basman (antranig@caret.cam.ac.uk)
13: *
14: */
15: public class UIParameter {
16: public String name;
17: public String value;
18: /** If set to <code>true</code>, represents a "virtual" binding/parameter, that is,
19: * one that is rendered inactive by default, to be "discovered" by some
20: * client-side mechanism. Virtual bindings represent an "alternate execution path"
21: * through the request container.
22: */
23: public boolean virtual;
24:
25: public UIParameter() {
26: }
27:
28: public UIParameter(String name, String value) {
29: this.name = name;
30: this.value = value;
31: }
32: }
|