MapTools.org

[Chameleon-dev] [Bug 96] New: [Chameleon] Loading Widgets Expectations

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Fri, 7 Nov 2003 12:47:09 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=96

           Summary: [Chameleon] Loading Widgets Expectations
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev@lists.maptools.org
        ReportedBy: thorne@dmsolutions.ca


Many widgets do not display unless the widget is actually functioning. This was
shown by Norms One Widget for One HTML template.

For example:
1) CompassPoint Widget
compasspointwidget000.html to  compasspointwidget008.html

When this widget loads, the button should be displayed, or if the image path for
the button is invalid the broken image icon should be there. If the user selects
the button an Error or Warning should popup stating that there is no MapDHTML
widget found in the template, which mean the widget is inactive.

2)CursorPos Widget
cursorposwidget000.html
If the there is no Map then only the Label marker of this widget should be
displayed with a possible default value of "0" in the box. No error, Maybe a
Warning logged, but the application will still function.


Most Widgets are like this where either an error pops up 
eg.1
  Fatal error: Cannot instantiate non-existent class: cwclabel in
C:\ms4w\apps\chameleon\htdocs\widgets\Cursorpos.widget.php on line 58

eg.2
  Fatal error: Cannot instantiate non-existent class: mapnavigator in
C:\ms4w\apps\chameleon\htdocs\widgets\BoundingBoxPopup.widget.php on line 95

OR NOTHING IS DISPLAYED AT ALL IN THE BROWSER.

This is very confusing to the Chameleon Web Mapping Template Developer,
something should be displayed for the user to see that Chameleon.php is being
loaded, and that it is reading the template, but it is the widget configuration
that is the problem.



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


This archive was generated by Pipermail.