<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Dan,</p>
<p> Now that the startup_service specified in the mapbook or
config.js works (or at least it should; I'm still having problems
getting any of the three startup methods to work using yesterday's
nightly build), I expect my original problem would still exist:
the toolbar will be disabled.</p>
<p>I did notice this in the GeoMOOSE doc
(<a class="moz-txt-link-freetext" href="http://docs.geomoose.org/2.8/docs/configuration.html#configuration">http://docs.geomoose.org/2.8/docs/configuration.html#configuration</a>):</p>
<p><tt>services.disable_others</tt><tt><br>
</tt><tt> Toggle whether tools and other tabs should be disabled
when starting a service.</tt><br>
</p>
<p>I wonder if this would solve my problem of having a startup
service with no user input needed?<br>
</p>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<div class="moz-cite-prefix">On 3/29/2016 2:10 PM, Dan Little wrote:<br>
</div>
<blockquote
cite="mid:CABqPoBbYLASceLVLMGJ16HODtUsAQyy0A0Dq5WWUbUk0sSTwaA@mail.gmail.com"
type="cite">
<div dir="ltr">The disabling of the toolbar is actually a new
usability 'feature.' One of the big struggles that both Jim and
Eli found in the UI was the order of operations when multiple
services were starting at the same time due to the 'open' nature
of the toolbar operation. You can see this in operation in the
current demo when you click the "Search Parcels" tab. The only
way to get the toolbar back is to click "cancel" which allows
the service to clean itself up properly.
<div><br>
</div>
<div>If you've got a specific tab that you want displayed all
the time it may be necessary to write it as a custom-tab
extension. Which in 2.9 is going to get a bit easier.<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 22, 2016 at 3:49 PM, Brent
Fraser <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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?<span class="HOEnZb"><font
color="#888888"><br>
<pre cols="72">--
Best Regards,
Brent Fraser</pre>
</font></span></div>
<br>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/geomoose-users"
rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>