Re: [Zope] Re: login page problem

2005-04-03 Thread Cliff Ford
I have been trying to think of ways of providing specific pointers, So, assuming you have a custom login page and a custom python script that processes that page: In the Python script you could set a cookie for the District: context.REQUEST.RESPONSE.setCookie('District', district) where

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Garito
Jim Fulton escribió: ZClasses are a feature that support through-the-web development. Many people have found them useful in the past, but they have some significant deficiencies, including: - They can't be managed with file-system tools, especially revision control systems like CVS and

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Dennis Allison
On Sun, 3 Apr 2005, Garito wrote: My +1 for ZClasses deprecation And +1 for DTML deprecation Try to keep Zope simple -1 for DTML deprecation. It serves a different purpose that ZPT-- DTML is Logic+HTML ZPT is HTML+Logic.

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Andreas Jung
--On Sonntag, 3. April 2005 14:57 Uhr +0200 Garito [EMAIL PROTECTED] wrote: And +1 for DTML deprecation Deprecating DTML was never an issue. So stop the discussion about DTML. We're talking about ZClasses. -aj pgp0r7S8eJ6rx.pgp Description: PGP signature

[Zope] Get all user folder instances

2005-04-03 Thread Garito
Hi I'm try to know the complet list of users in a Zope point with this structure: root acl_users (user folder) Folder1 acl_users (Pluggable user folder) Folder2 acl_users (Another user folder) Object1 Object2 how could I retrive the list of user

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Dieter Maurer
Andreas Jung wrote at 2005-4-2 08:58 +0200: --On Freitag, 1. April 2005 16:52 Uhr -0500 Jake [EMAIL PROTECTED] wrote: want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? To avoid that people use ZClasses in the future :-) ZClasses have a set

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Jim Fulton
Jake wrote: My question, since it now seems like I am not the only one using ZClasses I doubt that that is the case. is, why not support them? You listed out the reasons why someone wouldn't want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? Are

Re: [Zope] question about manipulating zcatalog query results

2005-04-03 Thread Dieter Maurer
Ira Sher wrote at 2005-4-1 14:29 -0700: I scoured the archives, and found mention of this problem, and a note by you, Dieter saying it was a problem with the 2.7 beta (this was back in May of 2004) but I can't find any subsequent mention of the issue Nobody mentioned it again -- until your

Re: [Zope] Get all user folder instances

2005-04-03 Thread Dieter Maurer
Garito wrote at 2005-4-3 17:36 +0200: root acl_users (user folder) Folder1 acl_users (Pluggable user folder) Folder2 acl_users (Another user folder) Object1 Object2 how could I retrive the list of user folders (in this case: /acl_users,

Re: [Zope] Re: login page problem

2005-04-03 Thread Dieter Maurer
prabuddha ray wrote at 2005-4-2 04:38 -0800: ... I've gone through the zopebook but dint find much help there. can u plz tell me where do i get to know about pythopn scripting done in zope n ZPT examples. The Zope Book (2.7 edition, online) definitely gives help on python scripting -- retry

Re: [Zope] question about manipulating zcatalog query results

2005-04-03 Thread Ira Sher
Dieter, I actually put the list in because one of the last suggestions in the archives to repair the problem had to do with enclosing the assignment in a list. The original code was essentially: if sorton == 'id': res=[(row.id.split().pop(), row) for row in results] res.sort() return res

[Zope] SESSION invalidate method

2005-04-03 Thread David H
Hi List, I am curious about the SESSION.invalidate() method. This code sets a SESSION key and value and then calls SESSION.invalidate(): tal:block define=dummy python:request.SESSION.set('Dodgers','Baseball') / p before invalidate /p p tal:content=python: request.SESSION / tal:block define=dummy

[Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread Dan E
Hi, Has anyone found a way to get a list of boolean values from dynamically created checkboxes. I have created a bunch of checkboxes within a repeat loop like this: input type=checkbox class=noborder name=cb_array:list:int

Re: [Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread Phillip Hutchings
On Apr 4, 2005 9:00 AM, Dan E [EMAIL PROTECTED] wrote: Hi, Has anyone found a way to get a list of boolean values from dynamically created checkboxes. I have created a bunch of checkboxes within a repeat loop like this: input type=checkbox class=noborder

[Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Phillip Hutchings
We could choose to deprecate ZClasses. If we deprecated them in Zope 2.8, they would still work in Zope 2.8 and Zope 2.9, but their support would be removed in Zope 2.10. Would anyone be upset if this happened? Another vote for depreciation. I've looked at ZClasses, got confused, and built

[Zope] script or external method ?

2005-04-03 Thread debugworld-linux
Hi all, i'm a new user of Zope; i'm studing it since two weeks and i think it's very interesting, 'cause has the same power of j2ee application server but it is much more easy to use! While i was developing my first Zope application i fell into this trouble: i would like to write a script that

[Zope] Re: SESSION invalidate method

2005-04-03 Thread Sune B. Woeller
hi David, I had the same problem, see this thread with a workaround, and this bug report: http://www.zope.org/Collectors/Zope/1594 regards, Sune B. Woeller David H wrote: Hi List, I am curious about the SESSION.invalidate() method. This code sets a SESSION key and value and then calls

RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-03 Thread Andy Yates
I do exactly the same thing, except that I do it directly in the ZPT : span tal:omit-tag= tal:define=setcontentype python:here.REQUEST.RESPONSE.setHeader('content-type', 'text/css')/ Pascal AH, an elegant solution! Thanks!! -Message d'origine- De : [EMAIL PROTECTED]

[Zope] Re: SESSION invalidate method

2005-04-03 Thread David H
Sune B. Woeller wrote: hi David, I had the same problem, see this thread with a workaround, and this bug report: http://www.zope.org/Collectors/Zope/1594 regards, Sune B. Woeller David H wrote: Hi List, I am curious about the SESSION.invalidate() method. This code sets a SESSION key and value and

[Zope-Annce] Zwiki 0.40 released, news for 2005/03

2005-04-03 Thread Simon Michael
What is it Zwiki is a Zope product for building wikis - a special kind of website that's easy for anyone to edit. See http://zwiki.org for more. What's changed Bugfixes, new japanese translation, chinese translation updates, new search option. See release notes below. Zwiki news this month

[Zope-dev] Five within Zope 2.8 - really cool !

2005-04-03 Thread Andreas Jung
I just would like to thank everyone working on the Five integration with Zope 2.8. It's really easy and fun to work with views, view classes, adapters and interfaces in a Zope 2 environment. I've always tried to get around Zope 3 somehow but now I am at the point where I am really convinced and

[Zope-dev] Re: [Zope2.8a2] ...to be released by tomorrow....

2005-04-03 Thread yuppie
Tres Seaver wrote: I still have a notion that some improvements made on the 2.7 branch are not merged into the SVN trunk, e.g. http://cvs.zope.org/Zope/lib/python/AccessControl/Attic/ZopeGuards.py.diff?r1=1.16.2.3r2=1.16.2.4 There is some debate here whether those changes (which Jim made only

Re: [Zope-dev] Re: post publishing hook

2005-04-03 Thread Dieter Maurer
Christian Heimes wrote at 2005-4-1 22:28 +0200: ... You want to bind some actions to the transaction system because you want to execute some code at the end of the first phase of the 2 phase commit. I do not think that Florent wants to execute things at the end or in the first commit phase.

Re: [Zope-dev] Re: post publishing hook

2005-04-03 Thread Florent Guillaume
Dieter Maurer [EMAIL PROTECTED] wrote: Christian Heimes wrote at 2005-4-1 22:28 +0200: ... You want to bind some actions to the transaction system because you want to execute some code at the end of the first phase of the 2 phase commit. I do not think that Florent wants to execute

Re: [Zope-dev] Re: post publishing hook

2005-04-03 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Dieter Maurer wrote: Christian Heimes wrote at 2005-4-1 22:28 +0200: ... You want to bind some actions to the transaction system because you want to execute some code at the end of the first phase of the 2 phase commit. I do not think

[Zope-dev] opinion: speeding up large PUT uploads

2005-04-03 Thread Chris McDonough
Zope's ZPublisher.HTTPRequest.HTTPRequest class has a method named processInputs. This method is responsible for parsing the body of all requests. It parses all upload bodies regardless of method: PUT, POST, GET, HEAD, etc. In doing so, it uses Python's FieldStorage module to potentially break

Re: [Zope-DB] ZODB/ZEO question.

2005-04-03 Thread Willadsens
Dieter Maurer wrote: Willadsens wrote at 2005-4-1 15:13 -0500: ... Here is (1) the original trace, failing on the commit: Traceback (most recent call last): ... File "/usr/local/lib/python2.4/site-packages/ZODB/Connection.py", line 610, in commit raise ConflictError(object=obj)