You have at least two options.

Tapestry pages/components are POJOs, so just use an instance variable:
    private String textFieldValue = "xxx";

Read more about that option here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html

If you need more complicated initializations do them in onActivate.

Cheers,
Nick.


Doublel wrote:
How to define InitialValue for TextField? in T4 use @InitialValue in T5 how
to do?? for help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to