Re: [Zope-dev] ZPublisher.Client

2000-10-10 Thread Dieter Maurer
Andrew Edmondson writes: > I used to use Client.py quite a lot for calling zope objects through the web > from python. > > However, now that I've upgraded to Zope 2.x it fails. > __call__ > raise NotAvailable, RemoteException( > bci.NotAvailable: (111, 'Connection refused') (File: > h

Re: [Zope-dev] Re: Refresh and debugging product creation issues.....

2000-10-10 Thread Shane Hathaway
Stephen Simmons wrote: > > The combination of Shane's Refresh product and Steve's code to prevent > multiple names in the product add list is really useful. Thanks, guys! > > I've reworked Steve's initialize code so it works for products that have > multiple classes. As an added benefit, you no

[Zope-dev] Fw: [Zope-dev] ZPublisher.Client

2000-10-10 Thread Loren Stafford
- Original Message - From: "Loren Stafford" <[EMAIL PROTECTED]> To: "Andrew Edmondson" <[EMAIL PROTECTED]> Sent: October 09, 2000 10:59 AM Subject: Re: [Zope-dev] ZPublisher.Client > This is a known problem. > http://classic.zope.org:8080/Collector/1480/view > > -- Loren > > > - Ori

[Zope-dev] Newbie SQL Question

2000-10-10 Thread Yvonne Totty
HI! I am having a slight newbie problem and for the life of me cannot find any references for how to do it. I have input boxes on a page. I want the information from that box to be input into a database table upon clicking the Submit button. I cannot figure out how to get that information from

[Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Stephen Simmons
Today is not a good day:-( I've just spent 2 days trying to force __call__ to render my product properly, got every error possible at least seven times, and wasted last night working out what was wrong with Refresh (I was calling refresh on the wrong product. Duh!). Please, please, please, ca

[Zope-dev] slashdot article

2000-10-10 Thread Josh Zeidner
Slashdot mentions Zope in an article about a medical company that *patented* the idea of online publishing and content management. They seem to think they came up with the idea of coodinating content *on the internet* . Take a look . http://slashdot.org/article.pl?sid=00/10/03/1523228 -josh

Re: [Zope-dev] Newbie SQL Question

2000-10-10 Thread Christopher Petrilli
On 10/10/00 11:33 AM, "Yvonne Totty" <[EMAIL PROTECTED]> wrote: > HI! > > I am having a slight newbie problem and for the life > of me cannot find any references for how to do it. > > I have input boxes on a page. I want the information > from that box to be input into a database table upon > c

Re: [Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Steve Alexander
Stephen Simmons wrote: > > 1.) How do you magically get the DTML context from '' without > having to resort to '' in the templates? Give your class a class attribute of isDocTemp=1. This tells the DTML method calling machinery that you want to receive the namespace as REQUEST as the third arg

Re: [Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Steve Alexander
Stephen Simmons wrote: > > 2.) How to convert an arbitrary text string into rendered DTML inside a > python product method? > How do you get the object's properties, REQUEST and acquisition context all > in the namespace? > > I've been trying code like: >template = ' fmt="structured_text">

Re: [Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Evan Simpson
From: Stephen Simmons <[EMAIL PROTECTED]> > 1.) How do you magically get the DTML context from '' without > having to resort to '' in the templates? A.isDocTemp = 1 # or make it a shared class attribute > 2.) How to convert an arbitrary text string into rendered DTML inside a > python product

Re: [Zope-dev] Strange permissions in the (built-in) API reference

2000-10-10 Thread Michel Pelletier
Dieter Maurer wrote: > > I have just thouroughly looked through the API reference > which is built in Zope 2.2.2. > > I found many strange permission statements, e.g.: > > * all methods of "PropertySheets" can only be used from Python > > * while "PropertySheet.propertyItems" can be used w

[Zope-dev] Building Zope on Linux

2000-10-10 Thread Sin Hang Kin
Recently I report the MyMath.h is missing. After receiving the help from the list, I realize I have just got the python 2.0 beta from the sourceforge cvs. the file must have been removed from python. Are there any branch of Zope which is intended to run on Python2? I would like to propose a new b