ShowProfile.jsp Sample
This topic inludes the source code for the ShowProfile.jsp Sample.
Sample Location
This sample is located in the following directory in your WebLogic Workshop installation:
BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/navigation/nesting/nestingPageFlow/
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 showProfile.jsp
09 </title>
10 </head>
11 <body>
12 <jsp:include page="/resources/jsp/header.jsp"/> <br/>
13 <h3>The Data You Submitted</h3>
14 <p>You are back at the <i>nesting</i> Page Flow.
15 <p>You submitted the following profile data.
16 <blockquote>
17 <p><b>First Name:</b><netui:label value="{request.profile.firstName}"/>
18 <p><b>Last Name:</b><netui:label value="{request.profile.lastName}"/>
19 <p><b>Age:</b><netui:label value="{request.profile.age}"/>
20 </blockquote>
21
22 <hr>
23 <p><netui:anchor action="begin">Fill out another User Profile</netui:anchor>
24 <p><netui:anchor href="/WebApp/navigation/navigationController.jpf">Back to the Navigation Samples Home</netui:anchor>
25 </body>
26 </netui:html>
|