<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hallo,</FONT></DIV>
<DIV><FONT face=Arial size=2>I use the "Select Feature" service in the XML
book and have defined a command within this service. The command's function (an
alert window just to test) is in the header of the main html page. Unfortunately
it does not work. See code below. Am I missing something?</FONT></DIV>
<DIV><FONT face=Arial size=2>Greetings, Vojko</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is the service defined in the XML
book:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <service title="Select Location"
command="refreshParent()" default="true" locked="true"
cursor="url(cursors/select.cur), auto" shape="point" type="inspect-search"
icon="shared/images/toolbar/SelectLocationUp.png"
highlight="shared/images/toolbar/SelectLocationDown.png"><BR>
<url>select/0002/00011_selectLocation.php</url> <BR> <input
type="point" name="coords" /> <BR> <input type="hidden" name="map"
value="GMS/data/0002/00011/positionsData/00011_select.map" /> <BR>
<input type="hidden" name="layer" value="Selected Positions:Number" />
<BR> </service></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is the function in defined in the header of
the main GeoMoose html document:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><script type="text/javascript"><BR>function
refreshParent()<BR>{<BR> alert('hallo');<BR>}<BR></script></FONT></DIV></BODY></HTML>