Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I get 2 error message sections on a page?

 
Cameron Dalton
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good morning, everyone. I'm working with Struts 1.1, and I'd like to get 2 error message sections on a single page. To give you an idea of what I mean: I'd like one section above the form for adding a record (which might have validation errors for the form, or save errors, etc), and then another error message section underneath that but above a list of existing records (which might have errors or warnings that occurred while retrieving the records). Is this possible? From what I've seen so far, I can only figure out how to add errors to one error store, and then they're all displayed in the same place.

Thanks for your help.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Errors are displayed using the error tag--why not try putting in two of them?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic