Code: Select all
<body>
<p:layout fullPage="true">
<p:dialog header="Help" widgetVar="help" zindex="100">
<h:outputText value="THIS IS A TEST FOR HELP DIALOG" />
</p:dialog>
<p:layoutUnit position="top" >
<h:panelGroup>
<h:form>
<div id="userbar">
<a href="#" onclick="help.show();">Show</a>
</div>
</h:form>
</h:panelGroup>
</p:layoutUnit>
<p:layoutUnit position="bottom">
....
</p:layoutUnit>
<ui:include src"./body.xhtml" />
</p:layout>
</body>