I've tried my code on the page I needed it. And then I tried on a simple facelets page. Even the code snippet on the website didn't work:
Code: Select all
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
<link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
<title>Facelets Template</title>
</h:head>
<h:body>
<p:lightBox iframe="true" width="80%" height="80%">
<h:outputLink value="http://www.primefaces.org" title="PrimeFaces HomePage">
<h:outputText value="PrimeFaces HomePage"/>
</h:outputLink>
</p:lightBox>
</h:body>
</html>
If anyone has any ideas on why this slideshow mode comes up, I would be very thankful. Also, is there a way of forcing it not to show up?
I've tried different doctypes too with same results.
Thanks.