I think that would be "requestScope", not "request".

Someday someone's going to write a TLV for development that throws an
exception if any symbol referenced in an EL expression doesn't exist
(I'm not even sure that algorithm would have caught your error, though).

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 05, 2004 2:38 PM
To: Struts Users Mailing List
Subject: Header for errors (no HTML in the .properties file)


I'm using this to display errors:
   <div class="error">
     <ul>
       <html-el:messages id="msg" message="false">
         <li><c:out value="${msg}"/></li>
       </html-el:messages>
     </ul>
   </div>

How do I put the old "Validation ErrorYou must correct the following
error(s) before proceeding:" text at the top if there are indeed errors
to be displayed?  That used to happen magically with <html-el:errors/>
using the errors.header & errors.footer in the
ApplicationResources.properties file.

I started to write <c:if test"${not empty ... But I don't know what to
check for emptiness.  

I see that the errors are in request scope under the key
org.apache.struts.action.ERROR but all sorts of variations of this break
my page: <c:if test"${not empty
request['org.apache.struts.action.ERROR']}">

It's late on Friday, I'm probably missing something really simple...

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to