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/checkBoxGroup/
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 <p><b>You selected:</b>
14 <!--
15 Renders a String[] as an HTML ordered list.
16 -->
17 <netui-data:repeater dataSource="{request.selections}">
18 <netui-data:repeaterHeader><ol></netui-data:repeaterHeader>
19 <netui-data:repeaterItem>
20 <li>
21 <netui:label value="{container.item}" defaultValue=" "></netui:label>
22 </li>
23 </netui-data:repeaterItem>
24 <netui-data:repeaterFooter></ol></netui-data:repeaterFooter>
25 </netui-data:repeater>
26 <p><netui:anchor action="backToIndex">Select again</netui:anchor>
27 </body>
28 </netui:html>
|