org.apache.tapestry.annotations
Annotation Type InitialValue


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface InitialValue

An annotation used to provide the initial value of a transient or persistent property.

Since:
4.0
Author:
Howard M. Lewis Ship
See Also:
PersistAnnotationWorker, InitialValueAnnotationWorker

Required Element Summary
 String value
          The initial value for the property as a binding reference that is evaluated when the page is first constructed, and again every time the page is detached and returned to the page pool.
 

Element Detail

value

public abstract String value
The initial value for the property as a binding reference that is evaluated when the page is first constructed, and again every time the page is detached and returned to the page pool. The default binding prefix is "ognl:".



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.