[Zope] manage_add with results

Paul Zwarts paz@oratrix.com
Fri, 27 Jul 2001 11:39:13 +0200


Great, thanks Phil. It worked.

I have strange acquisition going on now that it doesnt find a folder to call
ZSQL methods, but a test with a simple dtml-in process reveals that the file
is created.

Thanks for your help,
Paz

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Phil
Harris
Sent: Friday, July 27, 2001 11:24 AM
To: Paul Zwarts
Cc: Zope
Subject: Re: [Zope] manage_add with results


You probably need to call it like so then:

manage_addDocument(id=something, file=spiral(_.None,_,any,other,parameters),
...)


----- Original Message -----
From: "Paul Zwarts" <paz@www2.oratrix.NL>
To: "Phil Harris" <phil.harris@zope.co.uk>
Cc: "Zope" <zope@zope.org>
Sent: Friday, July 27, 2001 10:14 AM
Subject: RE: [Zope] manage_add with results


> Morning Phil,
>
> Thanks for the quick repsonse. I am trying to create Temp directories per
> _ZSession. Using a DTML MEthod, I:
>
> 1) Create folder with name of _ZSEssion variable
> 2) Try to create a DTML method (or file) in that directory using the
> resulting output from another DTML method.
>
>
> It all works except that the newly created method is basically a copy of
the
> one I want to run.....
>
>
> Thanks,
> Paz
>
> -----Original Message-----
> From: Phil Harris [mailto:phil.harris@zope.co.uk]
> Sent: Friday, July 27, 2001 11:11 AM
> To: Paul Zwarts; Zope
> Subject: Re: [Zope] manage_add with results
>
>
> Where is this call being made, i.e. External Method, Script(Python) or
some
> DTML call?
>
>
> ----- Original Message -----
> From: "Paul Zwarts" <paz@www2.oratrix.NL>
> To: "Zope" <zope@zope.org>
> Sent: Friday, July 27, 2001 10:00 AM
> Subject: [Zope] manage_add with results
>
>
> > Greetings all,
> >
> > I'm searching around and I'm trying to locate a hint as to how I can
use:
> >
> > manage_addDocument(id=something, file=spiral, ...)
> >
> > where Spiral is the results of a method. I can get the contents of the
> > method (dtml code) into the new file, but I want the resulting text that
> the
> > method would generate. Can someone steer me in the right direction
please?
> >
> > Thanks,
> > Paz
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>


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