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/

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:base />
06 <netui:html>
07     <head>
08         <title>
09             Web Application Samples: Tag Samples
10         </title>
11         <link href="../resources/css/style.css" type="text/css" rel="stylesheet"/>
12     </head>
13     <body>
14         <jsp:include page="../resources/jsp/header.jsp"/> 
15         <h3>Page Flow Samples: Tag Samples</h3>
16         <p>These samples show how to use individual &lt;netui...> tags.</p>
17         <blockquote>
18         <h4>&lt;netui:...> Tags</h4>
19         <p><netui:anchor action="toAnchor">&lt;netui:anchor> Tag</netui:anchor>
20         <p><netui:anchor action="toBindingUpdateErrors">&lt;netui:bindingUpdateErrors> Tag</netui:anchor>
21         <p><netui:anchor action="toButton">&lt;netui:button> Tag</netui:anchor>
22         <p><netui:anchor action="toCheckBox">&lt;netui:checkBox> Tag</netui:anchor>
23         <p><netui:anchor action="toCheckBoxOption">&lt;netui:checkBoxOption> Tag</netui:anchor>
24         <p><netui:anchor action="toContent">&lt;netui:content> Tag</netui:anchor>
25         <p><netui:anchor action="toExceptions">&lt;netui:exceptions> Tag</netui:anchor>
26         <p><netui:anchor action="toForm">&lt;netui:form> tag</netui:anchor>
27         <p><netui:anchor action="toFormatTags">&lt;netui:formatDate>, 
28             &lt;netui:formatNumber>, 
29             and &lt;netui:formatString> Tags</netui:anchor>
30         <p><netui:anchor action="toImageAnchor">&lt;netui:imageAnchor> Tag</netui:anchor>
31         <p><netui:anchor action="toImageButton">&lt;netui:imageButton> Tag</netui:anchor>
32         <p><netui:anchor action="toLabel">&lt;netui:label> Tag</netui:anchor>
33         <p><netui:anchor action="toParameter">&lt;netui:parameter> Tag</netui:anchor>
34         <p><netui:anchor action="toParameterMap">&lt;netui:parameterMap> Tag</netui:anchor>
35         <p><netui:anchor action="toRadioButton">&lt;netui:radioButtonGroup> and &lt;netui:radioButtonOption> Tags</netui:anchor>
36         <p><netui:anchor action="toRewrite">&lt;netui:rewriteName> and &lt;netui:rewriteURL> Tags</netui:anchor>
37         <p><netui:anchor action="toSelect">&lt;netui:select> and &lt;netui:selectOptions> Tags</netui:anchor>
38         <p><netui:anchor action="toTextArea">&lt;netui:textArea> Tag</netui:anchor>
39         <p><netui:anchor action="toTextBox">&lt;netui:textBox> Tag</netui:anchor>
40         <p><netui:anchor action="toTree">&lt;netui:tree> Tag</netui:anchor>
41         <p><netui:anchor action="toDynamicTree">&lt;netui:tree> Tag: Dynamic Tree Sample</netui:anchor>
42         <hr>
43         <h4>&lt;netui-data:...> Tags</h4>
44         <p><netui:anchor action="toControl">&lt;netui-data:callControl> Tag</netui:anchor>
45         <p><netui:anchor action="toCallMethod">&lt;netui-data:callMethod> Tag</netui:anchor>
46         <p><netui:anchor action="toCallPageFlow">&lt;netui-data:callPageFlow> Tag</netui:anchor>
47         <p><netui:anchor action="toCellRepeater">&lt;netui-data:cellRepeater> Tag</netui:anchor>
48         <p><netui:anchor action="toChoice">&lt;netui-data:choice> Tag</netui:anchor>
49         <p><netui:anchor action="toDeclarePageInput">&lt;netui-data:declarePageInput> Tag</netui:anchor>
50         <p><netui:anchor action="toGetData">&lt;netui-data:getData> Tag</netui:anchor>
51         <p><netui:anchor action="toGrid">&lt;netui-data:grid> and related Tags</netui:anchor>
52         <p><netui:anchor action="toMessage">&lt;netui-data:message> Tag</netui:anchor>
53         <p><netui:anchor action="toPad">&lt;netui-data:pad> Tag</netui:anchor>
54         <p><netui:anchor action="toRepeater">&lt;netui-data:repeater> and related Tags</netui:anchor>
55         <hr>
56         <h4>&lt;netui-template:...> Tags</h4>
57         <p><netui:anchor action="toTemplate">&lt;netui-template:template> and related Tags</netui:anchor>
58         <hr>
59         <h4>Custom Tags</h4>
60         <p><netui:anchor action="toCustomTags">Custom Tags Sample</netui:anchor>
61         </blockquote>
62         <hr>
63         <p><netui:anchor action="toPageFlowSamples">Back to Page Flow Samples Home</netui:anchor>
64     </body>
65 </netui:html>