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, referent.getValue() always evaluates to null. Is this something that I need to upgrade to tapestry 4.1.2-SNAPSHOT to make it work (I'm using 4.1.1)? It's not an issue with validating one field before the other is set - I've tried moving the validator between the different controls.

-Steve

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

Reply via email to