struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Jesse <>
Subject RE: [Newbie] Display multiple error messages in a list
Date Tue, 25 Sep 2001 09:05:51 GMT
I think one of the best practises is:
wrap each message within <li> and </li> and provide error-header and -footer
that give a <ul>-</ul> frame.

Although I think the html:errors tag should have an option to do this on its on...

hope this helps
Alexander Jesse

-----Original Message-----
From: []
Sent: Tuesday, September 25, 2001 10:57 AM
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/> 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 example) ?

Thanks by advance.

Bruno Morin.

View raw message