If it aint broke, why fix it?
--
Peter Pilgrim | |++44 (0)207-545-9923
\ \ ___ / / ... .
- ( * ) --- --
_Cafe_Savannah,_San Antonio,Ibiza__
--
This e-mail may contain confidential and/or privileged
Several errors messages are store in the ActionErrors instance ( generated
in the validate method of a ActionForm ).
The tag html:errors/ displays error messages without carriage return
between them.
What is the solution to display those messages with carriage return between
them (in a list by
PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 10:57 AM
To: [EMAIL PROTECTED]
Subject: [Newbie] Display multiple error messages in a list
Several errors messages are store in the ActionErrors instance ( generated
in the validate method of a ActionForm ).
The tag html:errors
The examples I've seen solve this by mixing html formatting right in with
the error messages.
error.myerror=liThis is my error message/li
This seems like bad practice to me. If one needs to display errors in a
different format, one has to rewrite the errors files.
It seems to me html:errors
] Display multiple error messages in a list
Several errors messages are store in the ActionErrors instance ( generated
in the validate method of a ActionForm ).
The tag html:errors/ displays error messages without carriage return
between them.
What is the solution to display those messages
PROTECTED]
Objet: Re: [Newbie] Display multiple error messages in a list
The examples I've seen solve this by mixing html formatting right in with
the error messages.
error.myerror=liThis is my error message/li
This seems like bad practice to me. If one needs to display errors in a
different format
any good solution to solve this
problem but create a new
error tag.
-Message d'origine-
De: Brian K. Buckley
[mailto:[EMAIL PROTECTED]]
Date: mardi 25 septembre 2001 11:26
À: [EMAIL PROTECTED]
Objet: Re: [Newbie] Display multiple error messages
in a list
The examples
There hasn't been a discussion about deprecating
html:errors. I prefer html:messages over it just to
get the formatting out of the messages and have a
cleaner separation of the view from everything else,
but there are a lot of JSP pages that use html:errors
so I think it will be around for a
8 matches
Mail list logo