Re: [Zope] how recover original context?

2009-07-15 Thread Miguel Beltran R.
2009/7/14 Andreas Jung li...@zopyx.com

 On 15.07.09 01:14, Miguel Beltran R. wrote:
  Hi list
 
  I have the next tree
 
  root
  \-page1.htm
  \-scripts
\-script1_py
  |
  \-folder1
   \-folder1a
  \-ZPT1
  \-zsql1
 
 
  I trying made a request from PT1 to page1.htm
  page1.htm call to script1_py
  I want call from script1_py to zsql1
 
  how can recover what context=folder1a?
  
 
  forget, while write this mail I have a  idea
 
  [page1.htm]
  metal:block tal:content=structure
  python:conext.scripts.script1_py(context)
  /metal:block
 
  in script1_py declare a parameter mycontext what is folder1a
 http://www.mail-archive.com/zope@zope.org/msg31189.html

 -aj


thanks for answer


-- 

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] how recover original context?

2009-07-14 Thread Miguel Beltran R.
Hi list

I have the next tree

root
\-page1.htm
\-scripts
  \-script1_py
|
\-folder1
 \-folder1a
\-ZPT1
\-zsql1


I trying made a request from PT1 to page1.htm
page1.htm call to script1_py
I want call from script1_py to zsql1

how can recover what context=folder1a?


forget, while write this mail I have a  idea

[page1.htm]
metal:block tal:content=structure
python:conext.scripts.script1_py(context)
/metal:block

in script1_py declare a parameter mycontext what is folder1a

-- 

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how recover original context?

2009-07-14 Thread Andreas Jung
On 15.07.09 01:14, Miguel Beltran R. wrote:
 Hi list

 I have the next tree

 root
 \-page1.htm
 \-scripts
   \-script1_py
 |
 \-folder1
  \-folder1a
 \-ZPT1
 \-zsql1


 I trying made a request from PT1 to page1.htm
 page1.htm call to script1_py
 I want call from script1_py to zsql1

 how can recover what context=folder1a?
 

 forget, while write this mail I have a  idea

 [page1.htm]
 metal:block tal:content=structure
 python:conext.scripts.script1_py(context)
 /metal:block

 in script1_py declare a parameter mycontext what is folder1a
http://www.mail-archive.com/zope@zope.org/msg31189.html

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )