Re: [Zope-dev] Issue with 'with' keyword in zope.interface

2006-09-09 Thread Wichert Akkerman
Previously Grig Gheorghiu wrote: Just thought I'd bring this to your attention: http://agiletesting.blogspot.com/2006/09/pay-attention-to-new-with-keyword.html The requested URL was not found on this server. Looks like the page was renamned and the URL is now

[Zope] assign REQUEST object to redirect?

2006-09-09 Thread Ferhat Ayaz
Hi, If I return n Script (Python) the following container.REQUEST.form['id'] = 1 return context.index_html(container.REQUEST) then I have access to request/form/id within the page template index_html. Now I must redirect instead of returning like return

[Zope] zope 2.9.4 new installation

2006-09-09 Thread Katja Süss
Hi * I installed zope 2.9.4 and could not start the instance. I receiced the error 'No module named cPersistence' Any idea why? Thanks for any hint, Katja Traceback (most recent call last): File /usr/local/bin/Zope-2.9.4/lib/python/Zope2/Startup/zopectl.py, line 322, in ? main() File

Re: [Zope] assign REQUEST object to redirect?

2006-09-09 Thread Andrew Milton
+---[ Ferhat Ayaz ]-- | Hi, | | If I return n Script (Python) the following | | container.REQUEST.form['id'] = 1 | return context.index_html(container.REQUEST) | | | then I have access to request/form/id within the page | template index_html. | | Now I must redirect

Re: [Zope] zope 2.9.4 new installation

2006-09-09 Thread Andreas Jung
--On 9. September 2006 11:46:36 +0200 Katja Süss [EMAIL PROTECTED] wrote: Hi * I installed zope 2.9.4 and could not start the instance. I receiced the error 'No module named cPersistence' Any idea why? Thanks for any hint, Katja Likely you have a problem with your installation. Compiling

Re: [Zope] assign REQUEST object to redirect?

2006-09-09 Thread Andreas Jung
--On 9. September 2006 03:20:55 -0700 Ferhat Ayaz [EMAIL PROTECTED] wrote: Thanks for your replay. I know the redirect (301) mechanism. I'm searching for an easy way to get the information as form post to the redirected url. Without appending it as a query string. A redirection can never

Re: [Zope] assign REQUEST object to redirect?

2006-09-09 Thread Maciej Wisniowski
container.REQUEST.form['id'] = 1 return context.index_html(container.REQUEST) then I have access to request/form/id within the page template index_html. Now I must redirect instead of returning like return container.REQUEST.RESPONSE.redirect('index_html') And what about session: in

Re: [Zope] zope 2.9.4 new installation

2006-09-09 Thread Katja Süss
Andreas Jung schrieb: --On 9. September 2006 11:46:36 +0200 Katja Süss [EMAIL PROTECTED] wrote: Hi * I installed zope 2.9.4 and could not start the instance. I receiced the error 'No module named cPersistence' Any idea why? Thanks for any hint, Katja Likely you have a problem with your

Re: [Zope] zope 2.9.4 new installation

2006-09-09 Thread Andreas Jung
--On 9. September 2006 13:29:53 +0200 Katja Süss [EMAIL PROTECTED] wrote: Andreas Jung schrieb: --On 9. September 2006 13:12:04 +0200 Katja Süss [EMAIL PROTECTED] wrote: ok, I've read the docs :-[ :-) any reasons not to stay on python 2.4.2 which is indeed declared as still

Re: [Zope] zope and sakai comparison

2006-09-09 Thread Sascha Welter
(Sat, Sep 09, 2006 at 12:00:08PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: From: David Bear [EMAIL PROTECTED] 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

[Zope] Session data

2006-09-09 Thread Anton Y. Yakovlev
Hi! >From Script (Python) object: request.SESSION[ 'some_data' ] = some_data; raise 'Redirect', context.some_script.absolute_url(); Why session object does not store data after redirect? -- Regards, Anton Yakovlev ___ Zope maillist -

Re: [Zope] Session data

2006-09-09 Thread David H
Anton Y. Yakovlev wrote: Hi! From Script (Python) object: request.SESSION[ 'some_data' ] = some_data; raise 'Redirect', context.some_script.absolute_url(); Why session object does not store data after redirect? Hi Anton, Google is bland on this, I don't use redirects.

Re: [Zope] Session data

2006-09-09 Thread Chris McDonough
You raised an exception. Exceptions cause the current transaction to abort, which causes the changes you've made to the session to be thrown out. Use request.RESPONSE.redirect(context.some_script.absolute_url()) instead. - C On Sep 9, 2006, at 6:26 PM, Anton Y. Yakovlev wrote: Hi!

Re: [Zope] zope and sakai comparison

2006-09-09 Thread David Lloyd
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://sakaiproject.org makes me belive that you are compaing apples and oranges. Nowhere does