[Chameleon-dev] [Bug 498] New: [Chameleon]Visible parameter for popup widget doesn't control visibility

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Mon Jul 5 15:51:40 EDT 2004


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

           Summary: [Chameleon]Visible parameter for popup widget doesn't
                    control visibility
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at dmsolutions.ca


Visible attribute set to "false" for pop up widgets as "LegendTemplate",
"MapSize", "PrintWidget", and so on does not set display of these widgets to off.

I used the "sample_enhanced.phtml" sample.  I modified the "tools_enhanced.html"
template for the "MapSize" widget (see below).  

Expected result:

"MapSize" button should not appear.

Fedora Core 1
Mozilla 1.6
Chameleon 20040625
---------------------
MapSize widget modified:

      <!-- MAPSIZE -->
      <td><cwc2 type="MapSize" styleresource="TextButtons"
popupresource="TextButtons" Embedded="false" PopupWidth="480" PopupHeight="240"
Toolbar="false" Status="false" Menubar="false"  Visible="false"
Image="icons/icon_mapsize.png" ImageTip="Set Map Size" Label="Map Size">
        <mapsize label="small" width="400" height="300"/>
        <mapsize label="medium" width="600" height="450"/>
        <mapsize label="large" width="800" height="600"/>
        <mapsize label="custom ..." width="custom" height="custom"/>
        <image state="normal"/>
        <image state="selected"/>
        <image state="hover"/>
      </CWC2>



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