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

What's new


This section contains descriptions of the following significant changes made to the JavaServer Faces Tooling for Release WTP 3.1:


This section contains descriptions of the following significant changes made to the JavaServer Faces Tooling for Release WTP 3.0:

Support for alternate view description language for JSF

    See here for information on Alternative View Handler support

    Tag Registry View

    The Tag Registry View allows a JSF user to browse the JSF tags declared in each project including information about what components, converters and validators they create at runtime.

    Picture of resolver extension in plugin.xml editor

    Component Tree View

    The Component Tree View allows a user to browse a design-time approximation of what a view (i.e. a JSP page or Facelet XHTML) will look like at runtime. This component tree will also be used by an increasing number of component-based features in the future.

    Picture of resolver extension in plugin.xml editor

Hyperlink support in WPE's Source tab

    The Source tab of the Web Page Editor (WPE) supports Hyperlink on a 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


Hover Help support in WPE's Source tab

    The Source tab of the Web Page Editor (WPE) provides Hover Help on all symbols defined in the Expression Language(EL) of a tag-attribute including references to Managed Beans and Resource Bundles.

    Hover Help


Enhancements to Web Page Editor (WPE) Property Pages

    The tabbed property pages in the Web Page Editor (WPE) have been enhanced. This change is important for adopters of the project. See Enhancements to WPE Property Pages for details.

Support for Apache MyFaces Trinidad

    Apache MyFaces Trinidad tags are now supported in the Web Page Editor, in source editors, and in the Properties view.

    Trinidad tags in the Web Page Editor

    Code-assist for Trinidad tags in source editors

    Advanced property sections for Trinidad tags

Improvements to EL content assist and hover help

    Thanks to Matthias Fuessel for providing improvements to our EL support:
    Improved icons and additional info in content assist
    Improved info in content assist

New EL framework enhancements

    Thanks to Xiaonan Jiang at IBM for driving new framework requirements and providing prototypes.

    Decorative Variable and Property Resolvers

    To better support the decorative nature of JSF variable and property resolvers, we have added the ability to register decorative design time resolvers to the default application manager. Decorative resolvers are called only if the runtime resolver that they are associated with is found in the configuration of the current web project. For more information see: here

    Picture of resolver extension in plugin.xml editor

    Enhancements to symbol creation API

    We have refactored several internal symbol creation methods and combined them with contributions by Matthias Fuessel and Xiaonan Jiang (IBM), to create a new set of extension points to simplify creation of common JSF symbols. See here for more details.

    We have also made the symbol creation methods available on a new factory called JSFSymbolFactory.


New EL validation preferences

    New validation preferences for EL validation problems allow you to change the severity of type assignment problems between Error, Warning and Ignore.

    Shows new preference options in the JSF->Validation properties page


This section contains descriptions of the following significant changes made to the JavaServer Faces Tooling for Release 1.0:

Support for JSF 1.2

    JSF Tools supports JavaServer Faces 1.1 and 1.2 versions.

    Support for JSF 1.1 and 1.2


Web Page Editor

    An enhanced Web Page Editor is now available. Building on the existing JSP editing support, it provides simultaneous synchronized visual and source editing of a Faces JSP in a split pane arrangment, a flyout/detachable palette, enhanced property sheets, a Preview page, and more.

    Web Page Editor sample screenshot

    The layout of the panes, as well as whether to show both, is configurable.

    Web Page Editor sample screenshot

    More planned features and ideas can be found at the editor's wiki page .

Faces Config Editor

    The Faces Configuration Editor is a comprehensive multi-page editor to edit the Faces configuration resource file. It includes a graphical editor to visually define the navigational rules.

    Faces Config Editor sample screenshot

Improved HTML DataTable tag variable support

    EL variables declared using the var attribute on the h:dataTable tag are now recognized by the JSF EL framework. The amount of additional support varies depending on the "value" attribute used to back the variable, the most complete being offered for scalar or array objects with generic Lists.

    content assist popup

JSF Libraries are now regular Classpath Containers

    JSF Libraries make use of the easier publishing of dependencies feature introduced in this release. References to JSF Libraries in a project are made using the standard Java Build Path property page and set to be published/exported using the J2EE Module Dependencies property page, and will appear as JDT Libraries in the Project and Package Explorer views. An upgrade of the JSF Library Registry will automatically occur when an older workspace is opened. The actual references, however, will require a manual upgrade. Information on this can be found at https://wiki.eclipse.org/index.php/JSF_Library_Migration . JSF Library references are still being created at JSF Facet installation time, but if you need to add, modify, or remove references after project creation, you will now be using the standard Java Build Path and J2EE Module Dependencies property pages.

    Creating a JSF Library Reference - JSF Libraries as Classpath Containers

    Fig 1. Add Library from Java Build Path

    Add Library from Java Build Path

    Fig. 2 Choose JSF Libraries

    Choose JSF Libraries

    Fig. 3 Select One or More Libraries

    Select One or More Libraries

    Fig. 4 JSF Libraries Added as Classpath Containers to Java Build Path

    JSF Libraries Added as Classpath Containers to Java Build Path

    Fig. 5 Select JSF Libraries for Publish and Export

    Select JSF Libraries for Publish and Export

Custom JSF Servlet Classname

    The JSF servlet classname can now be specified during JSF Facet installation.

    Fig. 6 JSF Servlet Classname in JSF Facet Installation Wizard

EL Validation Severity Configuration

    The severity of problems found during EL validation can now be changed by preferences. We have adapted the UI used by JDT to perform similar severity changes on Java problems.

    Fig. 7 JSF EL Validation Preference Page


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