[Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Tudor Gabriel
To learn zope I am trying to write a basic library page. I wrote a book_py class ... and from search_books_py try to return a list of books to show in a ZPT. now let's suppose all the files (all the py and zpt files) are in the same directory:Library in search_books_py i tried importing the book

Re: [Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Andreas Jung
--On 18. Juli 2007 12:26:06 +0300 Tudor Gabriel <[EMAIL PROTECTED]> wrote: To learn zope I am trying to write a basic library page. I wrote a book_py class ... and from search_books_py try to return a list of books to show in a ZPT. now let's suppose all the files (all the py and zpt files) a

[Zope] modifying zope conf ruins everything

2007-07-18 Thread Mohammed Tlais
Hi guys, I wanted to access zope from port 80, so i opened the zope conf file and modified the section that says address 8080 into address 80.and saved it, it didn't work. I restored the address into 8080, and now zope is not working at all , i can't access it even from port 8080! Am I doing some

Re: [Zope] modifying zope conf ruins everything

2007-07-18 Thread Andreas Jung
--On 18. Juli 2007 13:13:27 +0300 Mohammed Tlais <[EMAIL PROTECTED]> wrote: Hi guys, I wanted to access zope from port 80> Why? If you run Zope as root then you must set the 'effective-user'. There is usually no need to run Zope as root. If you want to make Zope available as a public server

Re: [Zope] does zope support java script

2007-07-18 Thread Jonathan
- Original Message - From: "Mohammed Tlais" <[EMAIL PROTECTED]> To: "Tim Nash" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, July 18, 2007 1:32 AM Subject: Re: [Zope] does zope support java script Thank you Tim, thank you Andreas, thanks for all. You gave me valuable information. I figu

[Zope] does zope support java script

2007-07-18 Thread Josef Meile
> I figured out that the small browser inside ZMI has a problem with > javascripts, it can't display them. But, when I visit the URL of the page > from IE, the javascripts are executed normally. Now I understand why this fails. You are pressing the View/Test tab inside the ZMI. For some objects, z

Re: [Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Paul Winkler
On Wed, Jul 18, 2007 at 12:26:06PM +0300, Tudor Gabriel wrote: > I've searched Zope Help and it mentions in there that i have to make a > new dir in Products called whatever and add to __init__.py the > allowimport or something like that, for my package. > > i tried that too ... same error (haven'

Re: [Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Dieter Maurer
Tudor Gabriel wrote at 2007-7-18 12:26 +0300: > ... >now let's suppose all the files (all the py and zpt files) are in the >same directory:Library > >in search_books_py i tried importing the book class in this ways: > >from book_py import * >from Library.book_py import * >from here.book_py import *

Re: [Zope] modifying zope conf ruins everything

2007-07-18 Thread Dieter Maurer
Mohammed Tlais wrote at 2007-7-18 13:13 +0300: > ... >I wanted to access zope from port 80, so i opened the zope conf file and >modified the section that says address 8080 into address 80.and saved it, it >didn't work. You didn't tell us on what platform you work. Under *nix, all ports below 1024

Re: [Zope] Problem w/ ZMySQLDA

2007-07-18 Thread Tino Wildenhain
[EMAIL PROTECTED] wrote: Forgive my ignorance, but not quite sure how to do that. Nonetheless... 1) There was no problem with any of this on the old server until the server crashed. 2) My backups were taken from a time when the old server was was working fine. Did you ever check these backups

[Zope] z3c.form 1.5.0 and z3c.formdemo 1.3.0 released!

2007-07-18 Thread Stephan Richter
Hello everyone, I am pleased to announce new releases for z3c.form and z3c.formdemo. The latest changes were mainly driven by Paul Carduner's work on z3c.formjs and z3c.formjsdemo, but also by continued customer work. Again for the curious and impatient ... -