Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JavaServer Faces Tooling User Guide
Previous Page Home Next Page

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.

    Examples of non-Expression Language (EL) support
  • String enumerations:

    String Enumerations
  • Faces Configuration Elements:

    Faces Config Elements
    Examples of Expression Language (EL) support
  • Value Bound Attributes:

    Value Bound Attributes
  • Method Bound Attributes:

    Method Bound Attributes

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:

  • Quick Fix/Quick Assist - provide context sensitive proposals for creating appropriate Java Classes and Faces Configuration elements
  • Others? - please enter enhancement requests for your ideas using Bugzilla

Related concepts

JSF Application Configuration

Related reference

Tag Library Support
JSF Core Library
JSF HTML Library

Related tasks
Create JSF JSP Page


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire