You should use getElementName() after the name parameter.
Cheers,
Nick.
Kristian Marinkovic wrote:
for the time being ....there is no Hidden component available in T5....
you can use the component below:
public class Hidden extends AbstractTextField {
@Override
protected void writeFieldTag(MarkupWriter writer, String value) {
writer.element(
"input",
"type",
"hidden",
"id",
getClientId(),
"name",
getClientId(),
"value",
value);
writer.end();
}
}
Angelo Chen <[EMAIL PROTECTED]>
24.10.2007 12:34
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>
An
users@tapestry.apache.org
Kopie
Thema
T5: hidden fields
Hi,
Is there a way to declare hidden fields in a form? Thanks.
A.C.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]