<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi devs,<br>
<br>
In my task to upgrade my digitizing app, I see a couple of things:<br>
<br>
1. That specifying a startup service in the URL disables the tools
in the toolbar<br>
<br>
2. Specifying a startup service in the mapbook or in config.js
doesn't seem to work. And I can't find any place in the code where
startup_service is referenced.<br>
<br>
So I added a few lines to main.js (at line 73):<br>
<br>
<tt> var params = GeoMOOSE.getUrlParameters();</tt><tt><br>
</tt><tt> if(GeoMOOSE.isDefined(params.call)) {</tt><tt><br>
</tt><tt> var service_name = params.call;</tt><tt><br>
</tt><tt> delete params.call;</tt><tt><br>
</tt><tt> GeoMOOSE.startService(service_name, params,
true);</tt><tt><br>
</tt><tt> };</tt><tt><br>
</tt><tt><br>
</tt><b><tt> /* --- new: --- */</tt></b><b><tt><br>
</tt></b><b><tt>
if(GeoMOOSE.isDefined(CONFIGURATION['startup_service'])) { </tt></b><b><tt><br>
</tt></b><b><tt> var service_name =
CONFIGURATION['startup_service'];</tt></b><b><tt><br>
</tt></b><b><tt> GeoMOOSE.startService(service_name,
params, true);</tt></b><b><tt><br>
</tt></b><b><tt> }</tt></b><b><br>
</b><br>
while it does start the service in the config.js, but it has the
same effect on the toolbar as specifying "?call=myservice" in the
URL (it is disabled).<br>
<br>
Is there something special I need to set to enable the toolbar
after a startup service?<br>
<pre class="moz-signature" cols="72">--
Best Regards,
Brent Fraser</pre>
</body>
</html>