Bug 492 - [Chameleon -Widget] MapSize is not an active widget parameter.
: [Chameleon -Widget] MapSize is not an active widget parameter.
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-07-04 16:24 by
Modified: 2004-07-07 11:10 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-07-04 16:24:00
Currently the MapSize is only taken from the mapfile, and not from the Map
widget, on load.

The MapSize widget parameter is currently inactive
------- Comment #1 From 2004-07-07 11:10:47 -------
this is likely a configuration error in the application template, the
MapDHTMLWidget has a parameter ALLOWRESIZE, which if it is set to FALSE then the
size in the mapfile is ignored and if set to TRUE then the size in the template
is ignored.  You need to determine which one is appropriate for your
application.  But even if you set ALLOWRESIZE to TRUE, the width and height
parameters are mandatory (even though they are essentially ignored).

I suggest that if this is important, a new enhancement bug be opened to modify
the behaviour of the MapDHTMLWidget, or possibly to enhance how widget
parameters are marked as mandatory/optional to allow for parameters to be
mandatory/optional depending on the value of another parameter.