Check the <logic:messagesPresent> and <logic:messagesNotPresent> and see if
they do the trick for you.
- Hubert
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> 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]
>
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]