ValidationTrackerImpl is final, so I cannot extend this class. But I found ValidationTrackerWrapper class, maybe I should extend this?
I'm trying something like this: public class ValidationFieldTracker extends ValidationTrackerWrapper { private List<Field> fields; public ValidationFieldTracker(ValidationTracker delegate) { super(delegate); } public List<Field> getFields() { return fields; } @Override public void recordError(Field field, String errorMessage) { super.recordError(field, errorMessage); fields.add(field); } } I then need to set the tracker to the form like you suggested: <t:form t:id="trackedForm" tracker="validationTracker" ...> But I'm not sure where and how to define/set this tracker. Do I set it as a persisted property? @Persist(PersistenceConstants.FLASH) @Property private ValidationFieldTracker validationTracker; And where do I set it's value? validationTracker = new ValidationFieldTracker(trackedForm.getDefaultTracker()); Thanks for the help given already! Nathan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718135.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org