Skóra CSS PrimeFaces nie jest wyświetlana na stronie logowania, a także niezdefiniowane błędy JavaScript

Używam PrimeFaces 3.4 w mojej aplikacji internetowej, a dla konkretnej strony kontrolki nie są wyświetlane w normalnej skórze PrimeFaces:

<!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:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui">
<h:head>
    <title>VMS login</title>
</h:head> 
<h:body> 
  <h:form id="loginForm">
    <p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />  
    <p:panel header="#{msgs['login.title']}">
      <p:panelGrid id="loginPanel" columns="2">
        <h:outputText value="#{msgs['login.username']}" />
        <p:inputText id="j_username" value="#{loginFormBean.userName}" required="true"></p:inputText>
        <p:message for="j_username" ></p:message>
        <h:outputText value="#{msgs['login.password']}" />
        <p:password id="j_password" value="#{loginFormBean.password}" required="true" feedback="false"></p:password>
        <p:message for="j_password"></p:message>
        <p:commandButton action="#{loginController.loginUsingSpringAuthenticationManager}" value="#{msgs['login.button']}" update="loginForm" ajax="true"></p:commandButton>
      </p:panelGrid>
    </p:panel>
  </h:form>
</h:body>
</html>

Powoduje to:

Panel powinien mieć nagłówek i tak dalej.

Interesującą rzeczą jest to, że na innej stronie używam<p:layout> z różnymi panelami w układach, które wyświetlają dobrze z ich normalnym wyglądem i wyglądem PrimeFaces.

Co ja robię źle? Dziękuję Ci

questionAnswers(1)

yourAnswerToTheQuestion