[Zope] variable references

Redding, Matthew Matthew.Redding@dpi.qld.gov.au
Sat, 11 Jan 2003 14:33:57 +1000


I'd really appreciate it if one of the Zope gurus out there could solve
this little 
question. It is really a simplification of the problem I am
encountering.

I have three DTML documents, index, two, and three
What do I have to do to allow three to see the "gest"?
They are all in a folder called persistence under the root directory of
zope.
three, when it is reached gives a key error.

index.................................
<dtml-var standard_html_header>
<h2><dtml-var title_or_id></h2>
<p>


<form action="two" method="GET" target="_self" id="SPU CalculatorID" 
title="SPU Entry">
<b>Number </b>   <input type="TEXT" NAME="gest:float" SIZE="5"
maxlength="6" 
value="100"> 
<div align="RIGHT"> 
 <input type="submit" value="Submit Data">
</div>

</form>

This is <dtml-var id>
</p>
<dtml-var standard_html_footer>

two.......................................................
<dtml-var standard_html_header>
<h2><dtml-var title_or_id></h2>
<p>
This is the <dtml-var id> Document.
<dtml-var gest>
</p>
<div align="center">  <A HREF="three">Continue</A> </div>
<dtml-var standard_html_footer>

three.......................................................
<dtml-var standard_html_header>
<h2><dtml-var title_or_id></h2>
<p>
This is <dtml-var id>
<dtml-var gest>
</p>
<dtml-var standard_html_footer>


I would really appreciate your help with this.  I have been poring over
the 
zope book, and now wonder if there is something wrong with my
installation of 
zope. I have tried using request and session, all sorts of things. 

thanks, 

Matt Redding

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network.