Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Timothy Wilson
On Wed, 24 May 2000, Rik Hoekstra wrote: > "J. Atwood" wrote: > > > > Ok.. this is really dumb, but for some reason I can't get this to work. > > > > > > I believe this should be > > I wonder if someone would be kind enough to translate Rik's code into Enlish for me. I know that expres

Re: [Zope] Higher Education

2000-05-26 Thread Timothy Wilson
On Fri, 26 May 2000, Rik Hoekstra wrote: > >How many are still interested in this? > > I was among one of the first to be active in the zope-edu list and I am > still interested and even working on a product for course maintenance. I > even sent Shane an immature snapshot, but had to reimplement

Re: [Zope] Zope LDAP Browser

2000-06-05 Thread Timothy Wilson
On Mon, 5 Jun 2000, Pierre-Julien Grizel wrote: > I wrote in my spare time a LDAP browser with Zope. You can try it at > www.xlogx.org/Zygopetale (it's available in french & english). I can't find any sign of an xlogx.org domain. Am I missing something? -Tim -- Tim Wilson | Visit Sibley o

Re: [Zope] News tickers

2000-06-07 Thread Timothy Wilson
On Wed, 7 Jun 2000, Oleg Broytmann wrote: >Also I'm looking a Product to import RDF/RSS files - I rememeber seeing > it somewhere. Check out RSS Channel and XML Document. You'll find them at zope.org. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | htt

[Zope] Attn all Minnesota Zope fans

2000-06-12 Thread Timothy Wilson
Hi everyone, I'd like to know if anyone else in the Twin Cities region of Minnesota is using Zope. I've hooked up with a couple other people in the past few months, and I'm wondering if there's a critical mass of people who would be interested in a *very* informal Zope SIG. Please let me know (ev

[Zope] parsing strings in DTML

2000-06-26 Thread Timothy Wilson
Hi everyone, I'm working on what should be a simple problem. I pulling an address out of an ldap query and the data is in the form of a $-separated string. Example: 101 Main St.$Anytown$MN$12345 Please correct me if I'm wrong, but I could probably do except for the fact that getting "old_addr

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Timothy Wilson
On Mon, 26 Jun 2000, Rik Hoekstra wrote: > >Please correct me if I'm wrong, but I could probably do >"REQUEST.set('parsed_address', _.string.join(old_address, '$')"> except for > >the fact that getting "old_address" (the $-separated one) would require its > >own statement. I can't nest s so how

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Timothy Wilson
On Mon, 26 Jun 2000, Rik Hoekstra wrote: > try something like (untested): > > > > for parsing the string But what if "parse_address" comes from a SQL query? Like this: , ... etc. Don't I run into trouble with nested DTML here? -Tim -- Tim Wilson | Visit Sibley online: | Ch

[Zope] queries and tiny tables and python methods... oh my!

2000-06-29 Thread Timothy Wilson
Hi everyone, (Please excuse the vague Wizard of Oz reference in the sub., but my brain may be imploding. :-) I'm trying to merge several type of Zope objects, and I'm getting lots of little errors. I wonder if someone could suggest where my problem lies. 1. I'm querying our LDAP server to retri

Re: [Zope] queries and tiny tables and python methods... oh my!

2000-06-30 Thread Timothy Wilson
On Fri, 30 Jun 2000, Rik Hoekstra wrote: > > The problem is hooking them all together. Passing the query to a > > PythonMethod is throwing up the following error: > > > > Error Type: TypeError > > Error Value: argument l: expected read-only character buffer, instance found > > The error means y

[Zope] Zope + DocBook HTML

2000-07-12 Thread Timothy Wilson
Hi everyone, I've been doing some work with DocBook lately, and I'd like to convert my work to HTML using the DSSSL stylesheet and put it online. Has anyone done that? I'd be interested to hear about any strategies or pitfalls. -Tim -- Tim Wilson | Visit Sibley online: | Check out

Re: [Zope] FSSession problems...

2000-08-25 Thread Timothy Wilson
On Fri, 25 Aug 2000, Curtis Maloney wrote: > Today, however, I find out that some mistakes have been happening. People > are finding themselves logged in when they haven't yet, and others finding > they're logged in as someone else. This is, obivously, a problem. Warning! Shot in the dark ah

Re: [Zope] ftp permisions problem

2000-08-26 Thread Timothy Wilson
On Sat, 26 Aug 2000 [EMAIL PROTECTED] wrote: > I am running zope ftp on 8021 by defualt. > > I ftp to it and attempt to upload a file into zope. I get a ettempt to create > file failed. > > Any ideas. > > I am running all zope permissions as defualt. I log in as superuser. If you're running

[Zope] ZClass for PDFs

2000-09-07 Thread Timothy Wilson
Hi everyone, I'd like to make a large number of PDF files available for download from my site. HTML versions of the files will also be available for online viewing. I could certainly include the PDF files as regular file objects or I could create a ZClass specifically for PDF files. I suspect t

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Timothy Wilson
On Thu, 7 Sep 2000, Tim Cook wrote: > Timothy Wilson wrote: > > > > I'd like to make a large number of PDF files available for download from my > > site. HTML versions of the files will also be available for online viewing. > > > > I could certainly

[Zope] uploading Word files to Zope

2000-09-13 Thread Timothy Wilson
Hey everyone, Does anyone have any experience with allowing users to upload MS Word files to your Zope server and make them available through your site. Specifically I'm wondering about using wv (formerly mswordview) to convert the Word file to HTML (and a DTML Document, I suppose) and publish th

[Zope] displaying based on date

2000-09-25 Thread Timothy Wilson
Hi everyone, I've created a ZClass and I'm using an HTML table to display certain properties of the class. One of the properties is a date, and I want to display in the table only those instances of the ZClass for which this certain date property is in the future. (It's a job posting ZClass, and

[Zope] handling date properties in

2000-09-30 Thread Timothy Wilson
Hi everyone, I've created a simple ZClass to allow our Human Resources dept. to post job openings on our Web site. There's a DTML method that iterates through a folder containing all of the 'Job Board Entry' instances and displays them in an HTML table. No problem there. The ZClass has a number

[Zope] Allright, who broke acquisition?

2000-10-01 Thread Timothy Wilson
Hi everyone, I'm running Zope 2.2.2 on Linux. All of the sudden I've got some DTML methods that are no longer being acquired in subfolders. I changed the HTML a bit and the whole thing stopped working! I've got some little navigation menus that I'd like to reuse in subfolders by simply referring

[Zope] sudden ZClass breakage

2000-10-05 Thread Timothy Wilson
Hi everyone, I've been working away on a ZClass-based product that will provide a searchable job board for our Human Resources Dept. here at school. Things were going along fine until, it seemed, out of the blue I started getting an error message about an "Invalid Date-Time String" and a lengthy

[Zope] Using ProxyPass and SiteRoot

2000-10-11 Thread Timothy Wilson
Hi everyone, I've read the "Using Apache with ZServer (NOT Zope.cgi)" How-To and I find that my situation is different enough from the ones described that I'm not having any luck setting it up. I'd appreciate any suggestions on the following: My current Zope site is at http://www.isd197.k12.mn.u

[Zope] Problem with 2.2.2 and date properties?

2000-10-12 Thread Timothy Wilson
Hi everyone, I'm having trouble with a ZClass I've created that uses, among others, two date properties. I'm suddenly having problems creating new instances or working with existing instances of my ZClass. I can't be sure, but it seems like the onset of the problems coincided with my upgrade to 2

[Zope] Pesky DateTime problem

2000-12-15 Thread Timothy Wilson
Hi everyone, I would *really* appreciate some advice about a problem with a ZClass I created. This product is a Job Board that our H.R. department can use to post openings and the public can view. I began by looking at the very nice "Build a Searchable Job Board" How-To at http://www.zope.org/Mem

Re: [Zope] Pesky DateTime problem

2000-12-15 Thread Timothy Wilson
On Fri, 15 Dec 2000, seb bacon wrote: > > The problem lies in adding an instance of the job board ZClass at which > > point Zope reports an "Invalid Date-Time String". > > You might have considered this already, but you're not supplying a > default date in the DateTime field of the form. This

[Zope] user property sheets

2000-12-18 Thread Timothy Wilson
Hey everyone, I'd like to make a product so that Zope users' contact info would be available on a "MemberBio" page whenever you click on a hyperlink of their name. The MemberBio page would also contain a form that could be used to send them email. I know there's been some discussion of property

Re: [Zope] Newbie question - Link between Methods based on Authorization

2000-12-19 Thread Timothy Wilson
On Tue, 19 Dec 2000, Michal Krejza wrote: > I have problem with access to method. Example - There are two methods: A and > B. Method A contains common information, accessible for all user (include > anonymous). Source code in method B updates data for method A and access for > method B is restric

[Zope] reporting 2.3.0a1 bugs

2000-12-31 Thread Timothy Wilson
Hey everyone, I've discovered a couple problems with 2.3.0a1. Should those be submitted to the collector, or is there somewhere else to report problems with development versions? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ |

[Zope] Design/DTML question

2001-01-10 Thread Timothy Wilson
Hi everyone, I'm working on a Web page for our local school board. I'd like to create a table that would display links to past board meeting minutes. The table would look like this: (Note: dates are bogus) +---+ | Meeting Minutes | |

RE: [Zope] Design/DTML question

2001-01-10 Thread Timothy Wilson
On Wed, 10 Jan 2001, Dennis Nichols wrote: > Or, if you insist that dates flow down the columns like I do, you could use > this untested revision of Max's solution: > > > > > > _.int(_['sequence-index'])*2==_.int(_['count-id'])+1"> >

[Zope] SiteAccess and 2.3.0a2

2001-01-10 Thread Timothy Wilson
Hi everyone, I have Evan's excellent SiteAccess product installed on my 2.3.0a1 Zope as an add-on. Now that SiteAccess is part of the Zope core, how should I handle the upgrade. Can I simply recompile? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://

[Zope] Has MailHost API changed?

2001-01-12 Thread Timothy Wilson
Hi everyone, I had a perfectly functioning MailHost object until recently. Site visitors could email feedback to me from the Web page with no trouble. I can't pin it down exactly, but the breakage seems to coincide with a upgrade to 2.2.4 a while ago. The problem also exists in 2.3.0a2. Here's th

[Zope] ZClasses meet PythonScripts, sample request

2001-01-13 Thread Timothy Wilson
Hi everyone, I'm looking forward to using some PythonScripts as methods of some ZClasses because it seems like a much cleaner way to do things. I wonder if one of the PythonScript gurus out there would be willing to show an example of two presumably common PythonScript/ZClass tasks: processing ch

Re: [Zope] ZClasses meet PythonScripts, sample request

2001-01-14 Thread Timothy Wilson
On Sun, 14 Jan 2001, Jim Washington wrote: > I am not working through that example, but the below is a start on what > you seem to need. Let me know what you think. Thanks Jim. I will study the examples you provided. Do you suppose that the Zope Book would benefit from some examples of this type

Re: [Zope] ZClasses meet PythonScripts, sample request

2001-01-14 Thread Timothy Wilson
ge_changeProperties(REQUEST) > -or- > context.propertysheets.cd_info.manage_changeProperties(REQUEST) Following Evan's advice, would this then be: container.propertysheets['cd_info'].manage_changeProperties(REQUEST) So that's a one-liner? Hmmm. Cool if true. :-) Let

Re: [Zope] ZClasses meet PythonScripts, sample request

2001-01-14 Thread Timothy Wilson
This seems to almost work. :-) On Sun, 14 Jan 2001, Jim Washington wrote: > ! > > ! > ! > ! Your changes have been saved > ! > > ! > > > Title > > > > Artist > > > > > ! > > > > ! That's quite clever. I wouldn't have thought of doing it that way. After transl

Re: [Zope] ZClasses meet PythonScripts, sample request

2001-01-15 Thread Timothy Wilson
Jim (or anyone else who's feeling charitable this morning), Thanks for all your help. I really appreciate it. I wonder if you'd have time to look one more time at the two methods I've got that aren't working. I've included the actual code for my job posting product. Perhaps someone will find it i

Re: [Zope] ZClasses meet PythonScripts, sample request

2001-01-15 Thread Timothy Wilson
On Mon, 15 Jan 2001, Jim Washington wrote: > One point about your form: > > You have id as a form variable. You will be disappointed by its > behavior. Thanks Jim. Care to elaborate on the problems with using id as a form variable. -Tim -- Tim Wilson | Visit Sibley online: | Ch

Re: [Zope] ZClasses meet PythonScripts, sample request

2001-01-15 Thread Timothy Wilson
On Mon, 15 Jan 2001, Jim Washington wrote: > What is the name of the propertysheet in your ZClass that these values > are on? Is it 'job_info'? Yes. > Where is the editFormAction Python Script? It should be in your ZClass's > /methods. If you are instead acquiring it from a Folder somewhere,

[Zope] How to display only x records with

2001-01-15 Thread Timothy Wilson
Hey everyone, I've got a method to display some text which uses to iterate through a bunch of "Spam and Eggs" ZClass instances. I thought that I could use size="2" in the to display only the first two instances, but it's not working. I want to display only the first two and use a link at the b

[Zope] "Picture of the day" product

2001-01-17 Thread Timothy Wilson
Hey everyone, I was looking at linux.com the today and I noticed their "Daily Photo." I occurred to me that that would be a fun addition to the school's page that I'm developing. My first thought would be to: * inherit from Image * add caption, date taken, etc. properties * create an archive of

Re: [Zope] "Picture of the day" product

2001-01-17 Thread Timothy Wilson
On Wed, 17 Jan 2001, Tres Seaver wrote: > > What I'm not sure about is how to have Zope automatically display the photo > > for a day, then archive it. Would a boolean property of the ZClass work? Is > > it possible to have Zope set the property of a ZClass instance at certain > > time? Any thoug

Re: [Zope] "Picture of the day" product

2001-01-18 Thread Timothy Wilson
On Thu, 18 Jan 2001, Tres Seaver wrote: > Subclassing Image might be useful, but you could certainly > get by without if, if all you need is to add a property or > two: Images have a propertysheet to which you could add them. But if I use the standard Image meta type, wouldn't I have to create

Re: [Zope] "Picture of the day" product

2001-01-18 Thread Timothy Wilson
On Thu, 18 Jan 2001, Tres Seaver wrote: > > > This kind of thing is a "query-on-metadata" application; I > > > would put all these images into a single folder (maybe > > > chunked into subfolders by month?), mark them each with an > > > 'effective' property (of type 'Date'), and then select the

[Zope] batch processing problem

2001-01-20 Thread Timothy Wilson
Hi everyone, I was trying to throw together a page with some pictures of my brand-new nephew for his parents to show to relatives. What should have been a relatively simple iteration through a folder full of images has turned out to be headache inducing. I'm sure that there's something I'm just

Re: [Zope] Source to www.zope.org

2001-01-21 Thread Timothy Wilson
On Sun, 21 Jan 2001, Gerald Gutierrez wrote: > Is the source code to www.zope.org available somewhere? At the bottom of the page there's a link called "View Source" which will give you the original DTML. You can tack 'view_source' onto the end of any www.zope.org URL to see how it was built. Yo

Re: [Zope] Instatiate object instances :-)

2001-01-25 Thread Timothy Wilson
On Thu, 25 Jan 2001, Mario Valente wrote: > The subject of this message is also another hypothesis: each object in > Zope has a reference (the "Object Instance at #hiusd9743" messages...). Is > it possible to instantiate object instances :-) ? This would be, of > course, pointers. This would

Re: [Zope] Unique ID generation

2001-01-25 Thread Timothy Wilson
On 25 Jan 2001, Tim Moore wrote: > I'm writing a simple ZClass (and a second ZClass which contains the > first) and I would like the constructor for this class to be able to > auto-generate unique IDs for the instances rather than making the > owner choose one. Some people call me "Tim" too. :-)

Re: [Zope] Editors [OT]

2001-01-26 Thread Timothy Wilson
On Fri, 26 Jan 2001, Phil Harris wrote: > You could use STunnel to wrap Zope in SSL, www.stunnel.org. Phil, Could you expand on this a bit? I would be very interested in wrapping all access to "manage" in SSL. Is that possible? -Tim -- Tim Wilson | Visit Sibley online: | Check ou

[Zope] PythonScript question

2001-01-27 Thread Timothy Wilson
Hi everyone, I'm using the Photo product to diplay some pictures at various resolutions and to display them on a certain date. (Some may recall my questions about a "Picture of the day" recently.) I want to set a 'display_date' property for each Photo instance and I'd like to do it using a Python

Re: [Zope] Is it possible to use regular CGI's like htDig withzserver?

2001-01-29 Thread Timothy Wilson
On Mon, 29 Jan 2001, Chris Withers wrote: > > And if so, how would I set that up? > > -Use Apache as your main server. > -Use mod_proxy(?) to proxypass Zope requests through to ZServer. > -install htdig as a normal CGI under Apache Presumably, then, this would be the same approach for getting M

Re: [Zope] "Picture of the day" product

2001-01-29 Thread Timothy Wilson
On Mon, 29 Jan 2001, Tres Seaver wrote: > > I'd like to grab all instances with a display_date <= today's > > date. I can't figure out exactly how to do that in DTML or a > > Python Script. Once I have that list of instances, I'll simply > > pull off the latest one as you suggested. > I don't kn

[Zope] How to display image returned from Catalog query

2001-01-30 Thread Timothy Wilson
Hey everyone, I've got a PythonScript that returns a list of 'Photo' instances. I'm using to grab the first instance off the list. What I can't figure out is how to display that image. I can use to make a link to the image, but I want this method to display the image directly. returns th

Re: [Zope] How to display image returned from Catalog query

2001-01-30 Thread Timothy Wilson
On Tue, 30 Jan 2001, Oleg Broytmann wrote: > On Tue, 30 Jan 2001, Timothy Wilson wrote: > > What I can't figure out is how to display that image. I can use > > > > > > > > to make a link to the image, but I want this method to display the image > > d