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
-
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
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
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
4 matches
Mail list logo