Vintage.jsp Sample

This topic inludes the source code for the Vintage.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             Vintage 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   <!-- Next tag implements built-in rollover in rendered JSP -->
31         
32         <netui:image src="../../resources/images/vintageCars1.jpg" width="213" height="280" />
33 
34     </td>
35     
36     <td valign="top">
37         
38         <p><b>Vintage Cars</b></p>
39     
40         <blockquote>
41         
42         <p>Vintage cars impress us with their classic lines and a sense of style
43     that stands the test of time. Designed by inspired engineers, vintage
44     cars remind us of an era when...  [more text...</p>
45     
46     <p>&nbsp;</p>
47     
48     <hr width=200 align=left>
49     
50     <!-- In SelectCarsController.jpf, note how the "goAgain" action 
51           uses return-to="page". This action returns to the last page 
52         executed before this page -->
53         
54           <p><b>Return to Car Selections</b>&nbsp;&nbsp;
55           <netui:form action="goAgain">
56             <netui:button value="More Cars" type="submit"/>
57           </netui:form> 
58         </p>
59     
60     <!-- In SelectCarsController.jpf, note how the "done" action
61           uses return-action="begin". This action returns to the
62         calling page flow and runs its begin() method. -->    
63 
64         <p><netui:anchor action="done">Return to Navigation Samples Home</netui:anchor>
65 
66         </blockquote>          
67         
68       </td>
69     </tr>
70   
71   <tr>
72   <td width=5>&nbsp;</td>
73   <td width=296>&nbsp;</td>
74   <td class="white-text" bgcolor=navy>
75     &nbsp;Implementation Notes
76   </td>  
77   </tr>
78   
79   <tr>
80   <td width=5>&nbsp;</td>
81   <td width=296>&nbsp;</td>
82   <td class="white-text" bgcolor="#8fc5ff">
83   <p>See the notes on the Convertibles page.
84   </p>
85   </td>
86   </tr>  
87    
88   
89 </table>
90     </body>
91 </html>