aspose file tools*
The moose likes Struts and the fly likes How can I get 2 error message sections on a page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How can I get 2 error message sections on a page?" Watch "How can I get 2 error message sections on a page?" New topic
Author

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

Cameron Dalton
Greenhorn

Joined: Nov 14, 2008
Posts: 19
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

Joined: Sep 29, 2008
Posts: 12617

Errors are displayed using the error tag--why not try putting in two of them?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I get 2 error message sections on a page?
 
Similar Threads
How to find out which form generated errors ?
How to disable one section in IE5.5/6
Code in database corrupts data.
Error handling JSF Form Divisions
Displaying Validation Errors with Indexed Properties