Index.jsp Sample

This topic inludes the source code for the Index.jsp Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui_databinding/cellRepeater/

Sample Source Code


01 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
03 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
04 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
05 <netui:html>
06     <head>
07         <title>
08             index.jsp
09         </title>
10         <link href="../../../resources/css/style.css" type="text/css" rel="stylesheet"/>
11     </head>
12     <body>
13         <jsp:include page="/resources/jsp/header.jsp"/> 
14         <h3>CellRepeater Tag Sample</h3>
15         <blockquote>
16         <h4>Menu Items</h4>
17             <netui-data:cellRepeater dataSource="{session.menu}" columns="3" cellClass="cell">
18                 <netui:label value="{container.item}"/>
19             </netui-data:cellRepeater>
20         </blockquote>
21         <hr>
22         <netui:anchor href="/WebApp/tagSamples/tagSamplesController.jpf">Return to Tag Samples</netui:anchor>
23     </body>
24 </netui:html>