Re: [Zope-dev] zope connector

2003-02-19 Thread J Cameron Cooper
Your idea sounds interesting and require more investigation on my part. I need to write application on a remote zope server (via wan, not part of our domain, but an extranet site) to access database tables on my domain. I don't think the other server has ZEO running. (Neither do I, but I can

Re: [Zope-dev] implementing structured text alternative w/in Zope

2003-03-07 Thread J Cameron Cooper
I'm a programmer but new to Zope. I'm developing a text markup language like Structured Text that better suits my needs outside the Zope/Python world. Would I be able to incorporate it within Zope, i.e., so I could edit the new format in the edit window and have it displayed as HTML by the

Re: [Zope-dev] PyOpenGL support?

2003-03-11 Thread J Cameron Cooper
I've spent the last couple of days going through the Zope docs, mail archives, and even googling, but I can't find a lot of information on using PyOpenGL with Zope. I've found a message from Anthony Pfrunder, dated July 1999: Within the next few weeks I'll be releasing an extension patch to

Re: [Zope-dev] Documentation

2003-03-12 Thread J Cameron Cooper
I was wanting make my jobs with a good presentation. So I downloaded Zope Website Documentation Tool. I followed the instructions. Unpacked the file, copy it to the import folder, gonne to root folder in Zope and then clicked import button. Unceremoniousness Zope said to me : The object broken

Re: [Zope-dev] Versions: should they die?

2003-06-06 Thread J Cameron Cooper
Sorry if is OT. I'd like ZODB and Zope to support Revisions. That is, historical copies that do not get removed when ZODB is packed. DirectoryStorage allows you to designate classes that should have all their history kept indefinitely. That may not have the flexibility that you need...

Re: [Zope-dev] zpt z-sql?

2003-06-19 Thread J Cameron Cooper
What would be the syntax to call a z-sql (passing one or more parameters) from a zpt? The z-sql would retrieve a single row. Fields from this row to be shown in the zpt. I moved this over to [EMAIL PROTECTED] This list is development *of* Zope, rather than *with* Zope. --jcc

Re: [Zope-dev] FileUpload questions

2003-08-14 Thread J Cameron Cooper
I have been looking at the FileUpload class defined in HTTPRequest.py but am still a little confused about how it works. When a form is submitted with an input type=file ..., where are the contents of the uploaded file stored? Is it automatically stored in the ZODB, or is it stored in

Re: [Zope-dev] Reading contents of a Page Template

2003-08-18 Thread J Cameron Cooper
I have a requirement to create a SiteMap for my site. My site is dynamically built from the Zope tree structure. Folder and Sub Folders need to appear as a tree structure and need to be sorted by name and date. I have viewed the examples in the Examples folder in ZMI and gotten a general Idea of

Re: [Zope-dev] Javascript variables Form element values and zope

2003-10-03 Thread J. Cameron Cooper
This list is for development of Zope. You want the zope users list at [EMAIL PROTECTED] I have this little form and I would like to know how to persuade dtml or python to access the javascript variables in the set_p function and the element values in the form LOG. This is impossible as you

Re: [Zope-dev] dir()

2003-11-06 Thread J Cameron Cooper
I started to program for Zope and have found out, that some commands in Python have been excluded. I miss command dir(). Whether there is any opportunity to replace it? Or how I can find out methods/properties of object? You can get a Python console to the live Zope system using 'zctl.py

[Zope-dev] typo fix

2003-11-26 Thread J. Cameron Cooper
Here's a super-quick bug fix for someone with a Zope development tree. I'm currently trying to decide how one might turn a directive. Zope/skel/etc/zope.conf # If this directive is turned, Zope performs 'product installation' # If this directive is turned on, Zope performs 'product

Re: [Zope-dev] 2.7 on Windows

2003-12-08 Thread J. Cameron Cooper
Lennart Regebro wrote: I'm having serious trouble in getting HEAD running in Windows. Obviously, configure doesn't work. :-) I found something on zope.org telling me to run python inst\configure.py and in in turn tells me to run nmake build. This builds Zope, but creates no z2.py or runzope.py

Re: [Zope-dev] WebDAV Collection/Resource Chameleon Question

2003-12-08 Thread J. Cameron Cooper
Eric Roby wrote: We are trying to make a 'folderish' (WebDAV Collection) class appear as a WebDAV Resource to WebDAV clients. I won't go into the reasons why we want to do this unless someone is interested. We have made several attempts at this but have been unsuccessful to date. Rather than

Re: [Zope-dev] Help with the change of URL and/or port

2004-01-17 Thread J Cameron Cooper
Fábio Bruno wrote: Dear Sir or Madame I'm wrigting because I started to do a plone site in zope.I would lke to know if I can change the url and/or port where the plone site stays.I would like to know how to chenge this path http:\\localhost:8080\Plone. You need a VirtualHostMonster and

Re: [Zope-dev] Help with ZClasses

2004-01-20 Thread J. Cameron Cooper
Fábio Bruno wrote: Dear Sir or Madame I'm workign with zope ZClasses in zope 2.7.0b.I decided to do the example given to us at this site http://zope.org/Members/dedalu/precosHowto/#top1.I can not do the question 3.1 and 3.2 for the same reason.They tell us to change PrecosFolder_add but when

Re: [Zope-dev] data migration from zope 2.6.1 to zope 2.7.0-b2

2004-02-06 Thread J Cameron Cooper
altkey wrote: I am fairly new to zope python but I am working to migrate some data/objects from zope 2.6.1 to zope 2.7.0-b2 (and eventually 2.7.0 final. What I am doing is this. (1) get Dublin core metadata + some Dublin core extensions for the objects (2) get pure text

Re: [Zope-dev] help

2004-02-24 Thread J Cameron Cooper
Vandana Bajaj wrote: I am a software developer in SuSE I have installed Zope in SUSE. I want to be able to print from a html page to a printer with measurements as per to the html page produced. I wish to know whther printing from a web page is possoble or not. If yes then is it possible to print

Re: [Zope-dev] Problem with editing dtml in textarea

2004-03-23 Thread J Cameron Cooper
pieter claassen wrote: For some reason if I do the following: textarea name=col1 rows=30 cols=120 dtml-var expr=_.getitem('1_col',0) html_quote/textarea I can edit the html but all dtml is interpreted. It has not been told to do otherwise. I am trying to build a dtml page with which I can edit

Re: [Zope-dev] Listing a groups users via Python and portal_groups

2005-07-21 Thread J Cameron Cooper
Takahashi, Michael wrote: I’m trying to work on a function call using Python that will list the users of any specified group using the function portal_groups. I’ve been able to successfully do this the opposite way by getting the users groups via portal_membership:

Re: [Zope-dev] Listing a groups users via Python and portal_groups

2005-07-21 Thread J Cameron Cooper
the methods from the group tools. Like the ones I mentioned by name. One of them even does exactly what you want:: context.portal_groups.getGroupById('group1').getGroupMemberIds() --jcc -Original Message- From: J Cameron Cooper [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: [Zope-dev] Re: Listing a groups users via Python and portal_groups

2005-07-22 Thread J Cameron Cooper
Hitesh Shetty wrote: Im trying to implement a file system in the process i came accross Zope and ZODB however i cant figure out where to start since its important to study ZODB's architecture regards http://www.zope.org/Documentation/Articles Specifically

Re: [Zope-dev] [RfC] Removal of old stuff in Zope 2.10

2005-12-22 Thread J Cameron Cooper
Dario Lopez-Kästen wrote: Chris Withers wrote: Andreas Jung wrote: I've never met ppl who actually used the HelpSys so that's why I am raising the question about the value of the HelpSys. Lots of my co-workers work with Zope on different levels (scripters, product developers)...I've

Re: [Zope-dev] [RfC] Removal of old stuff in Zope 2.10

2005-12-22 Thread J Cameron Cooper
Dario Lopez-Kästen wrote: Chris Withers wrote: Andreas Jung wrote: I've never met ppl who actually used the HelpSys so that's why I am raising the question about the value of the HelpSys. Lots of my co-workers work with Zope on different levels (scripters, product developers)...I've

[Zope-dev] KeyError in ZRDB.DA cache handling

2008-01-04 Thread J Cameron Cooper
On our fairly busy site (http://cnx.org) we're seeing in the logs some instances of an error in Shared.DC.ZRDB.DA:: ... Module None, line 97, in search_form_handler - FSPythonScript at /plone/search_form_handler used for /plone/content - Line 97 Module

[Zope-dev] Re: KeyError in ZRDB.DA cache handling

2008-01-15 Thread J Cameron Cooper
Chris Withers wrote: Hi there, J Cameron Cooper wrote: but we have that fix in our Zope 2.9.8: http://osdir.com/ml/web.zope.all-cvs/2006-11/msg00150.html Are you absolutely sure you're using a version of Zope with my patches included? Yes; I've checked both version (this went