File: centerLayout.jsp

package info (click to toggle)
libstruts1.2-java 1.2.9-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 47,508 kB
  • ctags: 29,430
  • sloc: xml: 90,344; java: 71,078; jsp: 31,692; makefile: 10; sh: 2
file content (34 lines) | stat: -rw-r--r-- 929 bytes parent folder | download | duplicates (7)
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
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<%-- Centered Layout Tiles 
  This layout render a header, left tile, right tile, body and footer.
  It doesn't create <html> and <body> tag.
  @param header Header tile (jsp url or definition name)
  @param right Right center tile (optional)
  @param body Body or center tile
  @param left Left center tile (optional)
  @param footer Footer tile
--%>

<table border="0" width="100%" cellspacing="5">
<tr>
  <td colspan="3"><tiles:insert attribute="header" /></td>
</tr>
<tr>
  <td width="140" valign="top">
    <tiles:insert attribute=right ignore='true'/>
  </td>
  <td valign="top"  align="left">
    <tiles:insert attribute='body' />
  </td>
  <td valign="top"  align="left">
    <tiles:insert attribute='left' ignore='true'/>
  </td>
</tr>
<tr>
  <td colspan="3">
    <tiles:insert attribute="footer" />
  </td>
</tr>
</table>