[Zope] script or external method ?

debugworld-linux at yahoo.it debugworld-linux at yahoo.it
Sun Apr 3 18:49:30 EDT 2005


Hi all,
i'm a new user of Zope; i'm studing it since two weeks
and i think it's very
interesting, 'cause has the same power of j2ee
application server but it is 
much more easy to use!
While i was developing my first Zope application i
fell into this trouble: i
would like to write a script that create a folder, put
some file in it, and 
set some properties.
The code i've writed imports date object from datetime
package: this makes it
doesn't work like a script (python), so i adapt code
as an external method; but
when i run the method Zope says that he can't find
symbol 'container'... (mumble)

Well, 2 are the questions:
First, what i've to do to get service variable like
like container, context, request, etc.. ?
Which are differences between script and external
method coding? i remember that the zope book
indicates only imports.

Ok, thank you for reading..

Valerio

---------------------------------------------------------------------
Principiante? Fedora a mani basse.
Esperto? Slackware.
Talebano? Debian.
Asceta misantropo? Linux from scratch
---------------------------------------------------------------------
Unless unavoidable, no Word, Excel or PowerPoint
attachments, please.
See
http://www.fsf.org/philosophy/no-word-attachments.html
---------------------------------------------------------------------


		
___________________________________ 
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
 Scaricalo ora! 
http://it.messenger.yahoo.it


More information about the Zope mailing list