I already tried it on both fields and it doesn't work either way.
-Steve
andyhot wrote:
From
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/validator/Identity.html
" Apply this validator to the second field ... "
So, you need to do it the other way around, i.e. pass
From
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/validator/Identity.html
" Apply this validator to the second field ... "
So, you need to do it the other way around, i.e. pass the name of the
first field to your validator
and apply the validator to the second field -
I'm trying to write a variant of the match/differ validators to check if
two fields have the same null state. I pass in the name of the second
field to the validator and can access that field with
TextField referent = (TextField)
field.getContainer().getComponent(_fieldName);
However, refer