Re: [Zope-dev] Re: ZPT for CSS, anyone?

2004-04-02 Thread Craeg K Strong
Here is one option I happen to like: generate CSS via XSLT from an XML dialect It has the following pre-requisite: make XSLT available as part of the Zope framework. Once you can rely on having XSLT as part of your framework (it really should be part of batteries included IMHO), you can do

[Zope-dev] Re: CVS File 0.9 bugs

2003-10-07 Thread Craeg K Strong
Tel +39 0332 250111 __/__/ Servizi Integrati Avanzati Fax +39 0332 250199 via Cairoli, 5 - 21100 Varese http://www.linkgroup.it/ -- Craeg K Strong, General Partner Ariel Partners LLC http://www.arielpartners.com voice 781-647-2425 fax 781-647-9690 NOTICE

Re: [Zope-dev] Using 2.3.2 for Zope 2.7

2003-10-04 Thread Craeg K Strong
+1000 for moving directly to 2.3.2 I maintain several existing Zope add-on products that have to change anyway to be compatible with 2.7. Why on earth would I want to go through that pain *twice* ? Change is inevitable. Killing two birds with one stone means less pain overall, IMHO. --Craeg

[Zope-dev] looking for zope consultant, DC area

2003-07-28 Thread Craeg K Strong
Greetings, all: Regular zope-dev poster here with an unusual item... We are looking for a Zope developer in the Washington D.C. area; US citizenship required. Is this the right forum to post such a request? If not, please advise. Thanks, --Craeg

Re: [Zope-dev] Any thoughts on when Zope 2.7 beta1 might be available?

2003-03-30 Thread Craeg K Strong
is that they would probably be useful for others in the same situation. Of course you would want to put a disclaimer there about support in BOLD letters :) Thanks again for the offer! --Craeg Chris Withers wrote: Craeg K Strong wrote: Thanks much for the quick response. And good news, too! Hum. In your

Re: [Zope-dev] Any thoughts on when Zope 2.7 beta1 might be available?

2003-03-21 Thread Craeg K Strong
almost certainly don't want to be tracking the trunk, as its relatively volatile at the moment. - C On Fri, 2003-03-21 at 02:42, Craeg K Strong wrote: Hello: I am using multiple third party Python libraries with Zope, and they are no longer supporting Python 2.1.X at all. I am forced to upgrade

[Zope-dev] Any thoughts on when Zope 2.7 beta1 might be available?

2003-03-20 Thread Craeg K Strong
Hello: I am using multiple third party Python libraries with Zope, and they are no longer supporting Python 2.1.X at all. I am forced to upgrade to Python 2.2.X As I see it, my options are: 1- try to recompile Zope 2.6.1 from source using Python 2.2.2 (and cross my fingers) 2- wait for the

[Zope-dev] How To Improve Cache Coherency for RAM/Disk Cache Manager...?

2003-03-03 Thread Craeg K Strong
Hello: I am getting ready to release the next version of XMLTransform, and in revisiting the Caching strategy for the product, I realized there are larger issues that probably deserve a discussion here. The bottom line is that transforming XML to something else via XSLT is a potentially

[Zope-dev] Declaring Dependencies for XML documents (Was: How To Improve CacheCoherency for RAM/Disk Cache Manager...?)

2003-03-03 Thread Craeg K Strong
Jamie Heilman wrote: Why make the unlucky user pay the price? Because the unlucky user (which I read as: author) is the only one who knows the required behavior of their code. Allow me to clarify -- I meant the end user browsing the website. I hate it when I surf to a less-highly-used

Re: [Zope-dev] Re: RDF Musings and TinyTables

2003-02-20 Thread Craeg K Strong
Paul Everitt wrote: On jeudi, fév 20, 2003, at 22:15 Europe/Paris, Shane Hathaway wrote: - RDF is hard to read, but legibility by humans isn't its primary focus. It's more concerned with providing a way to declare any relationship about anything. Right. That's what the graph tool at the

Re: [Zope-dev] Re: Unsecure design of ExternalFile

2002-11-08 Thread Craeg K Strong
The exception report will include appropriate instructions Comments? --Craeg Martijn Pieters wrote: On Thu, Nov 07, 2002 at 11:24:35AM -0500, Craeg K Strong wrote: What would you recommend? Perhaps there should be a predefined list of forbidden directories for ExternalFiles? The problem

[Zope-dev] Re: Unsecure design of ExternalFile

2002-11-07 Thread Craeg K Strong
Yikes! Scary stuff. However, here are some things to consider: a) ExternalFile advertises itself as being a developers/ content authors tool, not really for production. Of course, most folks end up using it for production, anyway... ;-) b) Once created, an ExternalFile cannot be retargetted to

[Zope-dev] Unit tests for Zope products: how to test HTTP access to objectsin ZODB?

2002-11-06 Thread Craeg K Strong
Hello: I am trying to add some unit tests for my XMLTransform product that test URL to Zope object traversal. For example, I want to ensure that one XSLT (a zope object) can include another using xsl:include ../foo.xsl/ Zope should transform the above into a request for a zope object with an

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-13 Thread Craeg K Strong
Steve Alexander wrote: My application can then automatically send notifications to others based on the execution of the VisitURL Command. I can send email to my group saying So and so has seen the contract Incorrect. This shows that they read the original email, and intended to view the

Re: [Zope-dev] How can I find out who visited a URL within my ZopeProduct?

2002-10-08 Thread Craeg K Strong
know that the recipient either hasn't read his mail or hasn't clicked on the URL. We can then send it to someone else or call his boss and complain ;-) --Craeg Craeg K Strong wrote: Hello: I would like to log the identity of the authenticated user for *every* URL traversal within my Zope

[Zope-dev] MailHost.py does not set the Date header, who's bug?

2002-10-04 Thread Craeg K Strong
Hello: I have noticed that all of my notifications on page edits in my ZWiki are dated year=1969. This happens because there is no Date header in the email message sent from ZWiki (version 0.10) The MailHost product that comes with Zope 2.5.1 does not add a Date header to mail messages. My

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect():is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
I believe HTTP_REFERER will list the place from whence you were redirected, but unfortunately it does not distinguish between redirect and following HTML link Of which my application has many :-( --Craeg Casey Duncan wrote: On Friday 27 September 2002 12:49 pm, Craeg K Strong wrote

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect():is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
back to it, it is no longer telling the truth ;-) --Craeg Oliver Bleutgen wrote: Craeg K Strong wrote: However, I would like to distinguish between two cases: a) Direct Navigation: e.g.I am a user and I just typed in http://acme.com/myapp/contracts/TRW-001/taskorders/TO-01/invoices/DSDC

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
be the king of all hacks, but it might work :-} --Craeg Florent Guillaume wrote: Craeg K Strong [EMAIL PROTECTED] wrote: However, I would like to distinguish between two cases: a) Direct Navigation: e.g.I am a user and I just typed in http://acme.com/myapp/contracts/TRW-001/taskorders/TO-01

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect():is there another way to change the browser URL?

2002-09-27 Thread Craeg K Strong
Andreas Kostyrka wrote: Am Fre, 2002-09-27 um 20.58 schrieb Craeg K Strong: Thanks for the advice! Unfortunately, I don't know how to do what you suggest. I believe that a redirect always causes a GET, rather than a POST, no? Also, hidden form fields are filled in on the original request

Re: [Zope-dev] how to change to another authenticated user programmatically?

2002-09-25 Thread Craeg K Strong
Hello: This is a great idea! Even better, it is very easy to implement. Brilliant. We will do it this way. Many thanks to all who responded. zope-dev rocks :) --Craeg Andreas Kostyrka wrote: Am Die, 2002-09-24 um 19.41 schrieb Craeg K Strong: Alternative number two is to force the user

[Zope-dev] how to change to another authenticated user programmatically?

2002-09-24 Thread Craeg K Strong
Hello: I am working on an application where users register themselves. That is, there will be a registrar username and password that is sent out to all prospective users via email. The only thing the registrar can do is add a user. The most convenient thing would be for the user to log in as

[Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is thereanother way to change the browser URL?

2002-09-23 Thread Craeg K Strong
Hello: I have defined a __before_publishing__traverse__() method in my Zope product. Its job is to redirect the URL displayed in the browser to a nice looking URL, something like ../myapp/invoices/123 instead of ../myapp/execute That way all my ZPT forms can call the same method: execute(),

Re: [Zope-dev] Unit testing on win32 with FAT requires patch to custom_zodb.py,isthis a known issue?

2002-09-10 Thread Craeg K Strong
Hello: I was just curious as to what the status is on this. I just had to apply the patch to yet another Win2000 computer. Thanks, --Craeg Shane Hathaway wrote: On Thu, 29 Aug 2002, Chris Withers wrote: Shane Hathaway wrote: No, this is not a known issue. Could you provide a traceback?

[Zope-dev] Unit testing on win32 with FAT requires patch to custom_zodb.py,is this a known issue?

2002-08-26 Thread Craeg K Strong
Hello: In order to use the unit testing facility for my custom Zope Products under FAT in win32, I had to do the following: In the file name:: [ZOPE]\lib\python\Testing\custom_zodb.py Where ZOPE stands for the directory in which you installed Zope, Change line number seven::

[Zope-dev] [OPINIONS SOLICITED] Adding Batch Factory to ZMI Add menu OK?

2002-05-27 Thread Craeg K Strong
Hello: I am about to release a new version of the ExternalFile and CVSFile products http://www.zope.org/Members/arielpartners/ExternalFile They are Zope objects that behave like standard Zope objects but retrieve their content from files anywhere in the file system. (kind of like a windows

[Zope-dev] Is there a de facto standard for manage_add() behavior?

2002-04-24 Thread Craeg K Strong
Hello: I have a question about style. My ExternalFile product enables one to create zope objects that behave like DTML methods or DTML documents but point to external files for their content. The creation routines handle many different possible cases - external file does not exist yet,

Re: [Zope-dev] Simplification via custom protocol handlers: cvs://server/project,zope://foo ?

2002-04-03 Thread Craeg K Strong
Dieter Maurer wrote: Craeg K Strong writes: ... The Zope protocol handler idea is interesting, and I haven't thought this all the way through yet. Could dtml-var blat be thought of as referring to zope://blat where the Zope protocol is the default and therefore omitted? I do

[Zope-dev] Simplification via custom protocol handlers: cvs://server/project,zope://foo ?

2002-04-01 Thread Craeg K Strong
Hello: I am the author of the CVSFile product, available at http://www.zope.org/Members/arielpartners/CVSFile I am thinking about implementing a new design, and wanted to get some feedback from the list first (perhaps others have tried this approach?) Here is a description of our problem:

Re: [Zope-dev] Zope 2.6 project updated

2002-03-07 Thread Craeg K. Strong
Stephan Richter wrote: I am afraid I must second this opinion. We recently looked at OrderedFolder, thinking to subclass it to produce our Slideshow product. The idea was to make a lightweight web-based replacement for PowerPoint where you can define the order of the slides and can

Re: [Zope-dev] Zope 2.6 project updated

2002-03-06 Thread Craeg K. Strong
Stephan Richter wrote: If OF will make it in the core, the ZBabel stuff will be taken out of it in anyway, since no part of Zope has something like that in it. I am also tempted to say that only the ordering module should go in (maybe the limit as well), since other functionality seems

[Zope-dev] Re: Zope vs. Cocoon

2002-02-25 Thread Craeg K. Strong
K Strong, General Partner Ariel Partners LLC http://www.arielpartners.com voice 781-647-2425 fax 781-647-9690 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED

[Zope-dev] [ANNOUNCE] ArielPartners releases ExternalFile 0.9

2002-02-18 Thread Craeg K. Strong
This is the third public release of our ExternalFile http://www.zope.org/Members/arielpartners/ExternalFile product. Why not simply use ExtFile http://www.zope.org/Members/MacGregor/ExtFile? Because ExternalFile supports pointing to a file in situ like a symbolic link, rather than copying

[Zope-dev] [ANNOUNCE] ArielPartners releases CVSFile 0.7

2002-02-18 Thread Craeg K. Strong
This is the first public release of our CVSFile http://www.zope.org/Members/arielpartners/CVSFile product. CVSFile enables Zope content to be served out of files residing in CVS sandboxes, and provides access to common CVS functions through the web in the Zope Management Interface. Why not

[Zope-dev] How to automatically redirect publishing request to another folder?

2002-01-24 Thread Craeg K. Strong
Hello: We have a Slideshow product that is similar to OrderedFolder in that it maintains an ordered list of contents. Each subfolder represents a slide. To view a particular slide, you navigate to the subfolder, it automatically calls index_html, and there's your slide. All of the slides

[Zope-dev] ExternalFile released

2002-01-20 Thread Craeg K. Strong
In case any of you hadn't seen it yet, here is the news item I just posted on zope.org: ExternalFile 0.8 Released (Stable) Created by arielpartners http://www.zope.org/Members/arielpartners on 2002/01/17. This is the second public release of our ExternalFile

[Zope-dev] [Fwd: Does anyone know how to suppress display of +/- signs on a dtml-tree?]

2002-01-06 Thread Craeg K. Strong
I would like to answer my own question (see below). According to ZOPE/lib/python/TreeDisplay/TreeTag.py, there is no way to suppress the display of the + or - signs. However, there certain parameters to __init__ that have been commented out: # opened_decoration = None, #

[Zope-dev] Does anyone know how to suppress display of +/- signs on a dtml-tree?

2002-01-01 Thread Craeg K. Strong
Hello: I want to display a dtml-tree always expanded, with no controls visible for contracting (basically, an indented list of links). I set the tree to always expand via the following: dtml-call expr=REQUEST.set('expand_all', 1) dtml-tree single=0 name=catalog branches=objectValues But I

[Zope-dev] Anyone know how to pre-expand a certain branch of a dtml-tree?

2002-01-01 Thread Craeg K. Strong
Hello: I want a certain branch of my dtml-tree to be pre-expanded whenever the webpage that contains the tree is displayed. My dtml-tree is quite simple; I use the usual subordinate folder structure setup: dtml-tree single=0 name=catalog branches=objectValues TIA! --Craeg

[Zope-dev] Can edit via FTP respect Zope versions?

2001-11-14 Thread Craeg K. Strong
I would like to see the following scenario: 1) I go into Zope/manage_main, create a Version, and enter it. 2) Outside Zope, I use emacs and pull up a DTMLDocument in an edit buffer using FTP 3) I make my changes and save the file (FTP PUT) 4) I return to Zope and see that the changes have

[Zope-dev] Any interest in a set of Zope products to support CVS-versioned, XML/XSLT-based Zope development?

2001-10-30 Thread Craeg K. Strong
Greetings! We at Ariel have recently started using Zope and, needless to say, we are enjoying a large increase in productivity compared to our previous Apache-Cocoon2-Tomcat-Servlet-dbXML-Java environment. In our opinion, Zope is about a year or two ahead of where these guys are in many

[Zope-dev] Anyone know how to add a property to a Zope Product (not its instances)?

2001-10-19 Thread Craeg K. Strong
I am developing a new Zope product in python. Normally one adds properties to a product like so: class newProduct(SimpleItem, etc): meta_type 'NewProduct' _properties = ( {'id': 'title', 'type':'string'}, { 'id':'description','type':'string'}, {'id':'foobar' ,

[Zope-dev] How to get the FULL path of an uploaded file?

2001-10-18 Thread Craeg K. Strong
Does anyone know offhand how to get the FULL path of an uploaded file? I am using the standard HTML input type=file within a form inside a DTML document. Inside my python method, I am getting a ZPublisher.HTTPRequest.FileUpload object. Fine. This stuff wraps the standard python cgi module