Specialty.jsp Sample

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

Sample Source Code


01 <!--Generated by Weblogic Workshop-->
02 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
03 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
04 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
05 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
06 <html>
07     <head>
08         <link href="../../resources/css/style.css" type="text/css" rel="stylesheet"/>
09         <title>
10             Specialty Cars Index
11         </title>
12     </head>
13     <netui:base/>
14     <body style="margin:0">
15         <jsp:include page="/resources/jsp/header.jsp"/>
16         <br/>
17   
18       <table width=100% align=left border=cellspacing=cellpadding=0>
19     
20     <tr>
21         
22     <td width=5>&nbsp;</td>
23     
24     <td width=296 valign="top">
25   
26   <!-- Royalty-free images used in this sample are from Artville,
27        Digital Vision, EyeWire, PhotoDisc.  
28        http://creative.gettyimages.com -->
29         
30         <netui:image src="../../resources/images/h2oCars.jpg" width="280" height="187" />
31 
32     </td>
33     
34     <td valign="top">
35         
36         <p><b>Specialty Cars</b></p>
37     
38     <blockquote>
39         
40         <p>The choices today for specialty cars are fantastic. From no-gas or
41     minimal-gasoline alternative-fuel cars, all the way to gas-hungry
42     race cars, specialty cars are hitting record sales worldwide...
43     [more text...</p>
44     
45     <p>&nbsp;</p>
46     
47     <hr width=200 align=left>
48     
49     <!-- In SelectCarsController.jpf, note how the "goAgain" action 
50           uses return-to="page". This action returns to the last page 
51         executed before this page -->      
52     
53           <p><b>Return to Car Selections</b>&nbsp;&nbsp;
54           <netui:form action="goAgain">
55             <netui:button value="More Cars" type="submit"/>
56           </netui:form> 
57         </p>
58     
59     <!-- In SelectCarsController.jpf, note how the "done" action
60           uses return-action="begin". This action returns to the
61         calling page flow and runs its begin() method. -->      
62 
63         <p><netui:anchor action="done">Return to Navigation Samples Home</netui:anchor>
64         
65       </blockquote>
66     
67       </td>
68     </tr>
69   
70   <tr>
71   <td width=5>&nbsp;</td>
72   <td width=296>&nbsp;</td>
73   <td class="white-text" bgcolor=navy>
74     &nbsp;Implementation Notes
75   </td>  
76   </tr>
77   
78   <tr>
79   <td width=5>&nbsp;</td>
80   <td width=296>&nbsp;</td>
81   <td class="white-text" bgcolor="#8fc5ff">
82   <p>See the notes on the Convertibles page.
83   </p>
84   </td>
85   </tr>    
86     
87 </table>
88     </body>
89 </html>