Hi all,
I am new to T5, and I am trying to compare a server-side variable to the
data input from the client side.
So is there a way to have something like
<t:textfield t:id="amount" t:validate="required, min=${total}"> ?
I tried this but it throws an exception as "Could not find a coercion from
type java.lang.String to type org.apache.tapestry5.FieldValidator." I am not
sure why it takes total as a String while it's a double in the server side.
Can anyone help me with this?
Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Question-about-FieldValidator-tp4706033p4706033.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]