You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pablo Fernández Peña (Jira)" <ji...@apache.org> on 2019/10/19 20:17:00 UTC

[jira] [Comment Edited] (NETBEANS-84) Support for JSF 2.3

    [ https://issues.apache.org/jira/browse/NETBEANS-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943763#comment-16943763 ] 

Pablo Fernández Peña edited comment on NETBEANS-84 at 10/19/19 8:16 PM:
------------------------------------------------------------------------

Hi [~Juneau001], it also affects the Facelet Taglib if you declare it as:

<facelet-taglib
    xmlns="http://xmlns.jcp.org/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee [http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_*2_3*.xsd]"
    version=*"2.3"*>

, it shows custom defined tags as not recognized. If you put the version to 2_2/2.2 errors are gone. I have tested it with NetBeans 11.1.

Similiar, is a reported issue at OmniFaces [https://github.com/omnifaces/omnifaces/issues/489] the reporter added this image to show the problem, but it is NetBeans not recognizing version 2.3, not an OmniFaces issue.

!https://user-images.githubusercontent.com/9353297/47298773-eab3a100-d618-11e8-849e-627e6507ee97.png|width=999,height=608!

Regards, Pablo.


was (Author: pablopfp):
Hi [~Juneau001], it also affects the Facelet Taglib if you declare it as:

<facelet-taglib
   xmlns="http://xmlns.jcp.org/xml/ns/javaee"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_*2_3*.xsd"
   version=*"2.3"*>

, it shows custom defined tags as not recognized. If you put the version to 2_2/2.2 errors are gone. I have tested it with NetBeans 11.1.

Similiar, is a reported issue at Omnifaces [https://github.com/omnifaces/omnifaces/issues/489] the reporter added this image to show the problem, but it is NetBeans not recognizing version 2.3, not an Omnifaces issue.

!https://user-images.githubusercontent.com/9353297/47298773-eab3a100-d618-11e8-849e-627e6507ee97.png!

Regards, Pablo.

> Support for JSF 2.3
> -------------------
>
>                 Key: NETBEANS-84
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-84
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: javaee - JSF
>    Affects Versions: 8.2, 9.0, Next
>            Reporter: Philip Durbin
>            Assignee: Josh Juneau
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 11.3
>
>         Attachments: netbeans-red-jsf2.3.png
>
>          Time Spent: 768h 50m
>  Remaining Estimate: 0h
>
> One thing that struck me while attending Ed Burns' JSF talk[1] about JSF 2.3 at JavaOne 2017 was a comment he made that autocompletion isn't working in Netbeans for JSF 2.3 features. I would describe this as NetBeans 8.2 showing "angry red" for components it doesn't understand, such as f:validateWholeBean.
> As in the attached screenshot, an example error is "The component library Jsf Core does not contain component validateWholeBean".
> Here's the code from the screenshot: https://github.com/javaee/glassfish-samples/blob/4b3a37500a256bb7d94e2abe273503c9fb017c6b/ws/javaee8/jsf/ee8additions/src/main/webapp/validateWholeBean.xhtml
> In the past, NetBeans releases were coordinated with Java EE releases. When Java EE 8 came out, I expected that NetBeans 9 would come out and support JSF 2.3. When we onboard new developers, I would rather not say to them, "It's ok to see angry red like this in NetBeans."
> Incidentally, during Ed's talk I asked if he knew if JSF 2.3 is supported by IntelliJ or Eclipse and he wasn't aware if they support it or not.
> !netbeans-red-jsf2.3.png|thumbnail!
> !https://issues.apache.org/jira/secure/attachment/12891266/netbeans-red-jsf2.3.png|height=300,width=444!
> [1] Contemporary Java Web Applications with JSF 2.3 - https://www.youtube.com/watch?v=yshXLB_HdhU



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists