netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Grin (JIRA)" <>
Subject [jira] [Created] (NETBEANS-2935) Code generated for a JSF template is not good
Date Thu, 01 Aug 2019 15:27:00 GMT
Richard Grin created NETBEANS-2935:

             Summary:  Code generated for a JSF template is not good
                 Key: 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:
        <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>
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

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

View raw message