Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
David H wrote: Erik Myllymaki wrote: David H wrote: Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages a

Re: [Zope] question on URL styling

2006-09-11 Thread David H
Erik Myllymaki wrote: David H wrote: Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directo

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Olavo Santos
From: "Ferhat Ayaz" <[EMAIL PROTECTED]> Sent: Monday, 11 de September de 2006 9:57 Hello. > But know I'm standing against the problem: calling > Scripts from an authentication Folder within the > application server. > > + MySite : index_html >> -+ Admin : getUser > > In index_html: > > will

Re: [Zope] zope and sakai comparison

2006-09-11 Thread David Bear
On Sun, Sep 10, 2006 at 10:06:33AM +0930, David Lloyd wrote: > > Sacscha, > > >>Our university has dump a lot of money into sakai. I don't know > >>anything about it but I wonder if someone has compared sakai with > >>zope? > > > >I don't know Sakai either, but a 30 seconds look at http://sakaipr

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
David H wrote: Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates a

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Dieter Maurer
Ferhat Ayaz wrote at 2006-9-11 01:05 -0700: >I want to restrict access to a subfolder: > >Folder structure: >- >Root Folder > +- MySite > +- Admin > > >Access limitation: >- >My Site: Public for all >Admin: Only with Basic Authent

Re: [Zope] question on URL styling

2006-09-11 Thread David H
Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.h

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
Andreas Jung wrote: --On 11. September 2006 09:33:39 -0700 Erik Myllymaki <[EMAIL PROTECTED]> wrote: I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Basically yes. But it is bad practice

Re: [Zope] question on URL styling

2006-09-11 Thread Andreas Jung
--On 11. September 2006 09:33:39 -0700 Erik Myllymaki <[EMAIL PROTECTED]> wrote: I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Basically yes. But it is bad practice to perform redirections

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Erik Myllymaki wrote: I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page-

Re: [Zope] question on URL styling

2006-09-11 Thread Jonathan
- Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page-2.html, .

[Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page-2.html, ... page-n.html. I am using two submit buttons on each of the pages; one for 'Next' and one for 'Previous' so that I catch changes to the form elements in each dire

Re: [Zope] Upload file to server for encoding...

2006-09-11 Thread Jonathan
- Original Message - From: "Nick Gr" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Monday, September 11, 2006 10:46 AM Subject: Re: [Zope] Upload file to server for encoding... . Any ideas how the user will download back the file? should the download begin automat

Re: [Zope] Upload file to server for encoding...

2006-09-11 Thread Nick Gr
Using ExtFile I just could have access to my file systems, how can I use it to upload a file from my website visitors pc ? You use an html form to get the user to specify which file they want to upload from their pc. Your form handler routine will receive a File upload object, here's some i

Re: [Zope] Upload file to server for encoding...

2006-09-11 Thread Jonathan
- Original Message - From: "Nick Gr" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Monday, September 11, 2006 10:14 AM Subject: Re: [Zope] Upload file to server for encoding... Using ExtFile I just could have access to my file systems, how can I use it to upload a

Re: [Zope] Upload file to server for encoding...

2006-09-11 Thread Nick Gr
A) Upload a file to the server B)After the file is uploaded , I have write a python program to encode the file C)When the encoding is finish, user must download the file back to his machine. I'm very new to Zope and I choose it because I thought it should have an easy and good communica

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Ferhat Ayaz
hmm. But isn't it a hard work to set each script a specific permission instead of setting (I don't know how) the contained folder to the right permission? I want give to all Scripts full access, if these are called from another ZObject (page templates, etc.). but I don't want, that this script can

Re: [Zope] Upload file to server for encoding...

2006-09-11 Thread Jonathan
- Original Message - From: "Nick Gr" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 8:08 AM Subject: [Zope] Upload file to server for encoding... Hello Zope community, I just installed Zope-2.9.4 in a windows XP SP2 . I'm making a web site that the visitors should: A)

[Zope] Upload file to server for encoding...

2006-09-11 Thread Nick Gr
Hello Zope community, I just installed Zope-2.9.4 in a windows XP SP2 . I'm making a web site that the visitors should: A) Upload a file to the server B)After the file is uploaded , I have write a python program to encode the file C)When the encoding is finish, user must download the file

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Chris Withers
Ferhat Ayaz wrote: In index_html: will an authenticated user. But the page template MySite/index_html should have access to the Script Admin/getUser. I don't know how to do this.?? I think you're looking for Proxy Roles... Chris -- Simplistix - Content Management, Zope & Python Consulting

Re: [Zope] Authentication Problem with migration from Zope 2.6.1 to Zope 2.9.4

2006-09-11 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please keep this on the list. I am not some personal help desk, unless you pay me. Are you sure the DTML method is finding the correct obect to call "findUsers" on? ya, am sure n confirmed tht the object i mean LDAP directory server is found

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Ferhat Ayaz
argh, yes thanks. It's better then basic auth. (and easier) But know I'm standing against the problem: calling Scripts from an authentication Folder within the application server. + MySite : index_html |-+ Admin : getUser In index_html: will an authenticated user. But the page template MySite

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Andreas Jung
--On 11. September 2006 01:05:01 -0700 Ferhat Ayaz <[EMAIL PROTECTED]> wrote: Hi, I want to restrict access to a subfolder: Folder structure: - Root Folder +- MySite +- Admin Access limitation: - My Site: Public for a

[Zope] Authentication on a Folder?

2006-09-11 Thread Ferhat Ayaz
Hi, I want to restrict access to a subfolder: Folder structure: - Root Folder +- MySite +- Admin Access limitation: - My Site: Public for all Admin: Only with Basic Authentication Notes: - My