File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying validation error messages only at the top in struts 2

 
aman thind
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we display validation messages anywhere on the page in struts 2.When i use <s:head> it's displaying at everyfield(where validation error is) and if i use<s:fielderror>,it's displaying on the top and on the fields also.Is it possible to display error messages onlt at the top of page.Thanks in advance.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default theme includes field error messages. If you don't want them, either use the simple theme (creates other issues), or create your own theme.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic