netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Grin (JIRA)" <j...@apache.org>
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
                 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


Mime
View raw message