Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating instance of DynaValidator Form  RSS feed

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using DynaValidator form with Validator framework in my web application. User enters data in a jsp page, and once validation rules are met, data is added to the database. I want to use the same DynaValidator form to display data back to the user. These two steps happen at different points, and are triggered by different actions. So, in the method where I'm getting data based on a unique key, I want to create a new instance of the DynaValidator form, populate it with values from the database, and display it back to the user. The web page handling adding one new row, and displaying one row are the same. Is this the recommended approach ? To compile these Action classes, I will have to add validator jar to my classpath, right ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!