JSP JSF Source Page Editing Tools


The JSF Tools team has provided enhancements to the JSP source editor making JSF page development simpler.

The JSF Tooling has provided frameworks that allow the source page editor to provide services for most of the attribute values from the JSF standard Core and HTML tag libraries where it makes sense. These frameworks are "meta-data" driven and extensible which would allow tag library developers to add their own content assist, validation and other service quite easily. In other words, the features supplied with the JSF Tooling will eventually make it to the WTP layer so that the source editing experience for other JSP tag libraries will be improved.

Content Assist


Content Assist is the Eclipse text editor term for providing context-based proposals at the currrent text insertion point. The JSP editor already provides excellent tag library support whereby a popup of possible tags and attributes are made available as you type.

Validation


Beyond the basic JSP validation already provided with the JSP editor, there is now semantic validation of the JSF standard tag libraries for both EL and non-EL attribute values.

The EL validation is quite comprehensive offering not only basic syntax validation, but also object existence and type and signature validations.

If there is a problem with the value provided for an attribute it will be detected and you should see either a warning or error marker along with a "squiggly" under the value depending on the severity. There may be multiple problems and each will be listed if you hover your mouse over the squiggly or the annotation marker in the side ruler. The validation is aware of the JSF Faces Configuration model(s) in the the project and can flag problems of missing configuration items.

Multiple Problems

Hyperlink


Hyperlink to the Java editor from Managed Bean variable, Managed Bean property and Managed Bean method referenced in the Expression Language(EL) of a tag-attribute. Users can (Ctrl+click) on the hyperlink to navigate to the source of the Managed Bean.

Hyperlink

Future Features


The JSF Tools team would like to be able to provide the following features for the JSF standard tag libraries using the meta-data frameworks developed in this release:


Related concepts

JSF Application Configuration

Related reference

Tag Library Support
JSF Core Library
JSF HTML Library

Related tasks
Create JSF JSP Page