Re: Problem with PrettyFaces and Primefaces

Splash Forums PrettyFaces Users Problem with PrettyFaces and Primefaces Re: Problem with PrettyFaces and Primefaces

#20254

kency
Participant

My HTML Source Code

index.xhtml

==============================

<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>mcGraw Library - The Library Online</title>
<p:resources />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="img/icon.ico" />
<link type="text/css" rel="stylesheet" href="../admin/template/ui-darkness/skin.css" />
<script type="text/javascript" src="js/iepngfix_tilebg.js"></script>
<script type="text/javascript" src="js/iepngfix.js"></script>

</h:head>
<h:body>
<p>
<table id="tableBorder" align="center" >
<tr>
<td>
<div id="mainWrap" >
<div id="mainPanel" >
<br/> <br/>
<ui:include src="/com/header/header.xhtml" id="header"/>

<br/> <br/> <br/> <br/> <br/> <br/><br/> <br/><br/>
<div id="leftPanel">
<ui:include src="demo.xhtml" id="demo"/>

</div>
<div id="rightPanel">
<div class="contacts">
<h2>Login</h2>
<p>Username:</p> <h:inputText value="- enter your username -" onfocus="if(this.value=='- enter your name -'){this.value=''}" onblur="if(this.value=='')this.value='- enter your name -'" style="float: right;width: 190px"/>
<p>Password:</p> <input name="name" type="text" value="- enter your email -" onfocus="if(this.value=='- enter your email -')this.value=''" onblur="if(this.value=='')this.value='- enter your email -'" style="float: right;width: 190px;"/>
<div class="blank2"></div><div class="blank"></div><div class="blank"></div><div class="blank"></div><div class="blank"></div><a href="#" style="float: right">Submit</a>
</div>

</div>
<ui:include src="/com/footer/footer.xhtml" id="footer"/>
</div>
</div>

</td>
</tr>
</table>
</p>
</h:body>
</html>

========================