A type of static {@link org.apache.tapestry.IBinding} that gets it value from a public field(static class variable) of some class or interface.
The binding uses a field name, which consists of a fully qualified class name and a static field of that class seperated by a dot. For example: com.foobar.SomeClass.SOME_FIELD
.
If the class specified is for the java.lang
package, then the package may be ommitted. This allows Boolean.TRUE
to be recognized as a valid value.
The {@link org.apache.tapestry.engine.IPageSource} maintains a cache of FieldBindings. This means thateach field will be represented by a single binding ... that means that for any field, the accessValue()
method (which obtains the value for the field using reflection) will only be invoked once.
@author Howard Lewis Ship
@version $Id: FieldBinding.java 243791 2004-02-19 17:38:13Z hlship $
@deprecated To be removed in 2.5 with no replacement. Can be accomplished using OGNL expressions.