• Post Reply Bookmark Topic Watch Topic
  • New Topic

does jsf work when javascript is disabled?  RSS feed

 
andy arm
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am investigating the ability of jsf to work when javascript is disabled and there are conflicting options.
Does anyone have a take here?
 
Tim Holloway
Bartender
Posts: 18715
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Andy!

Basic standard JSF does not use or need JavaScript. JSF2 has some JavaScript support, but that's mostly for AJAX, I think, and AJAX doesn't work without JavaScript enabled on any platform.

There are third-party tag libraries such as RichFaces that use (and generate) JavaScript, but how well they work depends on how the library was developed. Ideally, a tag library should revert to non-JSF equivalents where possible if it detects that JavaScript was disabled, but I'm not sure how well any of them do that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!