0
我試圖在面板網格組件中創建佈局,但不知何故它不起作用。有人有任何想法,問題是什麼,並有任何建議如何做得更好?面板網格組件中的PrimeFaces(JSF)佈局
這裏我的源代碼:
<p:tab id="tab3" title="One of a few tabs">
<h:panelGrid>
<p:layout>
<p:layoutUnit position="center">
<h:outputText value="Some other components" />
</p:layoutUnit>
<p:layoutUnit position="north">
<h:outputText value="Some other components" />
</p:layoutUnit>
<p:layoutUnit position="west">
<h:outputText value="Some other components" />
</p:layoutUnit>
<p:layoutUnit position="east">
<h:outputText value="Some other components" />
</p:layoutUnit>
</p:layout>
</h:panelGrid>
感謝您的幫助!