IntelliJ IDEA

JavaServer Faces

IntelliJ IDEA features the support for JavaServer Faces (JSF) technology that leverages existing, standard UI and Web-tier concepts without limiting developers to a particular mark-up language, protocol, or client device through custom tag library for expressing a JavaServer Faces interface within a JSP page.



JSF 2.0 Specific Features

IntelliJ IDEA supports latest improvements in the JSF 2.0 specification, making it even easier to develop JSF pages. The improvements include support for:

  • Custom Composite Components: Quick Demo
  • Resource Loading (@ResourceDependency, <h:outputScript>, <h:outputStylesheet>)
  • Resource Loading
  • Implicit and conditional navigation
  • Implicit Navigation Implicit Navigation (click to enlarge)
  • Managed beans and components annotations (@ManagedBean, @FacesComponent, @FacesRenderer, etc.) including code completion, usage search and basic refactoring
  • JSF 2.0 Managed Beans JSF 2.0 Managed Beans (click to enlarge)
  • Improved template support for JSF 2.0
  • JSF 2.0 Template Support JSF 2.0 Template Support (click to enlarge)
  • New scopes support (View and Flash scopes)
  • New tags support

 

JSF-aware coding assistance with code completion and formatting

JSF coding assistance

 

Dedicated JSF Toolwindow

IntelliJ IDEA is capable of aggregating all JSF-related configurations in a single place, letting you easily analyze and quickly navigate to both annotated and xml'ed elements via dedicated tool window.

JSF Toolwindow

 

Configuring JSF Navigation Rules

You can easily configure navigation rules in faces-config files without making a lot of tedious typing. Just open a faces configuration file, select the Navigation tab, and then drag pages from project tree and drop them to the graph.

JSF Naviation Options JSF Naviation Options (click to enlarge)

 

to the top

Additionally, since version 6.0 IntelliJ IDEA supports the JBoss Seam, with code validation and completion.