• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[IntelliJ IDEA] Enabling Facelets in a JSF module

 
Randal Vance Cunanan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to IntelliJ IDEA and I am having a hard time figuring out how to enable Facelets in a JSF module. It uses JSP views by default when I create it. I used eclipse so I really am not familiar on how to properly create modules in IntelliJ. I tried creating a new project > Java Module > clicked JSF and I successfully created a JSF module but it's using JSP pages instead of facelets XHTML. How can I use facelets and is there a way to create XHTML pages using context menus? Thanks.
 
Kristjan Toots
Ranch Hand
Posts: 59
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried following this: IntelliJ JSF
 
Randal Vance Cunanan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kristjan Toots wrote:Have you tried following this: IntelliJ JSF


Yes but it doesn't explain how to use facelets view technology. It still uses JSP instead of XHTML files.
 
Randal Vance Cunanan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind. I got it. You need to go to File > Project Settings > Facets and choose enabled. Then for creating XHTML files, right click and choose new java ee web page and select Facelets page from the "Kind".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic