[Zope] Assign a value to a variable for use in different object

Leo leochan@underwriting.ca
Thu, 09 May 2002 16:47:51 -0700


This is a multi-part message in MIME format.

--Boundary_(ID_znIuOlyurjTjKWnNb4ebag)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hello,

One question I have during I'm creating my Zope pages. That's how can I use a value within the other object. I can assign a value to a variable within one object by using dtml-let. But how can I do that when use it in other object. 
For example, I assign a value in a dtml method page and want to use the value in ZSQL method. Any way to do that?

Thanks in advance. 

Leo

--Boundary_(ID_znIuOlyurjTjKWnNb4ebag)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!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.2715.400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>One question I have during I'm creating my Zope 
pages. That's how can I use a value within the other object. I can assign a 
value to a variable within one object by using dtml-let. But how can I do that 
when use it in other object. </FONT></DIV>
<DIV><FONT face=Arial size=2>For example, I assign a value in a dtml method page 
and want to use the value in ZSQL method. Any way to do that?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Leo</FONT></DIV></BODY></HTML>

--Boundary_(ID_znIuOlyurjTjKWnNb4ebag)--