aspose file tools*
The moose likes Struts and the fly likes struts validator and tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts validator and tiles" Watch "struts validator and tiles" New topic
Author

struts validator and tiles

rob harvey
Greenhorn

Joined: Apr 05, 2002
Posts: 25
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

Joined: Nov 02, 2004
Posts: 25
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

Joined: Apr 05, 2002
Posts: 25
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

Joined: Apr 05, 2002
Posts: 25
cheers works now
 
 
subject: struts validator and tiles