Aha...
I need to specify a TextField's value property, not its id. But why does id
work when the value is bound to an attribute of the component class?
Anyway, problem solved.
----- Original Message -----
From: "Marc A. Donis" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Saturday, October 06, 2007 16:08
Subject: T5: Parameter(s) translate, value are required for
org.apache.tapestry.corelib.components.TextField, but have not been bound.
Hi again,
I have a form in EditAccount.html, which contains:
<t:textfield t:id="user.username" t:validate="required"/>
EditAccount.java has a refernce to a user, along with a get/set pair of
accessors, and the User object has gettes and setters for its properties, as
well.
Nonetheless, I am encountering:
Parameter(s) translate, value are required for
org.apache.tapestry.corelib.components.TextField, but have not been bound.
seeming to imply that it can't find the property named "user.username".
Note that if I try this with a property which is actually in the EditAccount
class, it works just fine. It this sort of thing just not supported? I
must be missing something. Thoughts?
Thanks,
Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]