Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

how recover original context?

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


yourpadre at gmail

Jul 14, 2009, 4:14 PM

Post #1 of 3 (1036 views)
Permalink
how recover original context?

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


lists at zopyx

Jul 14, 2009, 7:50 PM

Post #2 of 3 (965 views)
Permalink
Re: how recover original context? [In reply to]

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 [at] zope/msg31189.html

-aj
Attachments: lists.vcf (0.31 KB)


yourpadre at gmail

Jul 15, 2009, 7:58 AM

Post #3 of 3 (961 views)
Permalink
Re: how recover original context? [In reply to]

2009/7/14 Andreas Jung <lists [at] zopyx>

> 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 [at] zope/msg31189.html
>
> -aj
>

thanks for answer


--
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.