No answer? I guess at least it'd be good to know if this isn't
implemented in T5. Anyway, as a work around I've spit out the
unexpected error below the form without using form error mechanism.

On 6/7/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
Hello,
Is there a way to customize the default banner "You must correct the
following errors before you may continue." message? I'd like to change
this banner dynamically depending on the error. Specifically, I'd like
to do something like this in my page class:

try {
 // deal with form input
}
catch(SQLException sqle) {
  // _form.setSomehowDefaultBanner("Unexpected Error:");
  _form.recordError(sqle.getMessage());
}

Regards,
-adam


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

Reply via email to