[Geomoose-users] XML command not working

Vojko Daneu vojko.daneu at mail.telepac.pt
Tue Oct 6 04:43:26 EDT 2009


Hallo,
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?
Greetings, Vojko


This is the service defined in the XML book:

 <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">
  <url>select/0002/00011_selectLocation.php</url> 
  <input type="point" name="coords" /> 
  <input type="hidden" name="map" value="GMS/data/0002/00011/positionsData/00011_select.map" /> 
  <input type="hidden" name="layer" value="Selected Positions:Number" /> 
  </service>


This is the function in defined in the header of the main GeoMoose html document:

<script type="text/javascript">
function refreshParent()
{
 alert('hallo');
}
</script>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20091006/deb1c348/attachment.html


More information about the Geomoose-users mailing list