NetBeans 73 JSF22

(Difference between revisions)
m (List of JavaServer Faces 2.2 features vs. NetBeans IDE support)
(List of JavaServer Faces 2.2 features vs. NetBeans IDE support)
Line 9: Line 9:
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.
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 need to have them supported.
+
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===
===Useful links===
Line 17: Line 19:
===JSF 2.2 features===
===JSF 2.2 features===
-
====The viewAction Component====
+
====<span style="color:green">The viewAction Component</span>====
'''Description/Example:'''
'''Description/Example:'''
<pre>
<pre>
Line 25: Line 27:
</pre>
</pre>
-
'''Difficultness:''' none - will be updated automatically with the JSF taglib definition <br>
+
'''Base Support:''' none - will be updated automatically with the JSF taglib definition ('''''AUTO & NEEDED''''')<br>
-
'''Need:''' N/A (it will be there) <br>
+
'''More information:''' [http://www.oracle.com/technetwork/articles/java/jsf22-1377252.html http://www.oracle.com/technetwork/articles/java/jsf22-1377252.html]
'''More information:''' [http://www.oracle.com/technetwork/articles/java/jsf22-1377252.html http://www.oracle.com/technetwork/articles/java/jsf22-1377252.html]
 +
 +
====<span style="color:green">Faces Flow</span>====
 +
'''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 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 http://javaserverfaces-spec-public.java.net/nonav/proposals/JAVASERVERFACES_SPEC_PUBLIC-730/proposal.txt]

Revision as of 09:32, 15 June 2012

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