<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm trying to create dynamic charts with ZGDChart 
and a python script by passing values to the script from a page template form 
using session data. It's working correctly in Mozilla. However, in Internet 
Explorer, it only works correctly the first time the form is submitted. After 
that, the chart continues to use the initial values each time. I can see that 
the session data values are getting updated but the script isn't getting the new 
values.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Below is an example that illustrates the behavior. 
Any suggestions as to what might be going on?</FONT><FONT face=Arial 
size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I create a default ZGDChart object and set it to 
Chart Type "Line_2D" and then select Python Script as the Data Method and 
test.py as the selected script.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>------------ test.py -------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>session = 
context.session_data_manager.getSessionData()<BR>return [(i, i) for i in 
session.get('start'), session.get('end')]<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>------------ test.pt -------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;html&gt;<BR>&nbsp; 
&lt;head&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;title tal:content="template/title"&gt;The 
title&lt;/title&gt;<BR>&nbsp; &lt;/head&gt;<BR>&nbsp; &lt;body&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;div tal:define="global submit 
request/form/submit | nothing"&gt; <BR>&nbsp; &lt;form action="test.pt" 
method="POST"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Start: &lt;input 
tal:attributes="value request/form/start | nothing" type="text" name="start" 
value=""&gt;&lt;br&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End: &lt;input 
tal:attributes="value request/form/end | nothing" type="text" name="end" 
value=""&gt;&lt;br&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type="Submit" 
name="submit" value="Plot Specified Range"&gt;<BR>&nbsp; 
&lt;/form&gt;<BR>&lt;/div&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;div tal:condition="submit"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; &lt;span tal:define="dummy 
python:request.SESSION.set('start', 
request.form.get('start'));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
dummy python:request.SESSION.set('end', 
request.form.get('end'))"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; &lt;p&gt;&lt;b&gt;Plotting 
range from &lt;span tal:content="request/form/start"&gt;start&lt;/span&gt; to 
&lt;span tal:content="request/form/end"&gt;end&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;img src="testchart"&gt;<BR>&nbsp;&nbsp; 
&lt;/span&gt;<BR>&lt;/div&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR></FONT></DIV></BODY></HTML>