Submit.jsp Sample

This topic inludes the source code for the Submit.jsp Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/handlingData/databinding/pageFlow/

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             submit.jsp
09         </title>
10         <link href="/WebApp/resources/css/style.css" type="text/css" rel="stylesheet"/>
11     </head>
12     <body>
13         <jsp:include page="/resources/jsp/header.jsp"/> 
14         <h3>Databinding Samples: {pageFlow...Context</h3>
15         <p>This sample uses the {pageFlow...data binding context to submit the form data
16         below. 
17         <blockquote>
18 
19         <netui:form action="submit">
20             Name: <netui:textBox dataSource="{pageFlow.formInstance.name}" /><br>
21             <netui:button value="Submit" />
22         </netui:form>
23 
24         </blockquote>
25         <hr>
26         <p><netui:anchor href="/WebApp/handlingData/databinding/databindingController.jpf">
27         Back to Databinding Samples</netui:anchor>
28     </body>
29 </netui:html>