I am in beginner stage.
I have a doubt like,is it possible to use h:head
in a page which is included in another page that also contains h:head
?
I already tried but updating is not working fine, that's why I got this confusion.
Sample code:
page1.xhtml
<h:head>
......
</h:head>
<h:body>
<p:panel>
.....
</p:panel>
</h:body>
page2.xhtml
<h:head>
.....
</h:head>
<h:body>
<p:panel>
<ui:include src="page1.xhtml"/>
</p:panel>
</h:body>
If it is not possible means what error will become?