|
<html:errors/> only provide standard behaviour, I want to have a customized
error message to generate html like this: ============================================================ Validation Error: <ul> <li> <a href="#section_1">Section 1</a>, Last Name is needed.</li> </ul> ============================================================ If the content in one web page is very large, this kinds of error message displaying enables user to be able to click the error message, and go to appropriate section of the page. I'm sure some other people want to have their own customized error message displaying. then the ActionMessages.getSortedProperties() will be very important.
Don Brown made changes - 23/Apr/06 04:44 AM
Paul Benedict made changes - 26/Nov/06 06:16 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ActionMessages (ie. <html:errors/>) should probably do the sorting instead.