• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

[IntelliJ IDEA] Enabling Facelets in a JSF module

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 59
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried following this: IntelliJ JSF
 
Randal Vance Cunanan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
I was her plaything! And so was this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic