Re: [Zope] Composite Objects?

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 08:36:22PM -0400, Jeffrey E. Forcier wrote: > Paul Winkler wrote: > > >In that case, I'd write a filesystem Product for the logic. > >Replace the scripts with methods of the Product class. > >Make it folderish so it can contain Forumator forms and anything > >else you want:

Re: [Zope] Composite Objects?

2005-04-11 Thread Jeffrey E. Forcier
Paul Winkler wrote: In that case, I'd write a filesystem Product for the logic. Replace the scripts with methods of the Product class. Make it folderish so it can contain Forumator forms and anything else you want: inherit from Folder and use its UI to manage contents. You could then use Abracadabr

Re: [Zope] Session without cookies.

2005-04-11 Thread Jens Vagelpohl
On Apr 12, 2005, at 1:02, Fernando Lujan wrote: The URL "test1" in the form tag is obviously *not* generated by Zope. You put it in there manually. So it cannot work as you expect. Hum, I see. Just web pages that aren't dinamically generated by Zope. For instance, other DTML document will not kee

Re: [Zope] Newbie questions:

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 06:43:46PM -0400, Jeffrey E. Forcier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Enrique Ariz?n wrote: > > > Hi again, I'm starting to make up with Zope, but still basic doubts > > remains: > > > > Q1: When using normal python I'got used to the dir(Object)

Re: [Zope] Composite Objects?

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 04:56:04PM -0400, Jeffrey E. Forcier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Paul Winkler wrote: > > > (snip) > > > > I gather you want to be able to modify the scripts and such for > > each copy, which argues against the usual solution of building a >

Re: [Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
Jens Vagelpohl wrote: 1)test It's a simple code. I create two dtml documents with the following code. The URL "test1" in the form tag is obviously *not* generated by Zope. You put it in there manually. So it cannot work as you expect. jens Hum, I see. Just web pages that aren't dinamically g

Re: [Zope] Newbie questions:

2005-04-11 Thread Jeffrey E. Forcier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrique Arizón wrote: > Hi again, I'm starting to make up with Zope, but still basic doubts > remains: > > Q1: When using normal python I'got used to the dir(Object) to learn > new APIs/Libraries. But when trainning with my first Zope Scripts I > can'

Re: [Zope] Session without cookies.

2005-04-11 Thread Jens Vagelpohl
On Apr 11, 2005, at 23:47, Fernando Lujan wrote: Note that it says "Zope-generated" URLs. URLs that are not generated by Zope will not be encoded. The URL is generated by Zope. It's a simple code. I create two dtml documents with the following code. 1)test The URL "test1" in the form tag

[Zope] Newbie questions:

2005-04-11 Thread Enrique Arizón
Hi again, I'm starting to make up with Zope, but still basic doubts remains: Q1: When using normal python I'got used to the dir(Object) to learn new APIs/Libraries. But when trainning with my first Zope Scripts I can't. The "dir not defined" error appears. ??? Q2: I can access the Zope management

Re: [Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
Chris McDonough wrote: On Mon, 2005-04-11 at 16:35, Fernando Lujan wrote: I already changed the browser_id_manager and unchecked the cookies and checked the "Automatically Encode Zope-Generated URLs With A Browser Id" option. But it's just stops working. :( Note that it says "Zope-generat

Re: [Zope] object creation in a specific folder...

2005-04-11 Thread J Cameron Cooper
Rushabh Mehta wrote: hello all, this is my first zope app... i am trying to figure out how to create an object in a particular folder via script, when my current object may not be in the right tree... I tried to do a 'change folder' via restrictedTraverse (eg context.getRestrictedTraverse('/myapp/

Re: [Zope] Session without cookies.

2005-04-11 Thread Chris McDonough
On Mon, 2005-04-11 at 16:35, Fernando Lujan wrote: > Hi everyone, > > Is there possible to use a Session control without cookies? Yes. > > I already changed the browser_id_manager and unchecked the cookies and > checked the "Automatically Encode Zope-Generated URLs With A Browser Id" > option

Re: [Zope] Composite Objects?

2005-04-11 Thread Jeffrey E. Forcier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: > (snip) > > I gather you want to be able to modify the scripts and such for > each copy, which argues against the usual solution of building a > Product. Actually, no--the only thing that would change per-instance would be the Fo

Re: [Zope] Composite Objects?

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 04:43:38PM -0400, Jeffrey E. Forcier wrote: > I'm attempting to use mostly-vanilla Zope to implement an intranet > here at my office, but am finding it difficult to use a 'feature' that > I imagine should be possible. I've created a template for what ideally > would be a sin

[Zope] Composite Objects?

2005-04-11 Thread Jeffrey E. Forcier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I'm attempting to use mostly-vanilla Zope to implement an intranet here at my office, but am finding it difficult to use a 'feature' that I imagine should be possible. I've created a template for what ideally would be a single object/class ty

[Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
Hi everyone, Is there possible to use a Session control without cookies? I already changed the browser_id_manager and unchecked the cookies and checked the "Automatically Encode Zope-Generated URLs With A Browser Id" option. But it's just stops working. :( In addition, where could I get the Exam

Re: [Zope] Description Strings in Archetypes

2005-04-11 Thread Stefan H. Holek
Please take this to the plone-users list. See http://plone.org/contact Stefan On 11. Apr 2005, at 18:36, S.D. wrote: I'm running Archetypes 1.3.2-final in Plone 2.0.5 (Mac OS X Server). I added the Article example from ArchExamples to the available items list in a Plone site. It works fine except

[Zope] Re: Newbie ZPsycopgDA question

2005-04-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Heather Bumbalough wrote: > I am very new to Zope & Python so please forgive me if this is stupid > question or if the answer is posted elsewhere (I've looked!)... > > I am using Zope v. 2.8.0-a1, Python v.2.3, and psycopg-1.1.18. After adding > th

[Zope] Newbie ZPsycopgDA question

2005-04-11 Thread Heather Bumbalough
I am very new to Zope & Python so please forgive me if this is stupid question or if the answer is posted elsewhere (I've looked!)... I am using Zope v. 2.8.0-a1, Python v.2.3, and psycopg-1.1.18. After adding the ZPsycopgDA connection in Zope the Status indicates I am connected to the databa

[Zope] Description Strings in Archetypes

2005-04-11 Thread S . D .
I'm running Archetypes 1.3.2-final in Plone 2.0.5 (Mac OS X Server). I added the Article example from ArchExamples to the available items list in a Plone site. It works fine except for the fact that when you look at a list of Articles inside a given folder, each item's Description is taken from the

[Zope] Re: Anonymous users can download files stored in a restricted folder

2005-04-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barbara Harris wrote: > I'm still using the default_workflow (Simple Review / Publish Policy) > because it meets the content owner's requirements. I didn't look in > this area because I thought I could only apply a workflow to ALL > folders, and I wa

[Zope] Ten days to go to Python-UK

2005-04-11 Thread andy
This is a reminder that there are just ten days left before the UK Python Conference. This is the one chance in the UK each year to hear in-depth talks on a wide variety of topics from top Python experts. It takes place at the Randolph Hotel in Oxford on 21-23 April. https://www.accu.org/co

[Zope] how to expand a branch using dtml-tree ?

2005-04-11 Thread BonviciniJ
I would like to know if its possible to expand a specified branch of a tree,using the dtml-tree tags. I use this tag to display the tree of my site: But I have a problem.I want the chosen branch to keep expanded when the user click on the link. At the moment, when I click on a

[Zope] Re: Anonymous users can download files stored in a restricted folder

2005-04-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barbara Harris wrote: > Is it possible to restrict access to the file download function by > setting permissions on the folder containing a published file? > > In a Zope 2.6.4 CMF site, running on Apache, I have removed anonymous > access from a porta

Re: [Zope] Running different Zope versions

2005-04-11 Thread Lennart Regebro
On Apr 11, 2005 1:58 PM, Henk Laloli <[EMAIL PROTECTED]> wrote: > > > Is it possible to run different Zope versions on one machine? > I have a Zope 2.6.4 running and a Zope 2.7.3 both on a Windows 2003 server. > They use their own python. I run them on different port numbers configured > in t

[Zope] Anonymous users can download files stored in a restricted folder

2005-04-11 Thread Barbara Harris
Is it possible to restrict access to the file download function by setting permissions on the folder containing a published file?   In a Zope 2.6.4 CMF site, running on Apache, I have removed anonymous access from a portal folder (the restricted folder) and published documents and files i

[Zope] Running different Zope versions

2005-04-11 Thread Henk Laloli
  Is it possible to run different Zope versions on one machine? I have a Zope 2.6.4 running and a Zope 2.7.3 both on a Windows 2003 server. They use their own python. I run them on different port numbers configured in the zope.conf file. Both are installed as services. Yet, when both are started

Re: [Zope] DTML namespace problem (was: dtml-tree issue)

2005-04-11 Thread Tino Wildenhain
Hi, Am Montag, den 11.04.2005, 14:08 +0300 schrieb Vangelis Mihalopoulos: > > Andreas Jung wrote: > > > You should *not* define classes inside PythonScripts. PythonScripts > > are stricted > > and don't provide the full functionality. Either use filesystem based > > code (Zope > > Product) or

Re: [Zope] DTML namespace problem (was: dtml-tree issue)

2005-04-11 Thread Vangelis Mihalopoulos
Andreas Jung wrote: You should *not* define classes inside PythonScripts. PythonScripts are stricted and don't provide the full functionality. Either use filesystem based code (Zope Product) or use simple Python datatypes as dictionaries in this case. An External Method behaves exactly the same

Re: [Zope] DTML namespace problem (was: dtml-tree issue)

2005-04-11 Thread Andreas Jung
--On Montag, 11. April 2005 13:44 Uhr +0300 Vangelis Mihalopoulos <[EMAIL PROTECTED]> wrote: Hello, i have focused my problem on this: having a Python Script "testScript": class obj: a = 1 b = 2 c = 3 return obj() and a

[Zope] DTML namespace problem (was: dtml-tree issue)

2005-04-11 Thread Vangelis Mihalopoulos
Hello, i have focused my problem on this: having a Python Script "testScript": class obj: a = 1 b = 2 c = 3 return obj() and a DTML Document "testWith": --- --- when

[Zope] Localizer 1.1.0 released

2005-04-11 Thread J. David Ibáñez
Localizer 1.1 = April 7, 2005 - Two years after release of Localizer 1.0, I am pleased to announce the availability of the next major version, Localizer 1.1. Localizer is a Zope [1] product for developers and web masters. Localizer solves the problem of building multilingual products

Re: [Zope] ReSTX

2005-04-11 Thread Andreas Jung
--On Montag, 11. April 2005 9:09 Uhr +0200 "Rakotomandimby (R12y) Mihamina" <[EMAIL PROTECTED]> wrote: Hello, What about ReStructuredText? I found not much tutorial on it? How is its synonpsys (syntax) ? As always: there is documentation. Just look in the 'doc' folder of your Zope installation.

[Zope] ReSTX

2005-04-11 Thread Rakotomandimby (R12y) Mihamina
Hello, What about ReStructuredText? I found not much tutorial on it? How is its synonpsys (syntax) ? Thank you... :-) -- Les serveurs avec 10Mb/s se louent maintenant pour 50 ou 60 Euros par mois! La preuve http://www.google.fr/search?q=serveur+dedie Infogerance de serveur dedie http://aspo