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/repeater/

Sample Source Code


01 <!--Generated by Weblogic Workshop-->
02 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
03 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
04 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
05 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
06 <html>
07     <head>
08         <title>
09             repeaterTag/index.jsp
10         </title>
11     <netui:base/>        
12     </head>
13     <body>
14         <jsp:include page="/resources/jsp/header.jsp"/>
15         <h3>Repater Tag Sample</h3>
16         <blockquote>
17         <p>This sample demonstrates the variety of data types that can be rendered by the 
18         &lt;netui-data:repeater> tag.
19         
20         <p>The following data types (among othersare supported by the &lt;netui-data:repeater> tag:
21         
22         <ul>
23             <li><a href="string.jsp">A String</a></li>
24             <li><a href="stringArray.jsp">An array of Strings</a></li>
25             <li><a href="arrayList.jsp">An ArrayList</a></li>
26             <li><a href="vector.jsp">A Vector</a></li>
27             <li><a href="rowSet.jsp">A RowSet</a> (<b>Note:</b> RowSets are also supported by the &lt;netui-data:grid> tag.)</li>
28             <li><a href="complexJavaObj.jsp">A Complex Java Object</a></li>
29             <li><a href="XMLString.jsp">An XMLString</a></li>
30             <li><a href="XMLBean.jsp">An XMLBean</a></li>
31             <li><a href="nested.jsp">Nested &lt;netui-data:repeater> tags render a multidimensional array</a></li>
32         </ul> 
33         </blockquote>
34         <hr>
35         <netui:anchor href="/WebApp/tagSamples/tagSamplesController.jpf">Return to Tag Samples</netui:anchor>
36     </body>
37 </html>