Re: [Zope-dev] when will FSZSQLMethodes be ready for primetime?

2002-08-28 Thread Chris Withers

Jens Vagelpohl wrote:
 code base. unfortunately, the semantics differ widely from the accepted 
 standards for putting information like parameters at the top of the 
 file. his syntax is all different :/

I find this comment quite annoying. What are these 'accepted standards' you 
speak of? Where are they documented?

If you mean the way Script (Python)'s do this, I'd hardly call the an accepted 
standard or even relevant in this case. ZSQL Methods are DTML based, not python 
based. Perhaps you can enlighten me as to the documented accepted standards for 
specifying named parameters of filesystem based DTML methods? How about page 
templates? ;-)

For me, a dtml-comment block seems the logical equivalent of a set of python 
comments. Other than that, FSZSQLMethods beahve identically of normal ZSQL Methods.

All that is missing is a bit of documentation, which I'll see if I can add now.

cheers,

Chris


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] when will FSZSQLMethodes be ready for primetime?

2002-08-28 Thread Chris Withers

James Johnson wrote:
 Hi Chris,
   Is there a way to get the fszsqlmethod working on win32 with zope 
 2.5.1 and cmf1.2 or 1.3?  

They work fine.

 I've placed dtml-comments around the sql.  

Why? ;-)

 How 
 do I supply the connection id?

I've just added docs:
http://cvs.zope.org/CMF/docs/FSZSQLMethods.stx?rev=1.1content-type=text/vnd.viewcvs-markup

These should make the next release of CMF.

cheers,

Chris

PS: What on earth is this doing on the zope-dev list? It should be on zope-cmf.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] when will FSZSQLMethodes be ready for primetime?

2002-08-25 Thread James Johnson

Hi Chris,
   Is there a way to get the fszsqlmethod working on win32 with zope 2.5.1 
and cmf1.2 or 1.3?  I've placed dtml-comments around the sql.  How do I 
supply the connection id?
Thanks in advance,
- James

Traceback (most recent call last):

  File C:\Home\lib\python\Products\CMFCore\DirectoryView.py, line 167, in 
prepareContents
ob = t(name, e_filepath, fullname=entry)

  File C:\Home\lib\python\Products\CMFCore\FSZSQLMethod.py, line 53, in 
__init__
FSObject.__init__(self, id, filepath, fullname, properties)

  File C:\Home\lib\python\Products\CMFCore\FSObject.py, line 56, in 
__init__
self._readFile(0)

  File C:\Home\lib\python\Products\CMFCore\FSZSQLMethod.py, line 101, in 
_readFile
raise ValueError,The '%s' parameter is required but was not supplied % 
e

ValueError: The 'connection_id' parameter is required but was not supplied








From: Jens Vagelpohl [EMAIL PROTECTED]
To: James Johnson [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] when will FSZSQLMethodes be ready for primetime?
Date: Sat, 24 Aug 2002 09:07:42 -0400

they are already available. chris withers contributed them to the CMF code 
base. unfortunately, the semantics differ widely from the accepted 
standards for putting information like parameters at the top of the file. 
his syntax is all different :/

jens

On Friday, August 23, 2002, at 10:42 , James Johnson wrote:


Hello,
I'm trying to use zsql methods from the filesystem using the filesystem 
directory view.  DTML, ZPT, and python scripts show up but not the .zsql 
files.  Is there a way I can get them working now?  Is there a time frame 
for its release?
Thanks,
- James






_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )