[Chameleon-dev] [Bug 1232] New: ExtractWFSData: GetJavascriptFunctions contains absolute URL for the popup link

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Dec 28 04:53:38 EST 2005


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

           Summary: ExtractWFSData: GetJavascriptFunctions contains absolute
                    URL for the popup link
           Product: Chameleon
           Version: 2.2
          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 ExtractWFSData.widget.php the GetJavascriptFunctions function contains an
absolute URL for the popup link:

        $this->moPopup->mszLink =
$_SESSION['gszGeoservicesWebPath']."/widgets/GeoservicesExtractWFSData/GeoservicesExtractWFSData.phtml?".
                               "&chkCompress=1".
                               "&selectedlayers=' + szSelectedLayers + ' ";

This makes inheriting from the ExtractWFSData widget rather difficult if you
override the popup URL in the constructor of the descendent widget. 

A better solution would be to use $this->moPopup->mszLink and just append the
extra variables. I'll fix this in CVS soon.



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


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list