Show.jsp Sample

This topic inludes the source code for the Show.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/select/

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             show.jsp
09         </title>
10     </head>
11     <body>
12         <jsp:include page="/resources/jsp/header.jsp"/>
13         
14         <p><b>You selected:</b>
15         <p>
16         <netui-data:repeater dataSource="{request.submittedData}">
17             <netui-data:repeaterHeader><ol></netui-data:repeaterHeader>
18             <netui-data:repeaterItem>
19                 <li>
20                     <netui:label value="{container.item}" defaultValue="&nbsp;"></netui:label>
21                 </li>
22             </netui-data:repeaterItem>
23             <netui-data:repeaterFooter></ol></netui-data:repeaterFooter>
24         </netui-data:repeater> 
25         </p>
26         <p><netui:anchor action="begin">Select again</netui:anchor>
27     </body>
28 </netui:html>