Bug 619

Summary: LegendTemplate does not work correctly after loading context
Product: Chameleon Reporter: Bart van den Eijnden <bartvde@osgis.nl>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description From 2004-08-18 04:26:49
After loading a web map context, removing layers, changing the layer visibility
etc. does not work anymore. After a UpdateMap press the old situation of the
loaded context comes back to the application.
------- Comment #1 From 2004-08-19 08:21:55 -------
Sorry guys, my mistake.

I had forgotten that I had changed something in the LegendTemplate widget which
caused this problem:

//$szValue = " <INPUT TYPE=HIDDEN NAME=$szVariable VALUE=\"\">\n";
$szValue = " <INPUT TYPE=HIDDEN NAME=$szVariable
VALUE=\"".$this->getVar("LEGENDTEMPLATE_RESET")."\">\n";

Took me a few hours to find it though unfortunately.