[mapguide-users] Popup variable in AJAX viewer Pages

Scott Hameister ScottH at mPower-tech.com
Thu Mar 1 20:44:01 EST 2007


I meant RIGHT PANE not left "PAIN"

 

  _____  

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Scott Hameister
Sent: Thursday, March 01, 2007 7:38 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Popup variable in AJAX viewer Pages

 

But buffer always runs in the left Pain?????

What I was hoping was that it floated the task pain for certain
commands.etc.

I.e. How do I get the default buffer tool to be a popup instead.

 

  _____  

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Alain Lebatard
Sent: Thursday, March 01, 2007 7:29 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Popup variable in AJAX viewer Pages

 

The POPUP parameter tells the target command if it is running in an embedded
frame - such as the task pane - or in a popup window. It's useful when the
page needs to access the main frame, because the way to reference the main
frame from the page will change depending on whether it runs in a popup or
not. If your page does not need to access the main frame, it has no use for
the POPUP parameter.

 

There are several commands where the POPUP parameter is used, and you can
find example of this in the buffer command. The buffer page needs to access
the main frame to get the current list of layers. BufferUI.php uses the
value of the POPUP parameter to initialize the variable 'popup' in the
Javascript code for this page (see BufferUi.templ). The function GetParent()
of that script uses 'popup' to reference the main frame accordingly.

 

Alain

 

  _____  

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Scott Hameister
Sent: Thursday, March 01, 2007 4:46 PM
To: 'MapGuide Users Mail List'
Subject: [mapguide-users] Popup variable in AJAX viewer Pages

 

What does the popup parameter in all of the viewerAPI pages do.I set it to 1
and Nothing seems to change???????

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070301/2adb2095/attachment-0001.html


More information about the mapguide-users mailing list