String.jsp Sample
This topic inludes the source code for the String.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/string.jsp
10 </title>
11 <netui:base/>
12 </head>
13
14 <body>
15 <jsp:include page="/resources/jsp/header.jsp"/>
16 <p><b>A single String rendered by the <netui-data:repeater> tag</b>
17 <p><netui-data:repeater dataSource="{pageFlow.strName}">
18 <netui:label value="{container.item}" />
19 </netui-data:repeater>
20 <p><a href="index.jsp">Back to Repeater Samples Home</a>
21 </body>
22 </html>
|