NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
bdub
Joined: 06 Dec 2009 Posts: 1
|
Posted: Sun Dec 06, 2009 12:29 am Post subject: JSF2 Support |
|
|
I recently downloaded NetBeans 6.8 RC1. My goal is to play with the new JSF2 features. I have created a sample JSF2 project with Facelets support targeting Glassfish v3. When editing the index.xhtml file I noticed that two of the new JSF2 html tags (outputStylesheet and outputScript) are not recognized in the editor/auto-complete.
The index.html looks as follows:
| Code: | <?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
Hello from Facelets
<h:outputStylesheet library="css" name="styles.css" target="body"/>
<h:outputScript library="javascript" name="util.js" target="body"/>
</h:body>
</html>
|
Does anybody know why this is? |
|
| Back to top |
|
 |
troy giunipero Posted via mailing list.
|
Posted: Mon Dec 07, 2009 2:17 pm Post subject: Re: JSF2 Support |
|
|
May be related to one of the following issues, which have just been fixed.
http://netbeans.org/bugzilla/show_bug.cgi?id=177990
http://netbeans.org/bugzilla/show_bug.cgi?id=177176
troy
bdub wrote:
| Quote: | I recently downloaded NetBeans 6.8 RC1. My goal is to play with the new JSF2 features. I have created a sample JSF2 project with Facelets support targeting Glassfish v3. When editing the index.xhtml file I noticed that two of the new JSF2 html tags (outputStylesheet and outputScript) are not recognized in the editor/auto-complete.
The index.html looks as follows:
Code:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
Hello from Facelets
<h:outputStylesheet library="css" name="styles.css" target="body"/>
<h:outputScript library="javascript" name="util.js" target="body"/>
</h:body>
</html>
Does anybody know why this is?
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|