NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JSF2 Support

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
bdub



Joined: 06 Dec 2009
Posts: 1

PostPosted: Sun Dec 06, 2009 12:29 am    Post subject: JSF2 Support Reply with 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
troy giunipero
Posted via mailing list.





PostPosted: Mon Dec 07, 2009 2:17 pm    Post subject: Re: JSF2 Support Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
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