--- Ted Husted <[EMAIL PROTECTED]> wrote:
> "Craig R. McClanahan" wrote:
> > Following this philosophy, we'd create a new tag
> (perhaps
> > <html:messages>?) for the new functionality, and
> deprecate
> > <html:errors>. In addition, we'd need to change
> the 1.1 implementation of
> > <html:errors> so that it did something sensible,
> even in the face of a
> > "new and improved" error messages object.
>
> The Validator package actually includes a general
> messages tag, which
> isn't much different from its errors tag.
>
> So maybe we should just add that one, and have it
> start by using the
> default ERRORS key. I believe people could then also
> use it for other
> messages just by specifying a different id property,
> and a different
> header or footer, if desired. I think all we would
> have to do is add an
> optional "property" property to messages and
> messagesExist.
This would work, but would it be confusing for a
general message tag to default to errors? Originally
when I did this I was thinking that for general
messages there could be ActionMessage, ActionMessages,
Action.MESSAGE_KEY, etc. And there would still be the
equivalent ones for errors, but they would subclass
the general message ones and use Action.ERROR_KEY.
Where would the messagesExist tag go?
David
>
> <
> http://home.earthlink.net/~dwinterfeldt/jsptags.html
> >
>
> -Ted.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/