Ola pessoal, estou começando o estudo com Facelets e gostaria de saber se é possivel utilizar Frame para dividir o TOPO, rodapé e Conteudo ja procurei na net e não encontrei nenhum exemplo com frame só com div, alguem sabe a melhor forma de utilização, preciso usar frame pois o topo terá um menu onde só deverá ser carregado uma vez(e com DIV não consigo deixar o topo e rodapé fixo)Alguém teria algum exemplo?
Gostaria de transformar o template:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Facelets - Template Example</title>
<link href="./css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="topDIV">
<ui:include src="top.xhtml"/>
</div>
<div id="contDIV">
<ui:insert name="cont">This is Default cout </ui:insert>
</div>
<div id="bottomDIV">
<ui:include src="bottom.xhtml"/>
</div>
</body>
</html>
Em Frame:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Sistema</title>
</head>
<FRAMESET rows="110, *, 30" framespacing="0" border="0">
<FRAME noresize frameborder="0" scrolling="no" src="inc/topo.jsp">
<FRAME frameborder="0" NAME="conteudo" src="conteudo.jsp">
<FRAME noresize frameborder="0" scrolling="no" src="inc/rodape.jsp">
</FRAMESET>
<NOFRAMES>
<P>This frameset document contains:
<UL>
<LI><A href="contents_of_frame1.html">Some neat contents</A>
<LI><IMG src="contents_of_frame2.gif" alt="A neat image">
<LI><A href="contents_of_frame3.html">Some other neat contents</A>
</UL>
</NOFRAMES>
</html>
[/code]
Desde ja Agradeço…