Paul Cantrell <cantrell <at> pobox.com> writes:

> Ideally, I'd be able to do this:
> 
>      getPasswordField().recordError("Incorrect password");
> 
> ...or something like that.

Try: 

class ErrorRecord {
  static void record(IFormComponent field, String msg) {
    field.getForm().getDelegate().record(field, msg);
  }
}

--
Kent Tong
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


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

Reply via email to