[Chameleon-dev] [Bug 1332] New: [Chameleon-Core]MLT resources are not loaded in external widgets

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Mar 8 15:44:25 EST 2006


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

           Summary: [Chameleon-Core]MLT resources are not loaded in external
                    widgets
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at mapgears.com
                CC: bartvde at xs4all.nl


This problem was reported by Bart:

Email from Bart to chameleon.lists.maptools.org:

1) it seems to me txt resources are only loaded from the chameleon widgets
dir, and not for other widget directories specified.

The code in WidgetManager.php does only the following so this goes wrong
for widgets not present in the chameleon widget dir:

               $this->moMLT->loadResource( $oWidget->mszWidgetName,
                                            str_replace("\\","/",
                                            dirname(__FILE__) ).'/widgets/'.
                                            $oWidget->mszWidgetName );



------- 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