NetBeans 73 JSF22

Revision as of 09:32, 15 June 2012 by Marfous (Talk | contribs)

List of JavaServer Faces 2.2 features vs. NetBeans IDE support


Contents


Introduction

Since JavaServer Faces specification in version 2.2 should be completed during NetBeans 7.3 development phase including its support from the GlassFish application server, we should be able to implement support for features of this JSF release.

In following section should be mentioned all known JSF features which should "IDE support-able" and suggestions for them - like difficultness and feature suggestions.

Be aware that the JSF 2.2 specification is still changing and many of described features could work differently or some of features could be added/removed in addition.

Useful links

JSF 2.2 features

The viewAction Component

Description/Example:

<f:metadata>    
    <f:viewAction action="#{someBean.someAction}" />
</f:metadata>

Base Support: none - will be updated automatically with the JSF taglib definition (AUTO & NEEDED)
More information: http://www.oracle.com/technetwork/articles/java/jsf22-1377252.html

Faces Flow

Description/Example: In web applications, and in applications in general actually, there is often the concept of a “flow” that takes the user through a series of screens. Such flows includes wizards, multi-screen subscriptions, bookings, etc.

  • Base Support: @FlowScoped anntotaion, new tablib "xmlns:j="http://java.sun.com/jsf/flow"" should be working by deafult???, as well as new j:<coponents>???
  • Suggestion #1: EL should have new implicit variable in CC: facesFlowScope (EASY & NEEDED)
  • Suggestion #2: Wizard - Create new FacesFlow: It would help to create skeleton for new faces-flow: create FF folder (by convention), ask for steps pages, not sure how much would be possible to define whole faces-flow-definition, see http://jdevelopment.nl/jsf-22/#730 (COMPLEX & NICE_TO_HAVE)
  • Suggestion #3: Hint - CDI not enabled (at @FlowScoped or j:<component>) when the CDI is not enabled since JSF 2.2 is dependend on CDI here (MODERATE & NICE_TO_HAVE)
  • Suggestion #4: EL Faces-Flow CC - i.e. #{facesFlowScope.someKey} someKey variable could be available accross rest pages of the same scope - of the same folder??? (UNKNOWN & NICE_TO_HAVE)

More information: http://javaserverfaces-spec-public.java.net/nonav/proposals/JAVASERVERFACES_SPEC_PUBLIC-730/proposal.txt

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo