[mapguide-users] Popup variable in AJAX viewer Pages

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


Thanks I get it now.DUH on my part.

I was secretly dreaming it allowed us to float the whole Right Frame.and
shrink it down until called upon.

 

  _____  

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:49 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Popup variable in AJAX viewer Pages

 

Buffer runs in the task pane by default, but you can change this with
MapGuide Studio. You can use the web layout editor of Studio to determine in
what frame (floating or not) your command should run.

 

  _____  

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 5: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/e94af0bd/attachment.html


More information about the mapguide-users mailing list