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.
Created attachment 164552 [details] Screenshot of the template file generated by NetBeans R-click the web project (either under Maven or not) name > new > other > Categories = JavaServer Faces, File Types = Facelets Template > next > enter File Name, select the CSS radio button on Layout Style > Finish. The css file path in the generated template file (shown below and the screenshot) is: name="./css/default.css". It should be: name="css/default.css" instead. ------ Template.xhtml ----- <?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:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html"> <h:head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <h:outputStylesheet name="./css/default.css"/> <h:outputStylesheet name="./css/cssLayout.css"/> <title>Facelets Template</title> </h:head> <h:body> ... </h:body> </html>