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.
-- 
View this message in context: 
http://www.nabble.com/T5%3A-hidden-fields-tf4683527.html#a13383161
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Reply via email to