Hi! I am a new bie with Struts trying to figure out a way to display form errors along with the form elemtn which was the source of the error. For example, if the form is for new user registration, and it had two errors - a. User name already exists b. passwords dont match these would be shown next to the respective form elements where these were entered. I am trying to accomplish this usng Struts. This is what I understand how this could be done: For each form tag analyze the errors collection { if error key matches some value (using the logic:) { render tag differently display the message } } I am wondering if this is the most efficient way of achieving this? Also, can we extend Struts error display such that for every html form tag, it takes a property displayErrors=true or something to that tune, which causes the error message to be displayed along with the tag as the tag is being rendered. Is this extension already planned for development/exists? Would be interested on working on that because I think that would a very useful feature.
Looking forward to your thoughts! -Ashish ===== Ashish Bansal My Home Page --------------------------------- To err is human. To forgive is against company policy. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>