[Zope] Working with objects

Jason Spisak webmaster@mtear.com
Tue, 23 Feb 1999 14:34:54 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_017D_01BE5F39.ADAAA950
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

This is probably a namespace question, but I am trying to get an object =
to reference the properties of another object.
I have a document with id 'company' and I have a DTML document called =
'contract' that I want to take the property of 'company_name' from =
'company' and put it at the top of the the 'contract' document.
Using Zope 1.10pr I tried...
<!--#with company-->
<!--#var company_name-->
<!--#/with-->

I tried others, but still nothing.  Any suggestions?



Jason Spisak
webmaster@mtear.com

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

------=_NextPart_000_017D_01BE5F39.ADAAA950
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>This is probably a namespace =
question, but I am=20
trying to get an object to reference the properties of another=20
object.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>I have a =
document with id=20
'company' and I have a DTML document called 'contract' that I want to =
take the=20
property of 'company_name' from 'company' and put it at the top of the =
the=20
'contract' document.</FONT></DIV>
<DIV><FONT size=3D2>Using Zope 1.10pr I tried...</FONT></DIV>
<DIV><FONT size=3D2>&lt;!--#with company--&gt;</FONT></DIV>
<DIV><FONT size=3D2>&lt;!--#var company_name--&gt;</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT =
size=3D2>&lt;!--#/with--&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I tried others, but still =
nothing.&nbsp; Any=20
suggestions?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Jason Spisak<BR><A=20
href=3D"mailto:webmaster@mtear.com">webmaster@mtear.com</A></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Under US Code Title 47, =
Sec.227(b)(1)(C),=20
Sec.227(a)(2)(B) This email<BR>address may not be added to any =
commercial mail=20
list with out my<BR>permission.&nbsp; Violation of my privacy with =
advertising=20
or SPAM will<BR>result in a suit for a MINIMUM of $500 damages/incident, =
$1500=20
for<BR>repeats.</FONT></DIV></BODY></HTML>

------=_NextPart_000_017D_01BE5F39.ADAAA950--