That's what I was figuring I was going to have to do but I just wanted to
make sure there was not a more intuitive way... Thanks

-----Original Message-----
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 8:10 AM
To: Struts Users Mailing List
Subject: RE: using multiple error messages


Not sure if there is a better way of doing this, but my suggestion would be
have no error.header entry, and instead have:

error.systemheader
error.applicationerror

with the two entries you gave, and always add one of those to the error list
first.

Daniel.

-----Original Message-----
From: Nimmons, Buster [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 14:07
To: '[EMAIL PROTECTED]'
Subject: using multiple error messages


currently my ApplicationResources.properties file contains the following
errors.header entry

<h3><font color\="red">The following error occurred</font></h3>You must
correct the following error(s) before proceeding\:<ul>

this is fine for application errors. However I would like to define a
different header for System errors so I may such as

<h3><font color\="red">The following unrecoverable error(s) have
occurred</font></h3>It is not possible to proceed. When contacting support
identify the errors below by the error ID listed\:<ul>

How can I specify multiple error headers and tell the <html:error tag to use
the appropriate one

---------------------------------------------------------------------
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]

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

Reply via email to