aspose file tools*
The moose likes Struts and the fly likes Change <s:form> simple theme to show validation errors in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Change <s:form> simple theme to show validation errors in struts2" Watch "Change <s:form> simple theme to show validation errors in struts2" New topic
Author

Change <s:form> simple theme to show validation errors in struts2

Jibin Najeeb
Greenhorn

Joined: Nov 27, 2012
Posts: 6
Hey all,
I am new in struts. I want to display validated error messages above each and every field. The default <s:form> is generating a table automatically. So Design is changing. So i have to keep it in simple theme. But also i wanna show Validation errors for each field without affect design.. Is there any way to change the form theme for validation manually. Please HeLp..
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8968
    
    9

You can create your own theme. Here is the documentation for the themes provided with Struts 2 and here is a tutorial on how to create and use custom themes.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change <s:form> simple theme to show validation errors in struts2