ShowSelection.jsp Sample

This topic inludes the source code for the ShowSelection.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/dropdown/

Sample Source Code


01 <!--Generated by Weblogic Workshop-->
02 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
03 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
04 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
05 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
06 <html>
07     <head>
08         <title>
09             showSelection.jsp
10         </title>
11         <link href="/WebApp/resources/css/style.css" type="text/css" rel="stylesheet"/>        
12     </head>
13     <body>
14         <jsp:include page="/resources/jsp/header.jsp"/>
15         <h3>You Selected...</h3>    
16         <netui:form action="backToSelectPage" focus="">
17         <table>
18             <tr>
19                 <th align="right" valign="top">Item Number:</th>
20                 <td align="left"><netui:label value="{actionForm.itemnumber}"/></td>
21             </tr>
22             <tr>
23                 <th align="right" valign="top">Item Name:</th>
24                 <td align="left"><netui:label value="{actionForm.itemname}"/></td>
25             </tr>
26             <tr>
27                 <th align="right" valign="top">Quantity Available:</th>
28                 <td align="left"><netui:label value="{actionForm.quantityavailable}"/></td>
29             </tr>
30             <tr>
31                 <th align="right" valign="top">Price:</th>
32                 <td align="left"><netui:label value="{actionForm.price}"/></td>
33             </tr>
34             <tr>
35                 <td align="right"></td>
36                 <td align="left"><netui:button value="Back to selection page"></netui:button></td>
37             </tr>
38         </table>
39         </netui:form>
40     </body>
41 </html>