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

struts validator and tiles

 
rob harvey
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - can you use struts validator framework and tiles together - it would seem not - when validation fails the input page is shown instead of the tile - ie with the input page inside it.
am i best just writing the validation method in the form?
thanks
 
sweta naidu
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use validator framework and tiles together. I am using tiles and validations together but i configured my tiles using tiles-def.xml file. Whenever validation fails input in the action should point to tiles definition name.
 
rob harvey
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cheers sweta - i have my definitions in a conig file too. so are you saying that then i just need to specify the input in the action element as the definition name? is that all i need to do?
thanks for your help
 
rob harvey
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cheers works now
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic