Simple.jsp Sample
This topic inludes the source code for the Simple.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/callPageFlow/
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 prefix="netui" uri="netui-tags-html.tld"%>
04
05 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
06 <html>
07 <head>
08 <netui:base/>
09 <title>Demonstrate callPageFlow Tags</title>
10 <link href="../../../resources/css/style.css" type="text/css" rel="stylesheet"/>
11 </head>
12
13 <body style="margin:0">
14
15 <jsp:include page="/resources/jsp/header.jsp"/>
16
17 <blockquote>
18
19 <p><b>Simple Page Flow Calls</b><p/>
20
21 <netui-data:callPageFlow method="getDefaultText" resultId="jpfText"/>
22
23 <p>The following text was returned by a method call without parameters:
24
25 <font color="red"><netui:label value="{pageContext.jpfText}"/></font></p>
26
27 <netui-data:callPageFlow method="echo" resultId="jpfSaid">
28 <netui-data:methodParameter value="Hello World!"/>
29 </netui-data:callPageFlow>
30
31 <p>The following text was returned by a method call with a single parameter:
32
33 <font color="red"><netui:label value="{pageContext.jpfSaid}"/></font></p>
34
35 <hr size=1 align=left width=75%>
36
37 <p><b>Implementation note:</b> the source files for this feature
38 sample are in:</p>
39
40 <p><WEBLOGIC_HOME>\samples\workshop\SamplesApp\WebApp\callPageFlow</p>
41
42 <p> </p>
43
44 <p><netui:anchor action="begin">Return to Call Page Flow Sample Home</netui:anchor></p>
45
46 </blockquote>
47
48 </body>
49
50 </html>
|