• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Struts & JSF Tag Library  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand that integrating Struts and JSF is not a trivial task. Also, the struts-faces library is under development. But, rather than integrate the 2 frameworks seamlessly, is it possible to use the JSF-Struts library in a Struts-based application only for only for using some fancy UI widgets from JSF. If this is possible, is there a example that would show how to do so? And there any other resources that talk about such integration?
 
Author
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Amit Deokar:
I understand that integrating Struts and JSF is not a trivial task. Also, the struts-faces library is under development. But, rather than integrate the 2 frameworks seamlessly, is it possible to use the JSF-Struts library in a Struts-based application only for only for using some fancy UI widgets from JSF. If this is possible, is there a example that would show how to do so? And there any other resources that talk about such integration?



From what I've seen of the Struts-JSF integration package, it shouldn't be all that hard to use. Basically, you need a bit of configuration to plug in integration versions of a few Struts classes (e.g., the RequestProcessor), and use a couple of new Struts custom tags (e.g., a new form tag). You're right about the package still being developed, though.

Maybe I missunderstand the question, but in order to use JSF in a Struts application, you must use the complete integration package. There are examples of how to use it bundled with the package.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!