Oooo.. Thank you Howard. I've looked in the wrong place.
On 6/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
The text is a function of the Errors component (which is embedded
inside the BeanEditForm).
On 6/9/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
> 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]
>
>
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]