<!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.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2>I have these function</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>def Propiedad(self,
Name):<BR>
"""Propiedad"""<BR> Obj =
self<BR> Maestro = getattr(Obj,
'Maestro', None)<BR> Paso =
1<BR> while Maestro is not
None:<BR> Obj
=
self.restrictedTraverse(Maestro.contenido).__of__(self)<BR>
Maestro = getattr(Obj, 'Maestro',
None)<BR> Paso
+= 1<BR> if
Paso == 15: break<BR> if hasattr(Obj,
Name):<BR>
return getattr(Obj, Name)<BR> return
getattr(self, Name)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>these code try to get the object Maestro, and
recursively search the for Maestro's until is not found</FONT></DIV>
<DIV><FONT face=Arial size=2>Width these code I try to use an object called
Maestro to make soft links</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My problem is to acquire the real
context of self</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I add in my product
these function:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>def __bobo_traverse__(self, Request,
Name):<BR> return
self.Propiedad(Name)</FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ZMI show me the soft link object and not the real
self</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Has anyone idea to help me, please?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV></BODY></HTML>