Hi, your points are also in our styleguide... 1) here's what I did: (using struts 1.0.0 and the validator-package dated: 2001-07-02)
--- page-declarations: <%@ taglib uri="/WEB-INF/struts-validator.tld" prefix="validator" %> --- somewhere within the form: <validator:errorsExist property="csPid"> <img src="images/achtung.gif"/> </validator:errorsExist> <html:text property="csPid" size="8" maxlength="8" disabled="false"/> --- 2) is also on my list...but not yet looked into... On top of the page I must display a list with all error-messages (no problem so far). Each of these messages should contain a link to the field in error. and we add 3) we require on the alternate text of the image to have the error-message appear. So, when the user covers the image with the cursor he will see the corresponding error-message once more. As I said I can resolve 1), but 2) and 3) are still open. Maybe we could discuss the open issues together and write our own special error-tag. What do you think about that? cheers Alexander Jesse -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 3:57 AM To: [EMAIL PROTECTED] Subject: Showing image beside fields with errors Hi, A couple things that I would like to do with the Struts 1.0 release relating to errors that I can't see doing without writing a bunch of extra code. 1) When I have validation errors (ActionErrors) I would like to show an image (red arrow gif) next to the fields that are in error. 2) I would also, like to have the list of error messages to be hyperlinked so that they take the focus directly to the field in error when clicked. Has anyone been able to do this? Any ideas? Sample code? Thanks, Michelle [EMAIL PROTECTED] _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp