[Chameleon-dev] [Bug 1825] New: [Chameleon-Widget]When there is more than one legendtemplate widgets only one of them is updated in JSAPI mode

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Nov 20 11:29:21 EST 2007


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

           Summary: [Chameleon-Widget]When there is more than one
                    legendtemplate widgets only one of them is updated in
                    JSAPI mode
           Product: Chameleon
           Version: 2.6
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at mapgears.com


A template with more than one legendtemplate widgets adds as many
legendtemplatediv div as they are widgets.  Nevertheless
LegendTemplateWLayersChanged() function, in JSAPI mode, that calls
CWCProcessLegendTemplate(nId) is created only once with the id of last widget
added.  When a registered events occurs, this function is called once. 
CWCLegendTemplateProcessed() looks for legendTemplateDiv div id and replaces the
inner HTML.  It does not consider any id.



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