98
|
Chapter 6
Using Reports to Query and Update Data Sources
Start by creating a standard HTML file that defines a frameset. The frameset
should display the map on the left and a blank page on the right:
<HTML>
<HEAD>
<TITLE>ColdFusion Report Data</TITLE>
</HEAD>
<!-- frames -->
<FRAMESET COLS="65%,*">
<FRAME NAME="Left" SRC="parcel_map.htm" MARGINWIDTH="10"
MARGINHEIGHT="10" SCROLLING="auto" FRAMEBORDER="yes">
<FRAME NAME="Right" SRC="about:blank" MARGINWIDTH="10"
MARGINHEIGHT="10" SCROLLING="auto" FRAMEBORDER="yes">
</FRAMESET>
</HTML>
Notice that we have assigned the names
Left
and
Right
to the frames. The
source for
Left
is
parcel_map.htm
, the file containing our embedded map.
The source for
Right
is
about:blank
, a standard browser function whose
purpose is to display a blank window or frame.
Now that we have the frameset, let us go back to the
parcel_map.htm
file and
change the
ReportTarget
parameter to
Right
, the name we assigned to our
right-hand frame:
<OBJECT ID="map" WIDTH=600 HEIGHT=250
CLASSID="CLSID:62789780-B744-11D0-986B-00609731A21D">
<PARAM NAME="URL"
VALUE="http://www.yourserver.com/maps/StarterApp.mwf?ReportTarget=Right>
<EMBED
SRC="http://www.yourserver.com/maps/StarterApp.mwf?ReportTarget=Right
NAME="map" WIDTH=600 HEIGHT=250>
</OBJECT>
Summary of Contents for 15606-011408-9300 - MAP R6.3 UPG
Page 1: ...15306 010000 5060 October 2001 Autodesk MapGuide Release 6 Developer s Guide ...
Page 6: ...vi ...
Page 16: ...16 ...
Page 30: ...30 ...
Page 84: ...84 ...
Page 134: ...134 ...
Page 202: ...202 ...