This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224519 - [NetBeansJavaEE7] No library found for xmlns:jsf="http://java.sun.com/jsf"
Summary: [NetBeansJavaEE7] No library found for xmlns:jsf="http://java.sun.com/jsf"
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-05 11:56 UTC by muellermi
Modified: 2013-08-05 05:27 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2013-01-05 11:56:04 UTC
Product Version = NetBeans IDE Dev (Build web-main-javaee7-23-on-20121229)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_10
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04


For a JSF page, even thought JSF 2.2 library is persent, NetBeans reports  
No library found for xmlns:jsf="http://java.sun.com/jsf"
Comment 1 Marek Fukala 2013-01-08 14:03:15 UTC
Is there really a standart library associated with the  xmlns:jsf="http://java.sun.com/jsf namespace? Can you please point me to some reference? Thank you
Comment 2 muellermi 2013-01-08 14:52:55 UTC
This library new and it is part of the upcoming Java EE 7, JSR-344 (JSF)

Here an excerpt of the spec:

Pass Through Elements
Standard Syntax:
     <%@ taglib prefix="jsf" uri="http://java.sun.com/jsf" %>

XML Syntax:
     <anyxmlelement xmlns:jsf="http://java.sun.com/jsf" />

The presence of an
attribute from this namespace on an otherwise non-JSF aware
markup element indicates that the markup element must be treated
as a JSF component that will be rendered equivalently to what is
specified directly in the Facelet page, with the added benefit
of being associated with a server side UIComponent
instance.
 

Usage example

 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:jsf="http://java.sun.com/jsf"
   <h:form>
     <progress jsf:id="progress" max="3" value="#{bean.progress}" />
   </h:form>
 </html> 

[...]
Comment 3 muellermi 2013-01-08 14:56:27 UTC
I suppose web-main.javaee7 is developed using GlassFish4, which is not bundled to this version yet :(  ?
GlassFish4 or a JSF 2.2 snapshot is needed for this library.
Comment 4 Marek Fukala 2013-01-08 16:19:29 UTC
Thank you. JEE7 support is planned for the next release, so this will be addressed as well.
Comment 5 Martin Fousek 2013-08-05 05:27:07 UTC
Thanks for reporting. This was fixed by supporting JavaEE7 and the JSF2.2.