I'm using the theme "Poseidon" and I'm putting the following code in the file "template.xhtml"
Code: Select all
.....
<h:body styleClass="main-body">
<div class="layout-wrapper #{guestPreferences.menuLayout}">
<ui:include src="./topbar.xhtml" />
<ui:include src="./menu.xhtml" />
<div class="layout-main">
<p:growl id="growl" showDetail="true" showSummary="true" sticky="false" autoUpdate="true" />
....
</h:body>
I already put inside a <h: form> tag but it did not solve! I need <p: grow /> to be in my entire layout!The button/link/text component needs to have a Form in its ancestry. Please add <h:form>.