Re: [Zope] dtml sessions

2005-06-18 Thread Andy Kim
No, I am not using the user system here. It is just a simple use. All I want is to put a session-conditional call for a dtml method within a simple page with this method. - Original Message - From: "Dennis Allison" <[EMAIL PROTECTED]> To: "Andy Kim" <[EMAIL PROTECTED]> Cc: "Andreas Jung"

Re: [Zope] Using Catalog in a stand-alone application

2005-06-18 Thread Noam Raphael
On 6/18/05, Dieter Maurer <[EMAIL PROTECTED]> wrote: > Someone recently announced a free standing catalog. > I think, this catalog is based on Zope3. > And when I remember right, it was announce in "zodb-dev@zope.org". > Thank you! It may be just what I need. I searched and found. Kevin Dangoor h

Re: [Zope] Getting information about current method

2005-06-18 Thread Dieter Maurer
Peter Bengtsson wrote at 2005-6-17 18:25 +0100: > ... >Then I don't know. >(The application instance is none other than zope itself. ) >I can honestly not think of a way to extract this information. I've >even tried setting up a simple example method and I couldn't get hold >of the zodb name of th

Re: [Zope] Using Catalog in a stand-alone application

2005-06-18 Thread Dieter Maurer
Noam Raphael wrote at 2005-6-17 19:35 +0300: > ... >I've found that Zope's ZCatalog is based on Catalog, which is said to >be possible to run without the full Zope. If you are familiar with >ZCatalog, perhaps you can help me a bit, or point me to places where >to find what I need. I ask, first, if

Re: [Zope] Blank page problem

2005-06-18 Thread Dieter Maurer
Mike wrote at 2005-6-17 13:07 -0600: > ... > I'm currently running an intranet site using Zope and Plone and our > users >have been experiencing a very large number of blank pages (view source >shows the html, head, and body tag, but that's it) Then almost surely, your template creates

[Zope] Zope 3.1.0 beta 1 released!

2005-06-18 Thread Stephan Richter
Hello everyone, The Zope 3 development team is proud to announce Zope 3.1.0 beta 1. Zope 3 is the next major Zope release and has been written from scratch based on the latest software design patterns and the experiences of Zope 2. It is in our opinion that Zope 3.1 is more than ready for produc

Re: [Zope] dtml sessions

2005-06-18 Thread Tino Wildenhain
Am Samstag, den 18.06.2005, 18:43 +0200 schrieb Andy Kim: > No, not just only once but rather for one browser session. > If the page is reloaded again the method shouldnt be called. > Only if the user comes for a next visit, the method should be called again. > It actually should be easy, I'm just

Re: [Zope] Zope programms for databases

2005-06-18 Thread Dennis Allison
Take a look at http://http://products.bluedynamics.org/Products/Znolk, a wizard method which generates a wide variety of different Zope methods for maintaining databases. I don't understand your concurrent update issue. Such problems should be handled by the backend database, careful table de

Re: [Zope] Zope programms for databases

2005-06-18 Thread Andreas Jung
--On 18. Juni 2005 19:13:47 +0200 Ralph <[EMAIL PROTECTED]> wrote: Is there someone who has a better design approach or an idea? Using Zope Sessions. -aj pgpYikfWr6SLG.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http:

Re: [Zope] Problem with namespace (zope: addressed to exclusive sender for this address)

2005-06-18 Thread Ralph
On Thursday 16 June 2005 19:24, Dieter Maurer - [EMAIL PROTECTED] wrote: > Ralph wrote at 2005-6-15 20:59 +0200: > > For details, please the the "Calling DTML objects" section in Thank you for the answer. It was a simple programming failure, after 12h of working. __

[Zope] Zope programms for databases

2005-06-18 Thread Ralph
I'm new to Zope and made a small database application with zope (mostly DTML) to learn the idea behind Zope, but I'm not satisfied with the structure of my application. I have for each table a Form (DTML-method) with 3 buttons (new,update,delete). Each button triggers a DTML-script "actionTable

Re: [Zope] Getting information about current method

2005-06-18 Thread Jan-Ole Esleben
Well, thanks anyway for your suggestions; I hope someone else can suggest something; my intuition is that it isn't possible (without going really low level), and that would really be bad... Ole 2005/6/17, Peter Bengtsson <[EMAIL PROTECTED]>: > On 6/17/05, Jan-Ole Esleben <[EMAIL PROTECTED]> wrot

Re: [Zope] dtml sessions

2005-06-18 Thread Dennis Allison
Ah ha! you have as method that is supposed to be private to a particular user. You should set the view permission for the method to be "Authorized User" and have the method test for the particular user and do nothing if the current user is not the right one. A more general mechanism would b

Re: [Zope] dtml sessions

2005-06-18 Thread Andy Kim
No, not just only once but rather for one browser session. If the page is reloaded again the method shouldnt be called. Only if the user comes for a next visit, the method should be called again. It actually should be easy, I'm just not familiar with dtml programming yet. However I'd like to have i

Re: [Zope] dtml sessions

2005-06-18 Thread Tino Wildenhain
Am Samstag, den 18.06.2005, 18:16 +0200 schrieb Andy Kim: > Hi, > I'm a beginner. > I'd like allow a dtml method call e.g. for one session > only. > how do I do this with dtml? > could anyone help me? How often are you going to ask this? :) ___ Zope m

Re: [Zope] dtml sessions

2005-06-18 Thread Andreas Jung
--On 18. Juni 2005 18:16:48 +0200 Andy Kim <[EMAIL PROTECTED]> wrote: Hi, I'm a beginner. I'd like allow a dtml method call e.g. for one session only. how do I do this with dtml? could anyone help me? What do you mean by that? Should it callable only once? If yes then of course use a flag

Re: [Zope] Error Compiling Zope

2005-06-18 Thread Andreas Jung
--On 18. Juni 2005 09:09:51 -0700 Blackberry <[EMAIL PROTECTED]> wrote: I'm trying to compile Zope on a remote (hosting) server. It gets pretty far, but then I get this error: copying and adjusting test.py -> /home/furlist/public_html/GroupServer-0.1rc3/Zope-2.7.4-0/build-base/pyth on-2.4/bu

[Zope] dtml sessions

2005-06-18 Thread Andy Kim
Hi, I'm a beginner. I'd like allow a dtml method call e.g. for one session only. how do I do this with dtml? could anyone help me? thanks ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] Error Compiling Zope

2005-06-18 Thread Blackberry
I'm trying to compile Zope on a remote (hosting) server. It gets pretty far, but then I get this error: copying and adjusting test.py -> /home/furlist/public_html/GroupServer-0.1rc3/Zope-2.7.4-0/build-base/python-2.4/build-scripts error: /home/furlist/public_html/GroupServer-0.1rc3/Zope-2.7.4-0/

[Zope] Re: Factory-based Type Information

2005-06-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denis Mishunoff wrote: > I have a problem with my product. > I use Zope 2.7.5 and Plone 2.0.5. > > I need to create the copy of Document content-type on my product's > install the same way as it is done in portal_types via > "Factory-based Type Infor

[Zope] Factory-based Type Information

2005-06-18 Thread Denis Mishunoff
Hello, list. I have a problem with my product. I use Zope 2.7.5 and Plone 2.0.5. I need to create the copy of Document content-type on my product's install the same way as it is done in portal_types via "Factory-based Type Information" option of dropdown. I just need to have the copy of it and to