Bug 811 - [Chameleon-Documentation]Need to clarify the situation when a LegendTemplate is used as embedded and as popup in the same template
: [Chameleon-Documentation]Need to clarify the situation when a LegendTemplate ...
Status: RESOLVED FIXED
: Chameleon
Documentation
: 1.99
: PC Linux
: P2 normal
: 2.0 Final
Assigned To:
:
:
:
:
: 828
  Show dependency treegraph
 
Reported: 2004-11-02 12:50 by
Modified: 2005-01-11 12:16 (History)


Attachments


Note

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


Description From 2004-11-02 12:50:18
The following clarification should be added in the documentation.  See bug 424
for more details.

------------
Bug 424 description:

The LegendTemplate widget currently contains code to control layer visibility,
there is no way to turn this off.  The impact is that if the legend template
does not contain the appropriate layer visibility checkboxes, or it is used in
conjunction with a popup widget that does change layer visibility, then
unexpected things happen to layer visibility (like changes made in popups are lost).

The proposed change is to add an attribute to the legendtemplate widget that
would control whether the widget will attempt to set layer visibility or not. 
Turning this off would fix interaction with other widgets, or with templates
that don't contain layer visibility controls at all.

-----------------------
Bug 424 comment #9

The expected result if two legend templates are used
in  the same application and both control visibility is undefined and depends on
a number of factors, including:

* do both templates include checkboxes (named legendlayername[])?
* is one embedded and one not?
* what order are they in the template?

These will affect which layers get turned on / off.
------- Comment #1 From 2004-11-02 15:37:53 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-11-08 15:51:15 -------
assigning to Darren to decide where this needs to be documented and who should
do it.
------- Comment #3 From 2004-12-18 11:50:55 -------
Reassigned to Jeff.
------- Comment #4 From 2004-12-20 12:41:50 -------
to go in the legend template widget documentation of course ... for 2.0 final
------- Comment #5 From 2005-01-11 12:16:52 -------
done.