Re: [Zope] Atomic ZSQL on Zope 2.7.5

2006-04-25 Thread Floyd May
c to the point of frustration when working with Zope and MySQL. Perhaps the database adapter is at fault here? -- Floyd May Senior Systems Analyst CTLN - CareerTech Learning Network [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.z

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Floyd May
Paul Winkler wrote: On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: One solution I've found is to buffer the writes to REQUEST.RESPONSE by using a python script which the calls granular page templates rather than a single monolithic template, and outputting the results 25k

Re: [Zope] TAL page whitespace removal

2006-04-12 Thread Floyd May
he user. If you render & store before sending, you can catch rendering errors and handle them gracefully. -- Floyd May Senior Systems Analyst CTLN - CareerTech Learning Network [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://m

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Floyd May
e ran into situations where lack-of-docstring results in a NotFound. Not saying that this is the sole culprit of the trouble, but it's certainly worth knowing. -- Floyd May Senior Systems Analyst CTLN - CareerTech Learning Network [EMAIL PROTECTED] _

Re: [Zope] Zope crashes on request of certain page

2006-04-07 Thread Floyd May
retrieve data from the database. See here: http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx HTH! -- Floyd May Senior Systems Analyst CTLN - CareerTech Learning Network [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.z

[Zope] Strange behavior with TAL and python: expressions

2006-03-30 Thread Floyd May
nstead of TALES. Why would this happen? Is this expected? I'm using Zope 2.7.5 and Formulator 1.9. I'm not sure what other products to list here; this seems like a ZPT-related thing. Please let me know if there is any more information I can provide. Thanks! -- Floy

Re: [Zope] About Archetypes

2006-03-15 Thread Floyd May
y when writing page templates. Also, there's an Archetypes-users mailing list for these kind of questions: http://lists.sourceforge.net/lists/listinfo/archetypes-users The #plone channel on irc.freenode.net is also very helpful when dealing with Archetypes. -- Floyd May Senior Systems Analyst CT

[Zope] [Getting OT] major problems placing authentication on an extranet site-security flaw?

2006-02-16 Thread Floyd May
On 2/16/06, michael nt milne <[EMAIL PROTECTED]> wrote: > yeah, take his advice Chris :-) > > > On 2/16/06, Floyd May <[EMAIL PROTECTED]> wrote: > > It's been said a million times in a million different ways, so let's > > tick that counter one more tim

Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-16 Thread Floyd May
It's been said a million times in a million different ways, so let's tick that counter one more time and make it a million and one: DON'T FEED THE TROLLS. http://img18.photobucket.com/albums/v55/krazykit/2004-03-22_104550_troll.gif -- Floyd May Senior Systems Analyst CTLN - Care

Re: [Zope] about zope and mouse event handling

2006-02-10 Thread Floyd May
PIL. Here's a VERY brief page on it: http://plone.org/documentation/tutorial/richdocument/pil It's definitely possible to hook PIL into Zope, and it's been done in the past. You should be able to find some documentation or perhaps a product or two that uses it. -- Floyd M

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-10 Thread Floyd May
ope's security features is INTENTIONAL, and will not change, especially not to suit the needs of a disrespectful leech like yourself (and I use the word 'leech' to indicate that you expect it is perfectly fine to take from the Zope community without giving back). Consider thes

Re: [Zope] zserver-threads

2006-01-31 Thread Floyd May
On 1/31/06, Jake <[EMAIL PROTECTED]> wrote: Am I gleaming from that that you are proposing a less-is-more approach tothreads?Here is what I have been using:- Zope 2.7.8 (Plone 2.1.2)- RH Linux- AMD Athlon 64 3200+ 2.0 GHz- 2GB DDR RAM - 120,000 hits a day- 392,036 objects in database- 2 threads- 10

Re: [Zope] Re: Java vs Zope

2006-01-06 Thread Floyd May
At the risk of contributing to the usual "my programming language is better than yours" holy war, I'll throw in $0.02(US): There are a few things that make Zope a noteworthy alternative to a HTML + Java web server: Python is much less rigid in terms of types than Java, and it has nifty stuff li

Re: [Zope] zopectl or runzope just won't start zope

2005-12-14 Thread Floyd May
First, I would recommend against changing anything in any file at this point except configuration files. Next, verify that the correct python version is being used.  It's easy to have two pythons side-by-side on the same linux system.  If you built Zope from source, you (probably) should build pyt

Re: [Zope] msSql and python

2005-11-10 Thread Floyd May
You can pass arguments to ZSQL Methods. In this particular case, I assume that you don't want the WHERE clause in the query if the 'description' parameter is not passed? You can do it like this (inside the query): --8< WHERE description = --8<---

Re: [Zope] Debugging security settings in .metadata files

2005-10-27 Thread Floyd May
or at least, these don't). Should one be there? fm On 10/27/05, J Cameron Cooper <[EMAIL PROTECTED]> wrote: > Floyd May wrote: > > I have a set of files - page templates, python scripts, and zsql > > methods - that are set up as filesystem objects. I'm having troub

[Zope] Debugging security settings in .metadata files

2005-10-27 Thread Floyd May
I have a set of files - page templates, python scripts, and zsql methods - that are set up as filesystem objects. I'm having trouble getting the security set the way I want it to be with the .metadata files. Here is the content of my .metadata files: --8<- [sec

Re: [Zope] Re: Filesystem Page Template lowercase-ifying all my tags

2005-10-26 Thread Floyd May
lates that I'm using are read from the filesystem, they are the filesystem-equivalents to the ZODB-stored objects. Specifically, I discovered that the FSPageTemplate from CMFCore will set the content_type attribute on the object to 'text/xml' if the file begins with ' wrote:

[Zope] Re: Filesystem Page Template lowercase-ifying all my tags

2005-10-26 Thread Floyd May
s for how to make this all happen, I can't have my XML tags get lower-case-ified. Please help! Zope 2.7.7-final, python 2.3.5, freebsd5 Page Templates 1.4.0 CMF 1.4.8 fm On 10/25/05, Floyd May <[EMAIL PROTECTED]> wrote: > I have a product that installs some filesystem page templates

[Zope] Filesystem Page Template lowercase-ifying all my tags

2005-10-25 Thread Floyd May
I have a product that installs some filesystem page templates into a plone site's portal_skins.  The templates are exactly the same as their created-through-ZMI counterparts, yet the filesystem templates render with all their tags lower-cased, whereas the ZMI-created templates preserve case.  Why i

Re: [Zope] Using the set object within page templates

2005-09-26 Thread Floyd May
de to trusted code (Zope product). -aj --On 26. September 2005 13:38:55 -0500 Floyd May <[EMAIL PROTECTED]> wrote: > How can I use a set object within a page template? > > When I attempt to create a set (e.g. tal:define="myset > python:set(some_list)"), zope complains that

[Zope] Using the set object within page templates

2005-09-26 Thread Floyd May
How can I use a set object within a page template? When I attempt to create a set (e.g. tal:define="myset python:set(some_list)"), zope complains that the name 'set' is not defined. Thanks! fm ___ Zope maillist - Zope@zope.org http://mail.zope.org/ma