[Chameleon] Creating a "toolset" tool.

Bart van den Eijnden BEN at Syncera-ITSolutions.NL
Wed Sep 28 02:12:07 EDT 2005


Abe,

I believe this is done through the NAV_CMD variable.

Navtool.php sets the active tool after a page reload in the NavSetActiveTool function.

Hope this helps you track down the problem.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Abe Gillespie <abe.gillespie at gmail.com> 09/27/05 10:58 PM >>>
I'm having trouble getting my custom widget behave correctly as part
of a toolset.  My widget is part of the "Navigation" toolset.  The
client-side Javascript works correctly.  When I go from one tool, say
zoom-in, to my tool by selecting it, everything works fine;  zoom-in
deslects and mywidget selects.  But then when the page posts it comes
back with no widget selected.  What criteria must be set in my widget
for it's "activeness" to be persisted across page posts?

Thanks.
-Abe

_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon




More information about the Chameleon mailing list