PrimeFaces Team,
Please let me know why p:layout is not renderred in jsf facelets and if i removed facelets its working fine but i need to work with facelets.
Please check a below code...
<?xml version='1.0' encoding='UTF-8' ?>
<!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:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://xmlns.jcp.org/jsf/html">
<ui:composition template="/LuxusHomeTemplate.xhtml">
<ui:define name="content">
<p:layout>
<p:layoutUnit position="west" resizable="true" size="100" minSize="40" maxSize="200"
closable="true" collapsible="true">
<h:outputText value="Top unit content." />
</p:layoutUnit>
<p:layoutUnit position="center">
<h:form>
<h1>Center</h1>
</h:form>
</p:layoutUnit>
</p:layout>
</ui:define>
</ui:composition>
</html>
P:layout is not rendered in jsf facelets
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests