You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Richard Grin (JIRA)" <ji...@apache.org> on 2019/08/01 15:27:00 UTC
[jira] [Created] (NETBEANS-2935) Code generated for a JSF template
is not good
Richard Grin created NETBEANS-2935:
--------------------------------------
Summary: Code generated for a JSF template is not good
Key: NETBEANS-2935
URL: https://issues.apache.org/jira/browse/NETBEANS-2935
Project: NetBeans
Issue Type: Bug
Affects Versions: 10.0, 8.2, 11.1
Environment: Windows 10, Web application
Reporter: Richard Grin
The code generated for the template:
{noformat}
<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>Gestion des comptes</title>
</h:head>
{noformat}
The CSS is not found when the template is not at the root of the web pages (for example if it is under WEB-INF, which is common) because of the "./" at the beginning.
It should work if, for example, name="./css/default.css" is replaced by name="css/default.css" or name="/css/default.css"
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
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