bonjour, j'ai mis en place une template à l'aide du plugin tiles, mais un petit problème dans la structuration :
-----------------------------
-----------------------------
menu |contenu
|
|
------------------------------
la partie contenu sort du tableau global, vous pouvez m'aider ?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| <%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<html>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<head>
<title>
<tiles:getAsString name="title"/>
</title>
<link rel="stylesheet" type="text/css" href="./styles/login.css" title="default" media="screen" />
</head>
<body>
<table id="Tableau_01" cellpadding="0" cellspacing="0" width="100%">
<tr><td>
<tiles:insert attribute="header"/>
</td>
</tr>
<tr><td>
<table id="corp">
<tr>
<td id="tdMenu"><div id="contact"><a href="#">Contact menu</a></div></td>
<td id="tdContenu"><tiles:insert attribute="body"/></td>
</tr>
</table>
</td></tr>
</table>
</body>
</html> |
header.jsp :
<table id="entete" cellpadding="0" cellspacing="0"><tr><td> </td></tr></table>
Partager