Package org.apache.tapestry5.annotations
Annotation Type Environmental
- 
@Target(FIELD) @Documented @Retention(RUNTIME) @UseWith({COMPONENT,MIXIN,PAGE}) public @interface Environmental
Defines a field of a component class that is replaced at runtime with a read-only value obtained from theEnvironmentservice. Most commonly, the field will be of typeJavaScriptSupport,HeartbeatorFormSupport, though many other options are possible. 
- 
- 
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanvalueThe value determines if the environmental service to be injected is required or not. 
 - 
 
- 
- 
Element Detail
- 
value
boolean value
The value determines if the environmental service to be injected is required or not. In most cases, it is, so the default is true.- Default:
 - true
 
 
 - 
 
 -