|
What this is
This file is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn
Java by Example" TM.
Other links
The source code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.0 for Windows">
<TITLE>Destination Pane
</HEAD>
<BODY vlink="#0000ff">
<P>Parameters passed from the tree links.
Click around in the tree on the left had
side and click some links. You should see
the results here.<BR>
<BR>
City: request.getParameter("city")
= <%= request.getParameter("city") == null? "" : request.getParameter("city") %>
Area: request.getParameter("area")
= <%= request.getParameter("area") == null? "" : request.getParameter("area") %>
Street: request.getParameter("street")
= <%= request.getParameter("street") == null? "" : request.getParameter("street") %>
<BR>
Remember that the parameters are hardwired
into the URL columns of the database table,
so they can have virtually any names and
values to suit your application logic. Not
all leaves and nodes need to have associated
URL links.<BR>
<BR>
This frame is called 'rhs' and the
page in this frame is called 'DestinationPane.jsp'.
The TreeBean was passed 'rhs' in the bean
parameter 'leafTarget', so that clicking
on any leaf in the tree would target this
frame.<BR>
</P>
</BODY>
</HTML>
|