Hidden fields do not support input validation as well. Shouldn't the
implementation extend AbstractField?
I put together snippets from the existing Hidden field and the
AbstractTextField which works for me now. I don't oversee all the
elements so this is just a raw idea. I am not sure, if we s
Hello,
an empty hidden field is not properly decoded. If foo is null, I get
Caused by: java.lang.RuntimeException: Coercion of to type
java.lang.Integer (via String --> Long, Long --> Integer) failed: For
input string: ""
at
org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl$Target