PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/samples/scalate-example/src/main/webapp/tableJsp.jsp

http://github.com/scalate/scalate
JavaServer Pages | 27 lines | 23 code | 3 blank | 1 comment | 0 complexity | 95be5d7aca53277df85112916c91d0c0 MD5 | raw file
 1<%
 2  // TODO lots of Java code here to make the people collection :)
 3%>
 4
 5<h1>Table Example</h1>
 6
 7<div class="main">
 8  <table>
 9    <tr>
10      <th>Name</th>
11      <th>Location</th>
12    </tr>
13    <form:forEachMapEntry items="${people}" var="person">
14    	<tr>
15    		<td>${person.key}</td>
16    		<td>${person.value}</td>
17    	</tr>
18    	<tr>
19    </form:forEachMapEntry>
20  </table> 
21
22<div class="description">
23  <p>
24    This is lots and lots of text.
25    <b>Scalate</b> really is rather awesome!
26  </p>      
27</div>