RE: separating status messages and error messages-Getting the des ign right.

2002-08-21 Thread Galbreath, Mark
believe THAT???). Oh well, at least Kathy is more interesting to look at all day long. ;-)~ Mark -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:08 PM To: Struts Users Mailing List Subject: RE: separating status messages and error message

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread Andrew Hill
- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 01:54 To: 'Struts Users Mailing List' Subject: RE: separating status messages and error messages-Getting the des ign right. Simply for code readability - we have HTML people who would be confused runn

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread Galbreath, Mark
Simply for code readability - we have HTML people who would be confused running into a trinary operator. Good refactoring, though! Mark -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:49 PM I don't understand the need for the boolean err = f

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread micael
I don't understand the need for the boolean err = false; if(ae!= null) { err = true; } in the code below. Why not use merely: <% ActionErrors ae = (ActionErrors)request.getAttribute(Action.ERROR_KEY); %> Then, wherever you want something to occur on the page: <% if(ae == null ? true : false