1
我正在使用primefaces和Google應用引擎。我張貼此代碼,因爲佈局不起作用。 最初我嘗試使用模板facelets(組合,包括,插入,設置),都沒有工作。我熟悉facelets和jsf在另一個環境中與他們一起工作。 所以我決定嘗試佈局和layouunit,但沒有。Google應用引擎和primefaces佈局/ layoutunit不起作用
謝謝。
<!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">
<f:view contentType="text/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Inicio</title>
</head>
<h:body>
<p:layout fullPage="true">
<p:layoutUnit position="top" height="75" header="Top">
<h:outputText value="North unit content1aaaa." />
</p:layoutUnit>
<p:layoutUnit position="center">
<h:form>
This fullPage layout consists of five different layoutUnits which are
resizable and closable by default.
</h:form>
</p:layoutUnit>
<p:layoutUnit position="bottom" height="75" header="Bottom">
<h:outputText value="South unit content." />
</p:layoutUnit>
</p:layout>
</h:body>
</f:view>
</html>
非常感謝。它工作完美。但是我的代碼是基於GAE primeface用例的例子[link](http://primefaces-rocks.appspot.com/ui/layoutFull.jsf)。 – vcvmartins