• Post Reply Bookmark Topic Watch Topic
  • New Topic

using validations in JSF  RSS feed

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I am going to use both JSF and Spring in application, may I know what kind of validatior framework i am supposed to use? in other words, JSF's validations or springs validations.

thanks
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on where you want to manage the validation rules.
If in JSF pages, then use the JSF validation framework.
If in Spring configuration files and using a generic message in JSF page, then use the Spring validation. This integration is however not seamless.

I would vote for the JSF validation.
 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Mr. Bauke

there does not seem to be any validation framwork in Spring but they use Appache Commns validation framwork.


So, can you tell me if you are aware of this.
 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Mr. Bauke

there does not seem to be any validation framwork in Spring but they use Appache Commns validation framwork.


So, can you tell me if you are aware of this.
 
Pari Gandhi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Balusc said, JSF comes with a validation framework. Its quite good.

BTW, I recently read about the Oval framework (http://oval.sourceforge.net/) - Havn't used this though.

See http://code.google.com/p/jsfatwork/ for a full stack JSF application with Oval framework.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!