[Chameleon] embedding widgets

Paul Spencer pagameba at magma.ca
Tue Jul 27 11:11:11 EDT 2004


Eric,

this is something that I have scheduled to look at after the final 1.99 
release (i.e. something in the 2.1 development).

The approach that I am planning to take is to modify Popup.php to target 
an iframe in a <div> that is displayed over the current page rather than 
use window.open.  If things go well, the Chameleon core can be modified 
quite easily (as long as all widgets are using Popup.php for these 
services).  More work will likely be needed to make each dialog box play 
nicely in an iframe, particularly javascript references to 
parent.opener, embedded forms, js code loaded multiple times etc.  Bart 
has some experience with this already, I think it can be time-consuming 
to track down all the errors for each dialog, but I would hope that once 
a couple were done, it would be a matter of repeating the fixes.

Paul

Eric Bridger wrote:

> On Tue, 2004-07-27 at 05:13, aaron griffin wrote:
> 
>>I'm working on creating a mapping page that includes the locate services
>>as an embedded element to the page.  Has anyone done this before or have
>>any suggestions for trying to do this?
>>
>>Aaron Griffin
> 
> 
> I am also very interested in this, not for the Locate widget, but for
> several other Popup based widgets: Query, LayerManager2.  I was thinking
> of turning these into iframes vs. Popup window widgets since both have a
> SRC=URL type tag approach. The widgets would output iframe html with the
> src pointing to the poup url instead of opening a new window first.
> 
> Anyone have any experience with this approach?
> 
> Eric
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



More information about the Chameleon mailing list