[Chameleon-dev] [Bug 489] New: UploadContext widget: moving of some code into the widget file

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Jul 2 08:02:54 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=489

           Summary: UploadContext widget: moving of some code into the
                    widget file
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


In order to have the UploadContext widget behave embedded, I had to move some of
the code (only the part which clears the session MAP file and adds the layers
from the context to it) from the phtml file into the widget.php file. This makes
it possible to control the widget behaviour from the outside through 1 main form
variable called WMS_CONTEXT.

In my situation I have embedded the UploadContext widget into a portal page, and
when opening a context, a new empty mapviewer is opened which will show the
context. This uses a javascript callback mechanism.

I would like to incorporate these changes into Chameleon CVS sometime, as this
does not make any difference for the current operation. It just opens up
possiblities for external control, which is e.g. needed when opening up empty
mapviewers to which you want to add layers/contexts.

On a more common note, maybe we need like a design decision to determine when
stuff is implemented in the widget form, or when it is implemented through the
main form and the widget's ParseURL function.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list