0

Primefacesのショーケースの例 http://www.primefaces.org/showcase/ui/layoutElement.jsfを使用しまし たが、何も表示されません。

私のページは:

<h:head>
<title>Title</title>
</h:head>
<h:body>
<p:layout style="min-width:400px;min-height:200px;" id="layout">
    <p:layoutUnit position="west" resizable="true" size="100" minSize="40"
        maxSize="200">  
    Left  
</p:layoutUnit>

    <p:layoutUnit position="center">  
    Center  
</p:layoutUnit>
</p:layout>
</h:body>
</html>
4

1 に答える 1

1

奇妙な、それは私のために完全に機能しています。タグとDoctypeに適切な名前空間を使用していますか?お気に入り

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.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"
        xmlns:c="http://java.sun.com/jsp/jstl/core">
于 2012-08-25T16:27:12.553 に答える