[mapguide-users] show/hide TaskArea (right menu)
jumpinjackie at gmail.com
Tue Sep 23 11:48:18 EDT 2008
The url you posted goes nowhere.
Anyways, you cannot actually toggle the visibility of the task area as there
are actually two distinct viewer frames (one with the task pane
(framesettaskbar.templ), and one without (framesetnotaskbar.templ)). Which
one gets loaded depends on the settings in your weblayout.
So the way to do it would be to copy the weblayout you want to load into a
session repository and initially load your viewer from that session resource
id. Then when you want to toggle visibility, you would change the weblayout
xml in the session-based weblayout and reload your top-level viewer URL.
It is a bit cumbersome, but the AJAX viewer is quite inflexible so there
isn't really a better way (aside from using Fusion).
> I must do a button for show/hide TaskArea (right menu),
> the solution
> is good, but I have difficult to applay it
> can someone help me?
> Thank Alba
> View this message in context:
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
View this message in context: http://n2.nabble.com/show-hide-TaskArea-%28right-menu%29-tp1112757p1112802.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users