aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes [IntelliJ IDEA] Enabling Facelets in a JSF module Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "[IntelliJ IDEA] Enabling Facelets in a JSF module" Watch "[IntelliJ IDEA] Enabling Facelets in a JSF module" New topic
Author

[IntelliJ IDEA] Enabling Facelets in a JSF module

Randal Vance Cunanan
Greenhorn

Joined: Apr 28, 2013
Posts: 3
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

Joined: Jun 03, 2011
Posts: 59

Have you tried following this: IntelliJ JSF


Please correct my english.
Randal Vance Cunanan
Greenhorn

Joined: Apr 28, 2013
Posts: 3
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

Joined: Apr 28, 2013
Posts: 3
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".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [IntelliJ IDEA] Enabling Facelets in a JSF module