From beckden@yahoo.com Tue Aug 20 01:53:09 2002 From: beckden@yahoo.com (Dennis Beck) Date: Mon, 19 Aug 2002 17:53:09 -0700 Subject: [ZDP] Welcome to the Zope Tutorial Message-ID: <000601c247e3$f43d94e0$5c0aa8c0@beckdual> This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C247A9.4756C830 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I get the "Welcome to Zope Tutorial", now what am I supposed to do. = There is no next button, or any information on what to after you install = and get this page. I tried going to the "Lesson 1. "Elvis Lives" Home = Page but I get an error at the top saying that:=20 Zope cannot find the tutorial examples. You should install the tutorial = examples before continuing. Choose "Zope Tutorial" from the product add = list in the Zope management screen to install the examples.=20 If you have already installed the tutorial, you can either follow along = manually, or reinstall the tutorial examples. Note: make sure that you = have cookies turned on in your browser. I have cookies turned on, and have reinstalled several times. Your = tutorial, at least, should be easy to use. ------=_NextPart_000_0003_01C247A9.4756C830 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I get the "Welcome to Zope Tutorial", = now what am I=20 supposed to do.  There is no next button, or any information on = what to=20 after you install and get this page.  I tried going to the "Lesson = 1.=20 "Elvis Lives" Home Page but I get an error at the top saying that: =
Zope cannot find the tutorial examples. = You should=20 install the tutorial examples before continuing. Choose "Zope Tutorial" = from the=20 product add list in the Zope management screen to install the examples. =

If you have already installed the tutorial, you can = either=20 follow along manually, or reinstall the tutorial examples. Note: make = sure that=20 you have cookies turned on in your browser.

I have cookies turned on, and have reinstalled = several=20 times.  Your tutorial, at least, should be easy to=20 use.

------=_NextPart_000_0003_01C247A9.4756C830-- From edwardbying@sympatico.ca Sun Aug 4 23:32:17 2002 From: edwardbying@sympatico.ca (Edward Ing) Date: Sun, 4 Aug 2002 18:32:17 -0400 Subject: [ZDP] bobobase_modification_time() Message-ID: <00ff01c23c06$ca32c370$1002a8c0@toronto> Unfortunately I am an newbie so I can't debug the problem for you yet. Problem 1: In the online documentation, if you search for a method and include the "()" the search fails. Problem 2: There is nothing documenting the method bobobase(). From servicio@compro.com.gt Mon Aug 5 18:29:03 2002 From: servicio@compro.com.gt (servicio) Date: Mon, 5 Aug 2002 12:29:03 -0500 Subject: [ZDP] ~ Japanese lass' sexy pictures Message-ID: <20020805172856.VCZV8671.out013.verizon.net@Pzy> --X01R9V5C02154n Content-Type: text/html; Content-Transfer-Encoding: quoted-printable

Warning: This message ha= s had one or more attachments removed. Please read the "VirusWarning.txt" a= ttachment(s) for more information.

--X01R9V5C02154n Content-Type: text/plain; charset="us-ascii"; name="VirusWarning.txt" Content-Disposition: attachment; filename="VirusWarning.txt" Content-Transfer-Encoding: quoted-printable This is a message from the MailScanner E-Mail Virus Protection Service ---------------------------------------------------------------------- The original e-mail attachment "File.exe" was believed to be infected by a virus and has been replaced by this warning message. If you wish to receive a copy of the *infected* attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Mon Aug 5 13:29:17 2002 the virus scanner said: >>> Virus 'W32/Klez-H' found in file ./g75HT8q22462/File.exe Note to Help Desk: Look on the MailScanner in /var/spool/MailScanner/quaran= tine (message g75HT8q22462). --=20 Postmaster --X01R9V5C02154n Content-Type: application/octet-stream; name=PruebaScript25cff70b[1].htm Content-Transfer-Encoding: base64 Content-ID: PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9u YWwvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIvUkVDLWh0bWw0MC9sb29zZS5kdGQiPgo8 aHRtbD4KPGhlYWQ+CjxiYXNlIGhyZWY9Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC9jbGFzZXMv UHJ1ZWJhU2NyaXB0LyIgLz4KCjx0aXRsZT5DbGFzZXMgZGUgWm9wZTwvdGl0bGU+CjxsaW5r IHJlbD0ic3R5bGVzaGVldCIgdHlwZT0idGV4dC9jc3MiIGhyZWY9Ii9tYW5hZ2VfcGF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RIVE1MX3VwbG9h ZCIgbWV0aG9kPSJwb3N0IiAKIGVuY3R5cGU9Im11bHRpcGFydC9mb3JtLWRhdGEiPgo8dGFi bGUgY2VsbHBhZGRpbmc9IjIiIGNlbGxzcGFjaW5nPSIwIiBib3JkZXI9IjAiPgo8dHI+CiAg PHRkIGFsaWduPSJsZWZ0IiB2YWxpZ249InRvcCI+CiAgPGRpdiBjbGFzcz0iZm9ybS1sYWJl bCI+CiAgRmlsZSAmbmJzcDsKICA8L2Rpdj4KICA8L3RkPgogIDx0ZCBhbGlnbj0ibGVmdCIg dmFsaWduPSJ0b3AiPgogIDxpbnB1dCB0eXBlPSJmaWxlIiBuYW1lPSJmaWxlIiBzaXplPSIy NSIgdmFsdWU9IiI+CiAgPC90ZD4KPC90cj4KPHRyPgogIDx0ZD48L3RkPgogIDx0ZCBhbGln bj0ibGVmdCIgdmFsaWduPSJ0b3AiPgogIDxkaXYgY2xhc3M9ImZvcm0tZWxlbWVudCI+CiAg ICAgPGlucHV0IGNsYXNzPSJmb3JtLWVsZW1lbnQiIHR5cGU9InN1Ym1pdCIgdmFsdWU9IlVw bG9hZCBGaWxlIj4KICAgIDwvZGl2PgogIDwvdGQ+CjwvdHI+CjwvdGFibGU+CjwvZm9ybT4K CjwvYm9keT4KPC9odG1sPgoK --X01R9V5C02154n-- From philipp.leusmann@post.rwth-aachen.de Fri Aug 9 11:18:10 2002 From: philipp.leusmann@post.rwth-aachen.de (Philipp Leusmann) Date: Fri, 9 Aug 2002 12:18:10 +0200 Subject: [ZDP] Lesson 12. The Elvis Files, cont. Message-ID: Hi, first of all, Zope looks quite nice. I think I=B4ll use it in future inst= ead of my own pearl-skripts for database-applications. But I think there is a typo in Lesson12 of the Tutorial. Instead of "This code inserts a row into the elvis_sightings table. Notic= e how the arguments of this ZSQL Method correspond to the form elements in = the reportSighting document." I think it has to be "[..] reportForm document". Regards, Philipp From huima@fountainpark.org Sat Aug 10 17:32:29 2002 From: huima@fountainpark.org (Heimo Laukkanen) Date: Sat, 10 Aug 2002 19:32:29 +0300 Subject: [ZDP] Zope Book - Chapter about XML Message-ID: <3D55401D.9000703@fountainpark.org> http://www.zope.org/Documentation/ZopeBook/XML.stx I just stumbled into that with zope.org search. Is that something that is coming or something needs to be removed from the server. It is atleast not in the table on contents. -huima From chrism@zope.com Sat Aug 10 18:32:33 2002 From: chrism@zope.com (Chris McDonough) Date: 10 Aug 2002 13:32:33 -0400 Subject: [ZDP] Zope Book - Chapter about XML In-Reply-To: <3D55401D.9000703@fountainpark.org> References: <3D55401D.9000703@fountainpark.org> Message-ID: <1029000765.1959.3.camel@james> I think this was disincluded from the Zope Book (because it was too big of a topic to chew off) at one point. But because I indexed it via extensions to backtalk, it shows up in searches. I don't think it needs to be removed from the server, but I am not going to add it to the second revision of the Zope Book either. On Sat, 2002-08-10 at 12:32, Heimo Laukkanen wrote: > http://www.zope.org/Documentation/ZopeBook/XML.stx > > I just stumbled into that with zope.org search. Is that something that > is coming or something needs to be removed from the server. It is > atleast not in the table on contents. > > -huima > > > _______________________________________________ > ZDP maillist - ZDP@zope.org > http://lists.zope.org/mailman/listinfo/zdp From huima@fountainpark.org Sun Aug 11 01:38:24 2002 From: huima@fountainpark.org (Heimo Laukkanen) Date: Sun, 11 Aug 2002 03:38:24 +0300 Subject: [ZDP] Zope Book - Chapter about XML References: <3D55401D.9000703@fountainpark.org> <1029000765.1959.3.camel@james> Message-ID: <3D55B200.9070601@fountainpark.org> Chris McDonough wrote: > I think this was disincluded from the Zope Book (because it was too big > of a topic to chew off) at one point. But because I indexed it via > extensions to backtalk, it shows up in searches. >=20 > I don't think it needs to be removed from the server, but I am not goin= g > to add it to the second revision of the Zope Book either. Could it happen, someday? I mean if it would be updated to discuss=20 Parsed XML. Of course this would be against the current status where=20 Zope Book is only about products that come with installation and / or by=20 ZC. But then again XML as a term and technology is so important that=20 even if it was just for the buzzword factor - it would be nice to have it. Just my .02 Euros ,-) --=20 Heimo Laukkanen Oy Fountain Park Ltd H=E4meentie 153 B, 00560 Helsinki, Finland tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100 http://www.fountainpark.org From chrism@zope.com Sun Aug 11 05:11:34 2002 From: chrism@zope.com (Chris McDonough) Date: 11 Aug 2002 00:11:34 -0400 Subject: [ZDP] Zope Book - Chapter about XML In-Reply-To: <3D55B200.9070601@fountainpark.org> References: <3D55401D.9000703@fountainpark.org> <1029000765.1959.3.camel@james> <3D55B200.9070601@fountainpark.org> Message-ID: <1029039105.3043.7.camel@james> If someone were to rework the chapter, I would include it... On Sat, 2002-08-10 at 20:38, Heimo Laukkanen wrote: > Chris McDonough wrote: > > I think this was disincluded from the Zope Book (because it was too big > > of a topic to chew off) at one point. But because I indexed it via > > extensions to backtalk, it shows up in searches. > >=20 > > I don't think it needs to be removed from the server, but I am not goin= g > > to add it to the second revision of the Zope Book either. >=20 > Could it happen, someday? I mean if it would be updated to discuss=20 > Parsed XML. Of course this would be against the current status where=20 > Zope Book is only about products that come with installation and / or by=20 > ZC. But then again XML as a term and technology is so important that=20 > even if it was just for the buzzword factor - it would be nice to have it= . >=20 > Just my .02 Euros ,-) >=20 > --=20 > Heimo Laukkanen > Oy Fountain Park Ltd > H=E4meentie 153 B, 00560 Helsinki, Finland > tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100 > http://www.fountainpark.org >=20 >=20 From nobody@nowhere.com Mon Aug 12 00:18:03 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 11 Aug 2002 19:18:03 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#1-0 --------------- This chapter gets you up and running with Zope. It guides you through installing and running Zope. This chapter covers the most important Zope concepts. By the end of this chapter you should be able to use Zope to create and manage simple yet powerful web applications. % Anonymous User - July 5, 2002 3:42 pm: Chapter Two consists of a number of sections ... maybe something of a ToC here would help navigate this rather large slab of text. % Anonymous User - July 25, 2002 8:35 pm: I was unsure where to place this comment; and it may not be useful. I am new to Zope and have been proceeding through the Chapters one at a time, one thing I thought might be advantageous but a bit of an undertaking is to suggest that initially the user creates for themselves a 'Sanbox' folder or something similar in order to experiment with the given examples. I did this almost right away as soon as I discovered I was litering my Root or contained folders with little snippets of script or object experiments. Just a suggestion. Thank-you for this wonderful document. % mcdonc - Aug. 11, 2002 7:18 pm: test From chrism@zope.com Mon Aug 12 00:18:55 2002 From: chrism@zope.com (Chris McDonough) Date: 11 Aug 2002 19:18:55 -0400 Subject: [ZDP] Incoming mails from ZopeBook/ZDG Message-ID: <1029107944.32551.92.camel@james> I have re-enabled incoming "comment" mails from the Zope Book and Zope Developer's Guide. They had been disabled because of a BackTalk bug which caused a "To:" header to be omitted from the email (causing Mailman to have fits). It's fixed, so in case anybody's out there on this list, you'll now start seeing messages that are comments to the online versions of the Zope Book and ZDG. Pitch in with answers if you like. Thanks, - C From nobody@nowhere.com Mon Aug 12 00:23:03 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 11 Aug 2002 19:23:03 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-0 --------------- Zope is an open source web application framework. It has three distinct audiences: % chrism - Dec. 10, 2001 11:02 am - Note that folks are encouraged to make comments using the comment system. Thanks! *Users* -- individuals who use of Zope's "out of the box" features to build websites. This audience is interested in making use of Zope's existing array of features to create content management solutions. They will likely make heavy use of "through the web" scripting using DTML, Page Templates, and Python Scripts as well as (of course) HTML and XML. They are generally less concerned about code reuse than the speed at which they can create a dynamic application or website. *Developers* -- individuals who wish to extend Zope to create highly customized solutions. This audience is likely interested in creating highly reusable custom code that makes Zope do something new and interesting. *Administrators* -- individuals responsible for keeping a Zope site running and performing installations and upgrades. % Anonymous User - Apr. 16, 2002 6:20 pm: Term 'Users' mean 'End user'. Better to use term 'content managers'. Main Zope's roles (audiences) are: content managers, developers, administrators. % Anonymous User - June 3, 2002 6:27 pm: "speed at which" should be "speed with which" % mcdonc - Aug. 11, 2002 7:23 pm: test From nobody@nowhere.com Mon Aug 12 13:38:40 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 12 Aug 2002 08:38:40 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Preface Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Preface.stx#1-0 --------------- Welcome to *The Zope Book*. This book is designed to introduce you to Zope and its uses. Zope is an open-source web application server. If you are interested in writing web pages, programming web scripts, using databases, managing content, or doing a collaborative web development task, then you should read this book. % mcdonc - Apr. 5, 2002 4:01 pm: Please note that folks are encouraged to use the comment buttons to submit comments. Thanks! % Anonymous User - Apr. 5, 2002 6:44 pm: The "Comment" buttons are too distracting. I like the idea but small icon on the right in the pastel colour should be enough. Large yellow button makes reading the text rather hard. % Anonymous User - Apr. 6, 2002 12:03 am: Not to "me too", but ditto on the previous comment regarding the Comment button. % Anonymous User - Apr. 6, 2002 10:36 am: Use the "COM off"/"COM on" button at the top to control whether or not comments and comment buttons are displayed. % Anonymous User - Apr. 6, 2002 8:07 pm: Turning COM off does not address the previous comments with which I concur. Why make Comment a graphic? Just make it a link on the right of the page so it isnt so distracting. % Anonymous User - Apr. 6, 2002 8:22 pm: At this point, it's a tradeoff. Please try to live with it now until I can figure out how to make it appear on the right of the page without effecting layout. Note that the COM button should set a cookie that turns comments off for all pages forever (or until you flush the cookie), but this is currently broken under some versions of Mozilla. % Anonymous User - Apr. 6, 2002 8:32 pm: Note also that you may download the HTML version and the PDF version for your own private viewing as well. % Anonymous User - Apr. 25, 2002 9:04 am: You should have your page in utf-8 if you were to allow people to add comments. Below we have an example that people add non-ascii text already. % mcdonc - May 10, 2002 2:33 am: Nope, no UTF8, sorry, and possibly never will be. But the comment cookies are fixed. They should persist across pages now. - chrism % Anonymous User - May 23, 2002 9:55 am: Your table of contents is not agreeing with your chapter numbers and also is not agreeing with your PDF. Please check continuity. % Anonymous User - May 30, 2002 7:08 pm: I don't find the comment buttons intrusive, but rather useful and good...especially given that they can be turned off and on. Sorry to be so positive about the issue, but I see no balance of opinions in the comments previously attached. It's so much easier to complain than to compliment. JEL % Freso - July 5, 2002 11:28 am: Any reason for 'no UTF8'? % mcdonc - July 5, 2002 11:34 am: Yes. I'm utterly clueless when it comes to character encodings. If you can code it, you're welcome to contribute to the BackTalk project: http://backtalk.sourceforge.net . % Anonymous User - July 30, 2002 11:42 am: Heh... well, UTF-8 is the encoding for people who don't like to deal with character encodings. :-) However, if you already have stuff in another encoding other than ASCII (which, seeing various accented characters elsewhere, leads me to believe that you do), a conversion will need to take place. % Anonymous User - Aug. 1, 2002 8:19 am: 果たして日本語は書けるのか? % Anonymous User - Aug. 12, 2002 8:38 am: I came to this site for the first time and i feel the comments are given more importance than the actual content of the page. I got to keep scrolling to read about zope. Guess you should have a seperate section for comments and the users who wants to see them can click on it and view it. Now it's more like mandatory to read the comments than about zope. From nobody@nowhere.com Mon Aug 12 13:39:32 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 12 Aug 2002 08:39:32 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Preface Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Preface.stx#1-0 --------------- Welcome to *The Zope Book*. This book is designed to introduce you to Zope and its uses. Zope is an open-source web application server. If you are interested in writing web pages, programming web scripts, using databases, managing content, or doing a collaborative web development task, then you should read this book. % mcdonc - Apr. 5, 2002 4:01 pm: Please note that folks are encouraged to use the comment buttons to submit comments. Thanks! % Anonymous User - Apr. 5, 2002 6:44 pm: The "Comment" buttons are too distracting. I like the idea but small icon on the right in the pastel colour should be enough. Large yellow button makes reading the text rather hard. % Anonymous User - Apr. 6, 2002 12:03 am: Not to "me too", but ditto on the previous comment regarding the Comment button. % Anonymous User - Apr. 6, 2002 10:36 am: Use the "COM off"/"COM on" button at the top to control whether or not comments and comment buttons are displayed. % Anonymous User - Apr. 6, 2002 8:07 pm: Turning COM off does not address the previous comments with which I concur. Why make Comment a graphic? Just make it a link on the right of the page so it isnt so distracting. % Anonymous User - Apr. 6, 2002 8:22 pm: At this point, it's a tradeoff. Please try to live with it now until I can figure out how to make it appear on the right of the page without effecting layout. Note that the COM button should set a cookie that turns comments off for all pages forever (or until you flush the cookie), but this is currently broken under some versions of Mozilla. % Anonymous User - Apr. 6, 2002 8:32 pm: Note also that you may download the HTML version and the PDF version for your own private viewing as well. % Anonymous User - Apr. 25, 2002 9:04 am: You should have your page in utf-8 if you were to allow people to add comments. Below we have an example that people add non-ascii text already. % mcdonc - May 10, 2002 2:33 am: Nope, no UTF8, sorry, and possibly never will be. But the comment cookies are fixed. They should persist across pages now. - chrism % Anonymous User - May 23, 2002 9:55 am: Your table of contents is not agreeing with your chapter numbers and also is not agreeing with your PDF. Please check continuity. % Anonymous User - May 30, 2002 7:08 pm: I don't find the comment buttons intrusive, but rather useful and good...especially given that they can be turned off and on. Sorry to be so positive about the issue, but I see no balance of opinions in the comments previously attached. It's so much easier to complain than to compliment. JEL % Freso - July 5, 2002 11:28 am: Any reason for 'no UTF8'? % mcdonc - July 5, 2002 11:34 am: Yes. I'm utterly clueless when it comes to character encodings. If you can code it, you're welcome to contribute to the BackTalk project: http://backtalk.sourceforge.net . % Anonymous User - July 30, 2002 11:42 am: Heh... well, UTF-8 is the encoding for people who don't like to deal with character encodings. :-) However, if you already have stuff in another encoding other than ASCII (which, seeing various accented characters elsewhere, leads me to believe that you do), a conversion will need to take place. % Anonymous User - Aug. 1, 2002 8:19 am: 果たして日本語は書けるのか? % Anonymous User - Aug. 12, 2002 8:38 am: I came to this site for the first time and i feel the comments are given more importance than the actual content of the page. I got to keep scrolling to read about zope. Guess you should have a seperate section for comments and the users who wants to see them can click on it and view it. Now it's more like mandatory to read the comments than about zope. % Anonymous User - Aug. 12, 2002 8:39 am: I came to this site for the first time and i feel the comments are given more importance than the actual content of the page. I got to keep scrolling to read about zope. Guess you should have a seperate section for comments and the users who wants to see them can click on it and view it. Now it's more like mandatory to read the comments than about zope. From nobody@nowhere.com Mon Aug 12 17:31:50 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 12 Aug 2002 12:31:50 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-13 --------------- To log into the management interface point your web browser to Zope's management URL. The management URL for Zope is Zope's base URL with */manage* appended. Assuming you have Zope installed on your local machine serving on the default port 8080, the management URL is:: http://localhost:8080/manage % Anonymous User - June 15, 2002 9:04 am: Doesn't standard installation use port 9673? % Anonymous User - June 15, 2002 10:24 am: It used to, but now the standard port is 8080. % Anonymous User - June 18, 2002 3:37 am: In Debian : http://localhost:9673/manage % Anonymous User - Aug. 12, 2002 12:31 pm: FYI Just in case anyone else runs into the same problem as I did. I could not log in using http://[hostname]:[port]/manage I wound up using http://[ipaddress]:[port]/manage. It worked and let me in. From nobody@nowhere.com Mon Aug 12 21:10:15 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 12 Aug 2002 16:10:15 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-11 --------------- These features make Zope an ideal environment for programming and authoring web content by groups and sub-groups of users. % Anonymous User - Apr. 24, 2002 3:40 am: I am wondering if Zope -- only-- works with IE or can it use Opera or Mozilla..... they are browsers also....... % Anonymous User - Apr. 25, 2002 5:45 pm: my friend uses mozilla and it works perfectly % Anonymous User - Apr. 27, 2002 7:31 pm: Well I guess it does I'm using Opera right now to access the admin interface. % Anonymous User - Apr. 28, 2002 11:30 pm: OmniWeb 4.1 works % Anonymous User - May 2, 2002 10:40 pm: Konqueror works, too. (If Konqueror is in bold, you can use html stuff...) % Anonymous User - May 14, 2002 10:51 am: ... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS % kaleissin - May 16, 2002 12:44 pm: What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff is done one the server. % Anonymous User - May 20, 2002 1:45 am: I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to turn off the comments? - they really get in the way of the story) % mcdonc - May 20, 2002 8:47 am: Yes, click the COM button above or below. % Anonymous User - Aug. 2, 2002 3:48 am: I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of us who are not fortunate enough to have a compatible browser? (Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do useful things?) % Anonymous User - Aug. 5, 2002 6:01 am: Sorry, but I'm using Opera 6 and COM button doesn't work with it. % Anonymous User - Aug. 12, 2002 4:10 pm: "COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar. By the way, its boring to read a book without comments ;-) From nobody@nowhere.com Tue Aug 13 01:33:02 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 12 Aug 2002 20:33:02 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7 --------------- So what do you get when you download Zope? You actually get a lot of things. Zope consists of several different components that work together to help you build web applications. Zope comes with: A Web server -- Zope comes with a built in web server that serves content to you and your users. Of course, you may already have an existing web server, such as *Apache* or *Microsoft IIS* and you may not want to use Zope's. Not to worry, Zope works with these web servers also, and any other web server that supports the Common Gateway Interface (CGI). A Web based interface -- When you build web applications with Zope, you use your web browser to interact with the Zope *management interface*. This interface is a development environment that lets you do things like create web pages, add images and documents, connect to external relational databases and write scripts in different languages. An object database -- When you work with Zope, you are mostly working with objects that are stored in Zope's object database. Zope's management interface provides a simple, familiar way to manage objects that resembles the way many common file managers work. Relational integration -- You don't have to store your information in Zope's object database if you don't want to, because Zope works with other relational databases such as *Oracle*, *PostgreSQL*, *Sybase*, *MySQL* and many others. Scripting language support -- Zope allows you to write web applications in a number of different languages, like "Python":http://www.python.org/, "Perl":http://www.perl.org/, and Zope's own Document Template Markup Language (DTML). % Anonymous User - July 23, 2002 6:23 pm: Sentences like "You actually get a lot of things." are a waste. It's why so much documentation is long and unfinished. The information content of that sentence is 0 or even negative. It pushes an opinion. It causes us to wonder if the author is sticking to the facts or has an agenda. We, the readers, will decide what we care about. And if we do care about quantity, we will judge for ourselves whether it is "a lot". Fluff is very annoying when skimming rapidly for meat. % dave_newton - Aug. 12, 2002 8:33 pm: HOw ironic. From nobody@nowhere.com Tue Aug 13 07:36:24 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 02:36:24 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-42 --------------- To change your login select *Logout* from the top frame of the management interface. You will be prompted to login again. To change logins, enter a new user name and password. % Anonymous User - May 19, 2002 1:25 pm: I selected logout and 3 times it asked for a login username and password. I had previously added a test user named bob, password bob. I entered this and the login appeared 3 times and in the end it didn't log me in. I have to close my browser and restart to get back in, and only then would it automatically log me in as my manager account, without prompting me for a password. I still cannot log in as bob. % Anonymous User - June 12, 2002 10:49 pm: The same appears to be happening for me. The client side script that brings up the login window is doing so before a refresh has gone through to perform the logout operation (at least that seems to be what's going on). % Anonymous User - June 12, 2002 10:50 pm: I just posted that I'm having the same problem. I should note that I'm using the latest version of IE6 on windows xp. % Anonymous User - June 15, 2002 10:16 am: Same here, but it seems to help to cancel the re-login first. Furthermore after a successfull re-login the old user is mentioned in the upper frame. % Anonymous User - June 19, 2002 11:25 am: Im also using windows xp, i canceled the first re-login and the closed the explorer instance, then i had to delete the historial and temporary internet files (menu tools->internet options) to log as a different user. Seems this has to do with windows xp dealing by its own with the "user cache". % Anonymous User - July 3, 2002 1:06 am: All you have to do is logout, then put the cursor in the location bar and hit enter on the /manage url - when the box pops up asking for a login and password, type in the new ones. % Anonymous User - July 10, 2002 1:00 pm: I have been stepping through this tutorial using Mozilla and Opera running on my linux box (Mandrake 8.2). I experienced exactly the same behavior that is described in the messages above. As an experiment, I created a new user in Mozilla and then went over to Opera to try to login as the new user. When I typed in the /manage URL and pressed I found myself logged in as the new user with no prompt for a password. % mcdonc - July 10, 2002 2:01 pm: I highly doubt that this happened exactly as you describe. Try this: close mozilla (all windows) close opera (all windows) 1. open mozilla and visit /manage 2. log in as an existing manager user 3. create a new account 4. open opera and visit /manage 5. log in as the newly created user. If at step 4 you are logged in as the user that you created in step 3, the world has finally ended, the milennium has come, and we've got larger things to worry about. ;-) % Anonymous User - Aug. 1, 2002 3:07 pm: I'd note that if I've logged in as Emergency User in a browser, my experience has been that I cannot log in on that browser as a regular user - whether I touch any of the acl_user entries or not. This distinction is otherwise undocumented, and for new users is a sufficient show-stopper to lead many to uninstall Zope if they can't find a clear answer. A quick observation - the answers given in the June 15 and July 3 messages don't work with my system - I need another browser to actually log in as a regular user. From my perspective, if the solutions are this inconsistent, then Zope itself needs design work on this point - urgently. % Anonymous User - Aug. 13, 2002 2:36 am: Windows 2000 user, Netscape 4.7. I hit the Logout button, and Netscape popped an "authenticate" box. I tried logging in here, since that seemed like the obvious thing to do, but received "Authentication Failure". Finally I hit cancel, and Zope gave me the message "You have Logged out". I was then able to log in with the new user. From nobody@nowhere.com Tue Aug 13 08:49:44 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 03:49:44 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-55 --------------- This form collects information and calls the *interestRateDisplay* template. Now, create a Python-based script called *calculateCompoundingInterest* that accepts four parameters, "principal", "interest_rate", "periods" and "years" with the following python code:: ## Script (Python) "calculateCompoundInterest" ##parameters=principal, interest_rate, periods, years ## """ Calculate compounding interest. """ i = interest_rate / periods n = periods * years return ((1 + i) ** n) * principal % Anonymous User - July 25, 2002 4:25 pm: Urgent!!! I did exactly as instructed here. However, I got "Error Type: Undefined Error Value: years not found in 'years', at line 5, column 3 ." It seems that Python script is not getting the parm "years." Anybody knows why? % Anonymous User - July 27, 2002 1:24 pm: I had the same problem. Solved by hacking not by science :( I change the variable 'years' to 'yrs' and it worked. Maybe the illuminati founding fathers can shed some light... % Anonymous User - July 27, 2002 2:50 pm: Apologize for the previous information had the page in the cache It does not work! % Anonymous User - Aug. 13, 2002 3:49 am: I'm having the same problem but I don't think the problem is in the python script I think its in the interestRateDisplay file. I wonder if I'm having this problem because I'm running win98. From nobody@nowhere.com Tue Aug 13 12:15:23 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 07:15:23 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#2-246 --------------- Methods of transient objects are not protected by security assertions. % Anonymous User - Aug. 13, 2002 7:15 am: Please explain. From nobody@nowhere.com Tue Aug 13 14:39:10 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 09:39:10 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-27 --------------- Zope will start running and will print logging information to the console. You should see information telling you what port Zope is listening on. You can now log into Zope with a web browser. % Anonymous User - July 2, 2002 8:07 am: Dit is commentaar regel % Anonymous User - Aug. 8, 2002 2:24 pm: 2002-08-08T17:58:11 INFO(0) ZODB Opening database for mounting: '140377936_1028827208.543770' ------ 2002-08-08T17:58:11 INFO(0) ZODB Mounted database '140377936_1028827208.543770' at /temp_folder ------ 2002-08-08T17:58:11 INFO(0) ZServer HTTP server started at Thu Aug 8 13:58:11 2002 Hostname: samba Port: 8080 ------ 2002-08-08T17:58:11 PANIC(300) z2 Startup exception Traceback (innermost last): File /home/dna/dope/Zope-2.5.1-linux2-x86/z2.py, line 607, in ? File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/FTPServer.py, line 602, in __init__ File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/ftp_server.py, line 727, in __init__ File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/asyncore.py, line 306, in bind error: (98, 'Address already in use') % Anonymous User - Aug. 8, 2002 2:27 pm: error (98, 'Address already in use') any ideal % Anonymous User - Aug. 13, 2002 9:39 am: Check to see if you have anything running on port 8021 (such as an FTP server or somesuch...) Zope tries to start an additional FTP server on port 8021. Sean Bossinger sbossinger@earthlink.net From nobody@nowhere.com Tue Aug 13 15:16:55 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 10:16:55 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPTold.stx#3-159 --------------- Normally when you use batches you'll want to include navigation elements on the page to allow users to go from batch to batch. Here's a full-blow batching example that shows how to navigate between batches:: The title

previous next

  • Bob Jones makes $100,000 a year.
% Anonymous User - Aug. 13, 2002 10:16 am: I copied the PT, and the line: start python:path('request/start') or 0; gave me an error: Error Value: start not found in 'request/start', at line 10, column 3 what works fine is: start request/start | python:0; From nobody@nowhere.com Tue Aug 13 16:11:36 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 11:11:36 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-10 --------------- If you are using Windows NT or Windows 2000, you can choose to run Zope as a service. Running Zope as a service is a good idea for a public server. If you are just running Zope for personal use don't bother running it as a service. Keep in mind that if you are running Windows 95, Windows 98, or Windows ME (Millenium Edition), you cannot run Zope as a service. % Anonymous User - May 29, 2002 5:24 pm: Oh... % Anonymous User - Aug. 3, 2002 4:51 am: What `bout XP home edt.??? % Anonymous User - Aug. 5, 2002 5:14 am: as far as I know, XP is a NT technology....so you should be able to run it as service if you wish % Anonymous User - Aug. 13, 2002 11:11 am: Of course, Windows XP comes from NT technology, which means you have a list of services as in Windows 2000, you can ask them to start manually or automatically. All NT services I've encountered so far have worked flawlessly with Windows XP Pro. And yes, running Zope as a service is a better idea, servers are meant to work this way. From nobody@nowhere.com Tue Aug 13 18:00:32 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 13:00:32 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-39 --------------- Now edit the contents of the *infoAction* document to make it process the form::

Thanks

We received your request for information and will send you email at describing our aardvark adoption program as soon as it receives final governmental approval.

% Anonymous User - June 6, 2002 9:50 am: (the one that 'should' restate the email address imput from infoForm) is not displaying in infoAction. Why? % Anonymous User - June 6, 2002 9:56 am: I figured out why. (from a newbie no less!!!) the term "email" is causing the problem. Change in infoForm: email: to email: and change in infoAction: to and it now works properly. % Anonymous User - July 25, 2002 7:11 pm: Obviously the documentor is under sever time restriants unknown to us. Is it possible for someone who has more time but perhaps less experience to verify each example? I feel this is a useful suggestion as it would yield an increase in magnitude in time saved world-wide, since this one person's efforts could replace the efforts of that each individual user of this document would spend debugging the examples. The formerly mentioned case is especially inefficient because the majority of those proceeding through this document are not familiar with Zope. % Anonymous User - July 25, 2002 7:18 pm: This is actually the purpose of the comment system. If you notice a bug, enter a comment. When I edit the book, I review the comments, and fix what's broken. In the meantime, you can see the fixes in the comments rather than each person rediscovering the bug anew. The issue is more one of having time to edit the comments into the book prose. Please be aware that, yes, I am under severe time restraints. However, I am working steadily towards a revision of this book that incorporates all of the comments into the prose. It should be ready within a few weeks. - C % Anonymous User - Aug. 13, 2002 1:00 pm: Funny, but i am able to view the email address following the example above. works From nobody@nowhere.com Tue Aug 13 19:52:33 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 14:52:33 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-54 --------------- Now, with your HTML editor, save the above HTML to the URL of the 'index_html' Page Template followed by '/source.html', for example, 'http://localhost:8080/FileLib/index_html/source.html'. Notice that the URL to *save* the 'index_html' page ends in 'source.html'. Because Page Templates are dynamic, you need a way to edit the raw source of the template, unrendered by the page template language. Appending 'source.html' to a Page Template gives you this raw source. Note, if the content-type of your page is 'text/xml' then you'll use 'source.xml', rather than 'source.html'. % Anonymous User - Apr. 22, 2002 2:16 pm: The index_html object is a file not a directory so saving to index_html/source.html doesn't make sense.?.? :\ % Anonymous User - May 29, 2002 5:28 pm: ---Agreed. I find this paragraph totally baffling. % Anonymous User - June 2, 2002 3:05 am: Some HTML editors have a "save to URL" options. (In mozilla composer it is called "Publish As".) The idea is that you provide a URL on the server and the editor uses it to submit your file. true, index_html is not a directory, but neither is "FileLib". Both are just objects in Zopes database and segments of the URL string. Anyway, if you use one of the tools that have this feature, this paragraph should make sense to you. If you don't, don't worry about - just paste the HTML source into the Zope interface! % Anonymous User - June 11, 2002 11:14 am: How about we include a list of "compatible" editors that CAN do this as well as a list of editors that CANNOT do this? it seems you are making assumptions that we all use the same tools you use. % mcdonc - June 15, 2002 11:45 am: Are you going to keep that list current for me? ;-) % Anonymous User - June 20, 2002 10:37 am: Does the name 'source.html' have the special meaning that Zope will use the contents as source, or would any 'XXX.html' work? % Anonymous User - June 24, 2002 10:36 am: did i miss it or did we go over how zope stores files internally already. does the files all being in a database limit you to managing zope using the web interface? % Anonymous User - July 19, 2002 6:15 pm: I agree, very confusing paragraph. Are we HTTP saving/updating index_html (i.e. just saving the changes directly from maya into Zope using HTTP rather than using ZMI?). If so, it is very confusing to use NEW WAYS OF EDITING OBJECTS that have not been explained in a section meant to teach something else... % Anonymous User - Aug. 6, 2002 11:00 pm: This confused me also. A couple suggestions to make it hopefully more clear: 1. Tell us which protocol is being used with this "save to URL" function of your HTML editor. Is it HTTP PUT? Something else? Beats me. 2. Give primary instructions in a non-specific manner (i.e., tell us to use the ZMI first). Then say something like "If your HTML editor supports [protocol], you can use it save to the URL of the index_html Page Template followed by /source.html. % Anonymous User - Aug. 13, 2002 2:52 pm: Hey "mcdonc", at this point we'd like to know ANY editor that works. whether current or old versions! From nobody@nowhere.com Tue Aug 13 21:33:46 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 16:33:46 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#2-14 --------------- Let's create a table in your database to use in this chapter's examples. The *Test* view of the Database Connection allows you to send SQL statements directly to your database. You can create tables by typing SQL code directly into the *Test* view; there is no need to use a SQL Method to create tables. Create a table called *employees* with the following SQL code:: CREATE TABLE employees ( emp_id integer, first varchar, last varchar, salary float ) % Anonymous User - Aug. 10, 2002 1:38 am: What other kind of column types does ZSQL support? % Anonymous User - Aug. 13, 2002 4:33 pm: These are postgresql specific SQL commands. ZSQL supports whatever commands the underlying SQL DB supports. From nobody@nowhere.com Tue Aug 13 22:34:00 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 13 Aug 2002 17:34:00 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-56 --------------- Now enter the *zoo* folder by clicking on it, and then enter the *arctic* folder by clicking on it. You could also have used the Navigator to get to the same place. Now, click the *Paste* button to paste cut object(s) into the current folder. You should see the *bears* folder appear in its new location. You can verify that the folder has been moved by going to the root folder and noting that *bears* is no longer there. % Anonymous User - July 11, 2002 10:48 pm: Using Mozilla 1.0, there is no paste button. Using Konqueror - no problem. Ugh! % Anonymous User - Aug. 13, 2002 5:33 pm: I'm using Mozilla 1.0 Release Candidate 3 on freeBSD and paste butten is there. From nobody@nowhere.com Wed Aug 14 09:16:46 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 04:16:46 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-6 --------------- Each blue box represents an installed Product. From this screen, you can manage these Products. Some Products are built into Zope by default or have been installed by you or your administrator. These products have a *closed* box icon, as shown in [12-1]. Closed-box products cannot be managed through the web. You can get information about these products by clicking on them, but you cannot change them. % Anonymous User - Aug. 14, 2002 4:16 am: comment From nobody@nowhere.com Wed Aug 14 11:41:44 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 06:41:44 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-15 --------------- The installer will print information as it installs Zope. Among other things, it will create a initial user account. You can change the initial user name and password later with the *zpasswd.py* script (see Chapter 7, "Users and Security"). % Anonymous User - June 25, 2002 6:48 pm: On my manrake rpm installation it was /usr/bin/zpasswd Still not sure where I should be putting the file called "access" though. % Anonymous User - Aug. 14, 2002 6:41 am: Should read: (see Chapter 8, "Users and Security"). From nobody@nowhere.com Wed Aug 14 15:44:03 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 10:44:03 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7 --------------- So what do you get when you download Zope? You actually get a lot of things. Zope consists of several different components that work together to help you build web applications. Zope comes with: A Web server -- Zope comes with a built in web server that serves content to you and your users. Of course, you may already have an existing web server, such as *Apache* or *Microsoft IIS* and you may not want to use Zope's. Not to worry, Zope works with these web servers also, and any other web server that supports the Common Gateway Interface (CGI). A Web based interface -- When you build web applications with Zope, you use your web browser to interact with the Zope *management interface*. This interface is a development environment that lets you do things like create web pages, add images and documents, connect to external relational databases and write scripts in different languages. An object database -- When you work with Zope, you are mostly working with objects that are stored in Zope's object database. Zope's management interface provides a simple, familiar way to manage objects that resembles the way many common file managers work. Relational integration -- You don't have to store your information in Zope's object database if you don't want to, because Zope works with other relational databases such as *Oracle*, *PostgreSQL*, *Sybase*, *MySQL* and many others. Scripting language support -- Zope allows you to write web applications in a number of different languages, like "Python":http://www.python.org/, "Perl":http://www.perl.org/, and Zope's own Document Template Markup Language (DTML). % Anonymous User - July 23, 2002 6:23 pm: Sentences like "You actually get a lot of things." are a waste. It's why so much documentation is long and unfinished. The information content of that sentence is 0 or even negative. It pushes an opinion. It causes us to wonder if the author is sticking to the facts or has an agenda. We, the readers, will decide what we care about. And if we do care about quantity, we will judge for ourselves whether it is "a lot". Fluff is very annoying when skimming rapidly for meat. % dave_newton - Aug. 12, 2002 8:33 pm: HOw ironic. % Anonymous User - Aug. 14, 2002 10:44 am: for a reference guide is may be superfluous, but it outlines a good point in a introduction From nobody@nowhere.com Wed Aug 14 16:47:37 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 11:47:37 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-219 --------------- Inserting a simple variable into a document:: % mcdonc - Aug. 14, 2002 11:47 am: Need docs for url_unquote_plus and url_unquote (added in 2.6) From nobody@nowhere.com Wed Aug 14 18:24:03 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 13:24:03 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity Message-ID: From: nobody@nowhere.com To: zdp@zope.org A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#3-23 --------------- The items in the sequence of results returned by a Z SQL Method are called *Result objects*. Result objects can be thought of as rows from the database table turned into Zope objects. These objects have attributes that match the schema of the database results. % Anonymous User - Aug. 14, 2002 1:24 pm: A useful tip is that you can access the column headings of your database table by calling .names() From nobody@nowhere.com Wed Aug 14 18:52:13 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 13:52:13 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security Message-ID: From: nobody@nowhere.com To: zdp@zope.org A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#2-4 --------------- A Zope *User* defines a user account. A Zope user has a name, a password, and optionally additional data about someone who uses Zope. To log into Zope, you must have a user account. Let's examine how to create and manage user accounts. % kaleissin - May 16, 2002 3:03 pm: There's no obvious way to *move* or *copy* a user-account from one User Folder to another, which can be a bit annoying if the same user has different powers in different parts of the site, or you made the user in the wrong folder... "Sorry boss, but you have to enter a password here also... and here, and here... change password? Uhh, you'll have to do that for each folder separately, eh-heh." % Anonymous User - May 24, 2002 8:28 am: I think you have to create all users in the "acl_users" directory located in the Zope root. THEN you can edit folders' access rules by setting folder's "local roles" found under the "Security" tab. Here you can add or remove users with roles you already made. (I'm still looking a way to let my users change their OWN password only) % Anonymous User - May 24, 2002 8:50 am: ...I couldn't find any builtin feature to let users change their own password only so it seems you have to write your own managing form to solve this problem. (Why?) % Anonymous User - June 10, 2002 6:55 pm: It's pretty easy to write a custom form and method for changing a user's password. I did this a few years ago as part of a content management system I wrote on Zope. You can give the form handler method a proxy role so that it can change the user's password. I think the "manage users" permission is required. % Anonymous User - June 11, 2002 5:21 pm: You can't copy and paste user folders and accounts for security purposes. Also there is a "how to" on how to let users change their own passwords. % Anonymous User - Aug. 14, 2002 1:52 pm: The paragraph above mentions that a User can have additional data. How can this additional data be created/edited? From nobody@nowhere.com Wed Aug 14 18:53:44 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 13:53:44 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: From: nobody@nowhere.com To: zdp@zope.org A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-57 --------------- This will return the balance or debt compounded over the course of "years". Next, create a *interestRateDisplay* page template that calls *calculateCompoundingInterest* and returns the result::

Your total balance (or debt) including compounded interest over 2 years is:

$1.00

% Anonymous User - Apr. 6, 2002 10:39 am: Zope Error Zope has encountered an error while publishing this resource. Error Type: Undefined Error Value: years not found in 'years', at line 5, column 3 .... .... # I got this error message, please help me to correct this error. % Anonymous User - Apr. 8, 2002 4:33 pm: i refer to the ch.9. and change the python expression to python: here.calculateCompoundingInterest(request.form['principal'],... that should be able to work. i'm a rookie. % Anonymous User - Apr. 11, 2002 9:53 am: You also need to change tal:content="years" to tal:content="request/years" See ch.5 % Anonymous User - Apr. 22, 2002 10:11 pm: create a interestRateDisplay page template that calls calculateCompoundingInterest and returns the result:

Your total balance (or debt) including compounded interest over 2 years is:

$1.00

#from Apr. 6, 2002 10:39 am:thank you! it works! % Anonymous User - June 5, 2002 5:19 am: My interestRateDisplay page template doesn't seem to be calling the Python Script. It just shows: Your total balance (or debt) including compounded interest over 2 years is: $1.00 I must be missing something. % Anonymous User - June 5, 2002 5:43 pm: Ok, I realised that Zope Templates were not installed on my Zope. I had thot it was there by default. After proper installation, the scripts are now being called nicely. Thanks. % Anonymous User - June 13, 2002 9:05 pm: I suggest improving the information given in error output. I know this makes me sound dumb, but it took me 15 minutes to realize that the problem I had was that I'd spelled calculate incorrectly in my script name. Why not have a message "error: script file calculteCompoundingInterest not found" % Anonymous User - June 24, 2002 10:51 am: I cannot understand the syntax for the interestRateDisplay template. What is the "..tal:content=..." attribute. Why do we have the number "2" between the openining and closing tag and what is the "1.00" before the last closing tag? Besides why do we need the "here" when we call the python python script? % Anonymous User - July 7, 2002 12:06 am: For properly namespaced XML, it would be appropriate to have an xmlns:tal attribute attached to the document root element. However, setting any value for xmlns:tal seems to disable the dynamic features on the server side. Is there an official namespace for the tal prefix? % Anonymous User - July 7, 2002 12:19 am: Disregard last comment: found it in Appendix C. xmlns:tal="http://xml.zope.org/namespaces/tal" % Anonymous User - July 11, 2002 11:34 am: I am getting the same problem as was posted by Anonymous User on the June 5th with my win98 installation. The python script returns with $1.00. I have tried to find more info on installing Zope Templates but have not succeeded. Please help! % Anonymous User - July 24, 2002 5:19 pm: My I humbly suggest eliminating the errors in this example as they appear so eary in this document, a user such as myself who has less than average familiarity with these technologies may waste an hour or so trying to figure out why they keep getting error messages when they cut and paste directly from the examples. It might lead a novice to postulate that they had installed Zope incorrectly, somehow. % Anonymous User - Aug. 3, 2002 1:54 pm: I'm thinking that a novice is more likely not to trust anything in this book, after this bad example. --RAW-- % Anonymous User - Aug. 14, 2002 1:53 pm: THANK YOU whoever put in the full html a while back. It worked, and it only took me a few tries to check my own work against it From nobody@nowhere.com Wed Aug 14 19:25:33 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 14 Aug 2002 14:25:33 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-172 --------------- You can control the tree tag by setting these variables. expand_all -- If this variable is true then the entire tree is expanded. collapse_all -- If this variable is true then the entire tree is collapsed. % Anonymous User - May 21, 2002 7:24 am: Could someone please post an example for this. I really need to start with an expanded tree! % Anonymous User - Aug. 14, 2002 2:25 pm: ... From nobody@nowhere.com Thu Aug 15 13:38:09 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 15 Aug 2002 08:38:09 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-4 --------------- The *index_html* object provides a default view of the folder. This is analogous to how an *index.html* file provides a default view for a directory in Apache and other web servers. % Anonymous User - Aug. 7, 2002 3:49 pm: Is there a reason index_html is used in Zope instead of index.html? % Anonymous User - Aug. 15, 2002 8:38 am: Trivial. index_html is a legal python name. index.html would have to be accessed as self["index.html"] etc. From nobody@nowhere.com Fri Aug 16 02:40:33 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 15 Aug 2002 21:40:33 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-6 --------------- Suppose you have a folder for home work that you want to export from your school Zope server, and take home with you to work on in your home Zope server. You can create a folder like this in your root folder called "homeWork". Go to the folder that contains your *homeWork* folder. Select the *homeWork* folder by checking the checkbox next to it. Then click the *Import/Export* button. You should now be working in the Import/Export folder view, as shown in [3-1]. % Anonymous User - Aug. 15, 2002 9:40 pm: Just wondering what it would look like Wondering around From nobody@nowhere.com Fri Aug 16 08:48:56 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 16 Aug 2002 03:48:56 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-42 --------------- Because Zope does transaction management for you, most of the time you do not need to explicitly begin, commit or abort your own transactions. For more information on doing transaction management manually, see the links at the end of this chapter that lead to more detailed tutorials of doing your own ZODB programming. % Anonymous User - Jan. 4, 2002 9:14 am - The text should probably mention that you have to let the exception propagate "right out of Zope" for the "rollback" to occur in Zope (of course). Otherwise, it seems to be the case that if the exception is to be handled within a Zope Product (so that a user of the application doesn't see the standard error page), then an explicit transaction abort should be performed in the exception handler in question. % peterb - Aug. 16, 2002 3:48 am: It should be even more specific and mention that if the exception is caught, whether in a product, in DTML or in a script there is no automatic rollback. You need to call get_transaction.abort() in your exception handler, unless you rethrow the exception and you know it won't get caught. This is actually guesswork due to lacking docs, I just happen to have the problem right now. From nobody@nowhere.com Fri Aug 16 15:55:18 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 16 Aug 2002 10:55:18 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#5-2 --------------- You can display this cost in a DTML Document or Method like so:: One Adult pass: % Anonymous User - Aug. 16, 2002 10:55 am: Do I find other fmt-formats in the Appendix A as well? From nobody@nowhere.com Fri Aug 16 17:14:01 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 16 Aug 2002 12:14:01 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-27 --------------- Volatile attributes are useful for data that is good to cache for a while but can often be thrown away and easily recreated. File connections, cached calculations, rendered templates, all of these kinds of things are useful applications of volatile attributes. You must exercise care when using volatile attributes. Since you have little control over when your objects are moved in and out of memory, you never know when your volatile attributes may disappear. % poster - May 13, 2002 9:43 am: I assume that you can count on a volatile attribute remaining within the life of a method call that creates it. What about within a transaction? In general, while I understand there will be a point at which you can no longer rely on the existence of a volatile attribute, when *can* you rely on it? % reiman - Aug. 16, 2002 12:13 pm: I also just learned that _v_ attributes are thread-specific. This too should be mentioned (and explained) here. From nobody@nowhere.com Fri Aug 16 17:15:36 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 16 Aug 2002 12:15:36 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#3-58 --------------- Objects stored in modules but not in the ZODB are not persistent and not-thread safe. In general it's not a good idea to store data (as opposed to functions, and class definitions) in modules when using ZODB. % reiman - Aug. 16, 2002 12:15 pm: We should mention that module data is the easiest way to achive server-lifetime data store. This is where you would normally store external references (file handles or database connections or session data) that you cannot easily reconstruct. From nobody@nowhere.com Fri Aug 16 23:21:28 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 16 Aug 2002 18:21:28 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#1-0 --------------- This chapter explains what Zope is and who it's for. It describes in broad strokes what you can do with Zope. You also learn about the differences between Zope and other web application servers. % Anonymous User - May 27, 2002 5:06 pm: The second sentence should read: You _will_ also learn about the differences between Zope and other web application servers. % Anonymous User - June 28, 2002 8:56 pm: I've heard good things about Zope. Plone looks cool. I would really like to be able to use this product - but the SLOW PERFORMANCE of the zope.org site forces me to say no. I'm going through this site at 6pm (PST) on a Friday night, and it is dog slow. In addition, I can tell from the dates on the comments that overall traffic is not too heavy. As a business person, I can tell you that this product will never be as successfull as others out there unless performance is improved DRAMATICALLY. % mcdonc - June 28, 2002 9:12 pm: That was probably me. I was copying large chunks of the Zope Book around and generally otherwise giving Zope.org a workout. Sorry.. I wouldn't necessarily judge Zope solely on the performance of Zope.org at any given time. There is no other website I know about that lets psuedoanonymous people *write and run their own code* on the website itself. Lots of people write bad code. ;-) It's not really the framework's fault. It's intended as more of a demonstration of the flexibility and security of Zope rather than the raw speed of Zope. Also, FWIW, the comment dates mean very little. Zope.org does a much more than just serve this book. There are over 20,000 discrete pieces of content in this site, many of which are writable (not just readable). Note also that the largest known Zope cluster has serviced peak load of 900 requests per second. I think this is a good indicator that Zope is fast enough for almost anything, given the right setup and environment. It's quite understandable to want to judge Zope based on Zope.org, but you'd help yourself by doing a bit more research before jumping to any conclusions. % mcdonc - June 28, 2002 9:14 pm: One other thing: if you think Friday night isn't "geek night" for Zopists who use Zope.org, I'd have to disagree. ;-) % Anonymous User - July 27, 2002 11:56 pm: Yup (in regards to perfomance). I'm admining a site that on a single 200mz (actually 233 underclocked to 200 for stability) debian box , running Zope for multiple department squishdot's and the wiki's (awesome intranet tool!) , acting as an appletalk fileserver for over thirty machines, email, and even a covert tinymush server(!) and trust me, Zope is the least of my worries. It gets pounded constantly by departmental dudes whacking stuff on and off all day. It don't even blink. As to learning Python, don't worry! Theres a tutorial in the standard python distro that'll have you up to scratch in an afternoon. It's that easy! % Anonymous User - Aug. 16, 2002 6:21 pm: I have about 500 hits per second on a songle IIS site. 1 processor - no tuning - no cluster. I use ZOPE and I like it: But more performance would be very apreciated. From nobody@nowhere.com Sat Aug 17 00:58:06 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 16 Aug 2002 19:58:06 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Zope Products Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Products.stx#3-93 --------------- MetaPublisher is a content managment system based on Zope technology. It is developed by the Zope solution's provider "Beehive":http://www.beehive.de/. More information can be found on the "MetaPublisher Home Page":http://hive.beehive.de/Beehive/www.beehive.de/Zope/MetaPublisher/. % Anonymous User - Aug. 10, 2002 9:15 am: Server not found! Product is broken on Zope 2.5.1 % Anonymous User - Aug. 16, 2002 7:58 pm: "Zope solution's provider" should not have the apostrophe, and may need some more capital letters depending on what an entity that provides solutions for Zope actually rates. From nobody@nowhere.com Sat Aug 17 20:53:21 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 17 Aug 2002 15:53:21 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-8 --------------- So what do you get when you download Zope? You actually get a lot of things. Zope consists of several different components that work together to help you build web applications. Zope comes with: A Web server -- Zope comes with a built in web server that serves content to you and your users. Of course, you may already have an existing web server, such as *Apache* or *Microsoft IIS* and you may not want to use Zope's. Not to worry, Zope works with these web servers also, and any other web server that supports the Common Gateway Interface (CGI). A Web based interface -- When you build web applications with Zope, you use your web browser to interact with the Zope *management interface*. This interface is a development environment that lets you do things like create web pages, add images and documents, connect to external relational databases and write scripts in different languages. An object database -- When you work with Zope, you are mostly working with objects that are stored in Zope's object database. Zope's management interface provides a simple, familiar way to manage objects that resembles the way many common file managers work. Relational integration -- You don't have to store your information in Zope's object database if you don't want to, because Zope works with other relational databases such as *Oracle*, *PostgreSQL*, *Sybase*, *MySQL* and many others. Scripting language support -- Zope allows you to write web applications in a number of different languages, like "Python":http://www.python.org/, "Perl":http://www.perl.org/, and Zope's own Document Template Markup Language (DTML). % Anonymous User - July 23, 2002 6:23 pm: Sentences like "You actually get a lot of things." are a waste. It's why so much documentation is long and unfinished. The information content of that sentence is 0 or even negative. It pushes an opinion. It causes us to wonder if the author is sticking to the facts or has an agenda. We, the readers, will decide what we care about. And if we do care about quantity, we will judge for ourselves whether it is "a lot". Fluff is very annoying when skimming rapidly for meat. % dave_newton - Aug. 12, 2002 8:33 pm: HOw ironic. % Anonymous User - Aug. 14, 2002 10:44 am: for a reference guide is may be superfluous, but it outlines a good point in a introduction % Anonymous User - Aug. 17, 2002 3:53 pm: Haha - s/he makes a 5 line comment about a short sentence. I cant imagine documentation written by him/her. From nobody@nowhere.com Sun Aug 18 01:36:17 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 17 Aug 2002 20:36:17 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-35 --------------- Now that you've learned about Zope's features and history, it's time to start using it. In the next chapter you'll learn how to get up and running with Zope. Since Zope is free, you can download the latest version, and begin working immediately. % Anonymous User - Apr. 24, 2002 3:52 am: What advantage does Zope have over Dreamweaver or Namo Webeditor in designing the website pages??? % Anonymous User - Apr. 26, 2002 8:27 pm: you might use Dreamweaver to design a template, but then go through zope's web interface to write specific content for each individual page - at least, that's how it looks to me from what I've read so far. % Anonymous User - July 23, 2002 7:39 pm: Dreamweaver is mainly a "design tool", not a comprehensive web application framework. With dreamweaver you can produce "web pages" organized in a fairly basic "web site" of a rather static nature. Dreamweaver is meant for visually-oriented developers who do not mind delivering sub-par bloated code to http clients. Zope allows you to build "web applications", whose components can be highly-aware "objects". Those objects can grealty increase your site's modularity, flexibility and extensibility using such mechanisms as inheritance. As an example, a sub-section object will look for its own "header" object and if it does not have one, it inherits its parent's. So if you want to build a web application which lives and breathes, is managed and edited by a group of people, Zope is for you. % Anonymous User - Aug. 17, 2002 8:36 pm: You can also use Zope & Dreamweaver together. Even without destroying the logic in the zope templates, since DW leaves them untouched. I's really useful if you collaborate with a designer (or developer, depends on point of view ;)) on a project at the same point of time From nobody@nowhere.com Sun Aug 18 01:44:13 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 17 Aug 2002 20:44:13 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#1-0 --------------- This chapter explains what Zope is and who it's for. It describes in broad strokes what you can do with Zope. You also learn about the differences between Zope and other web application servers. % Anonymous User - May 27, 2002 5:06 pm: The second sentence should read: You _will_ also learn about the differences between Zope and other web application servers. % Anonymous User - June 28, 2002 8:56 pm: I've heard good things about Zope. Plone looks cool. I would really like to be able to use this product - but the SLOW PERFORMANCE of the zope.org site forces me to say no. I'm going through this site at 6pm (PST) on a Friday night, and it is dog slow. In addition, I can tell from the dates on the comments that overall traffic is not too heavy. As a business person, I can tell you that this product will never be as successfull as others out there unless performance is improved DRAMATICALLY. % mcdonc - June 28, 2002 9:12 pm: That was probably me. I was copying large chunks of the Zope Book around and generally otherwise giving Zope.org a workout. Sorry.. I wouldn't necessarily judge Zope solely on the performance of Zope.org at any given time. There is no other website I know about that lets psuedoanonymous people *write and run their own code* on the website itself. Lots of people write bad code. ;-) It's not really the framework's fault. It's intended as more of a demonstration of the flexibility and security of Zope rather than the raw speed of Zope. Also, FWIW, the comment dates mean very little. Zope.org does a much more than just serve this book. There are over 20,000 discrete pieces of content in this site, many of which are writable (not just readable). Note also that the largest known Zope cluster has serviced peak load of 900 requests per second. I think this is a good indicator that Zope is fast enough for almost anything, given the right setup and environment. It's quite understandable to want to judge Zope based on Zope.org, but you'd help yourself by doing a bit more research before jumping to any conclusions. % mcdonc - June 28, 2002 9:14 pm: One other thing: if you think Friday night isn't "geek night" for Zopists who use Zope.org, I'd have to disagree. ;-) % Anonymous User - July 27, 2002 11:56 pm: Yup (in regards to perfomance). I'm admining a site that on a single 200mz (actually 233 underclocked to 200 for stability) debian box , running Zope for multiple department squishdot's and the wiki's (awesome intranet tool!) , acting as an appletalk fileserver for over thirty machines, email, and even a covert tinymush server(!) and trust me, Zope is the least of my worries. It gets pounded constantly by departmental dudes whacking stuff on and off all day. It don't even blink. As to learning Python, don't worry! Theres a tutorial in the standard python distro that'll have you up to scratch in an afternoon. It's that easy! % Anonymous User - Aug. 16, 2002 6:21 pm: I have about 500 hits per second on a songle IIS site. 1 processor - no tuning - no cluster. I use ZOPE and I like it: But more performance would be very apreciated. % Anonymous User - Aug. 17, 2002 8:44 pm: Does somewhere exist a detailed profiling analysis for zope? I mean relly detailed so we could have a look at bottlenecks... on the other side Zope IS fast and doing the profiling shouldn't be so difficult. From nobody@nowhere.com Sun Aug 18 03:51:54 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 17 Aug 2002 22:51:54 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-64 --------------- Zope will not let you cut, delete, or rename a few particular objects in the root folder. These objects include *Control_Panel*, *standard_html_header*, *standard_html_footer*, and *standard_error_message*. These important objects are necessary for Zope's operation. Also, these operations don't work in some cases. For instance, you can't paste a user object into a regular folder. % Anonymous User - June 15, 2002 10:11 am: I'm using Zope version 2.5.1 and I am allowed to delete the mentioned objects. % Anonymous User - Aug. 17, 2002 10:51 pm: Well don't, then. From nobody@nowhere.com Sun Aug 18 12:45:28 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 07:45:28 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-21 --------------- The request object is the very bottom most object on the DTML namespace stack. The request contains all of the information specific to the current web request. % Anonymous User - July 12, 2002 12:36 am: bottommost % Anonymous User - Aug. 18, 2002 7:45 am: ...object on the bottom??? --RAW-- From nobody@nowhere.com Sun Aug 18 12:49:11 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 07:49:11 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-24 --------------- A very simple and enlightening example is to simply print the REQUEST out in an HTML page:: % Anonymous User - Aug. 18, 2002 7:49 am: should HTML page be DTML Document ?? --RAW-- From nobody@nowhere.com Sun Aug 18 14:27:56 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 09:27:56 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-93 --------------- Zope comes with a built-in tutorial. The tutorial guides you through all the basics of creating and managing Zope objects. To launch the tutorial, add a Zope Tutorial to the current folder by selecting *Zope Tutorial* from the Product add list. Give it an id which is unique in the current folder, such as *tutorial*. The tutorial comes with several examples that you can change and copy for your own use. % Anonymous User - May 19, 2002 1:45 pm: ps - Guess I've discovered a need to re-install the tutorial.... % Anonymous User - May 19, 2002 1:49 pm: How do I start the tutorial exactly?? All I see is a bunch of tutorial examples in folders. What button are they referring to to start the tutorial? % Anonymous User - May 23, 2002 6:16 am: You can click on the 'help!' link when you're in the root folder. From there you can follow the Tutorial link, in the navigation window. A problem I have actually, is that it's complaining it can not find the Tutorial Examples. But I did install/import them, and I see the examples residing in the help folder and the tutorial is working as far as I can concern. Greetings Blurg % Anonymous User - May 24, 2002 8:29 am: I had that same problem with the tutorial examples. I noticed that if I reinstalled the tutorial with an id not containing white spaces, everything was ok. To start the tutorial, you can also open file index_html from the tutorial folder and click on the "view" tab. % Anonymous User - May 30, 2002 6:13 pm: What I donエt understand and you might clarify this point: Why do I have to "add" tutorial to some folder... Why not use the one in the cont... Wait, I think I get it: Folder: /Control Panel/Products Hosts the "templates/products" which appear afterwards (some magic included) in the "Product add list". Eg. The product/template "MailHost (Installed product MailHost (MailHost-1-2-0))" in /Control Panel/Products corresponds to the "Product add list"-entry: Mail Host. Same applies to the template/product: ZopeTutorial (Installed product ZopeTutorial (Zope Tutorial 1.0)) - It can be put into action when inserted via the "product add list". Okay, finally I understand the mechanism... I think... % Anonymous User - May 31, 2002 6:04 am: Why not explaining the products/templates in the section - Administering and Monitoring Zope + Fig. 2.6 And show the connection between the "Product Folder" and the "Product Add List". % Anonymous User - June 20, 2002 10:26 am: Tutorials are working fine for me... except for #11. The database connection is closed... When I click to connect, I get: "Invalid connection string: Demo" How do I fix this? % Anonymous User - Aug. 8, 2002 5:49 am: I cannot get the tutorial to work, tried all the above but I keep getting a message telling me to install the examples. I tried to run the tutorial fron the help folder but I get an error message when creating the first Elvis Lives page Error Type: KeyError Error Value: header.gif % RhoXS - Aug. 18, 2002 9:27 am: I'm a total Zope Newbie... I'm trying to run the tutorials as instructed, but am getting this message: Site Error An error was encountered while publishing this resource. Error Type: Bad Request Error Value: File does not exist: ZopeTutorialExamples.zexp I installed using a package for Mac OS X. Where can I get these files and how do I install them? From nobody@nowhere.com Sun Aug 18 14:32:28 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 09:32:28 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-94 --------------- If you start the tutorial and want to stop using it before you have completed all the lessons, you can later return to the tutorial. Just go to the help system and find the lesson you'd like to continue with by browsing the *Zope Tutorial* help folder. There is no need to re-install the tutorial. % Anonymous User - May 19, 2002 1:44 pm: This is driving me F&*King NUTS! So I go to the tutorial/examples folder (there's nothing in tutorial except examples). It shows me a window with what appears to be the code for the intro... it says "click on the button below". All I see is Save Changes, Taller, Shorter, Narrower, Wider and Upload File. I clicked on Save Changes, nothing happened. The 4 size buttons just resized the window. Finally I clicked on upload file and the text disappeared. Unbelievable. So in the previous section I learned about Undo... except there's no F&*King UNDO!!!!!!!!!!!!!!!!!!!!!!! % Anonymous User - May 23, 2002 6:10 am: Keep your head cool. and don't mess up this book with screaming. Try IIS or something, Zope's probably not for you, or go to bed, lots of people don't get the picture anymore when it's 1:44pm, that's quite normal. % Anonymous User - May 23, 2002 6:20 am: Also, In addition to my answer, I want to say, if you're asking for help and like to have an answer, do not irritate people, and try to read again and stop when you understood the things explained. Anyway, you can start the tutorial from the 'help!' link in the root folder level. Greetings Blurg % Anonymous User - June 20, 2002 4:09 pm: It is easy to boot the tutorial. 1) Go to Tutorial:examples from within the management interface 2) Click the View tab. You will see a welcome page with a "Begin Tutorial" button. 3) Click the "Begin Tutorial" button. A help page will pop up from which you can proceed with the tutorial. Links in that help page pull tutorial content into the page you just came from. % RhoXS - Aug. 18, 2002 9:32 am: The crux of many of our problems is that we don't have have these examples installed. How do we get them? Tx, Rho From nobody@nowhere.com Sun Aug 18 17:23:15 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 12:23:15 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-6 --------------- Folders are the building blocks of Zope. The purpose of a folder is to *contain* other objects, and to *organize* objects by separating them into different groups. % Anonymous User - July 2, 2002 1:58 pm: Each time we create an object such as a folder, Zope saves everything in its database in the file Data.fs. Am I correct? Thanks. % Anonymous User - July 2, 2002 2:01 pm: Yes. % Anonymous User - Aug. 18, 2002 12:23 pm: So are you saying that to "copy" my Zope setup to another box I could simply copy the Data.fs file? Could you explain the function of Data.fs.in, Data.fs.lock and Data.fs.tmp? Data.fs contains a lot of binary content. Is there a way to "recover" it if Zope becomes unusable? From nobody@nowhere.com Sun Aug 18 20:50:37 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 15:50:37 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-57 --------------- This will return the balance or debt compounded over the course of "years". Next, create a *interestRateDisplay* page template that calls *calculateCompoundingInterest* and returns the result::

Your total balance (or debt) including compounded interest over 2 years is:

$1.00

% Anonymous User - Apr. 6, 2002 10:39 am: Zope Error Zope has encountered an error while publishing this resource. Error Type: Undefined Error Value: years not found in 'years', at line 5, column 3 .... .... # I got this error message, please help me to correct this error. % Anonymous User - Apr. 8, 2002 4:33 pm: i refer to the ch.9. and change the python expression to python: here.calculateCompoundingInterest(request.form['principal'],... that should be able to work. i'm a rookie. % Anonymous User - Apr. 11, 2002 9:53 am: You also need to change tal:content="years" to tal:content="request/years" See ch.5 % Anonymous User - Apr. 22, 2002 10:11 pm: create a interestRateDisplay page template that calls calculateCompoundingInterest and returns the result:

Your total balance (or debt) including compounded interest over 2 years is:

$1.00

#from Apr. 6, 2002 10:39 am:thank you! it works! % Anonymous User - June 5, 2002 5:19 am: My interestRateDisplay page template doesn't seem to be calling the Python Script. It just shows: Your total balance (or debt) including compounded interest over 2 years is: $1.00 I must be missing something. % Anonymous User - June 5, 2002 5:43 pm: Ok, I realised that Zope Templates were not installed on my Zope. I had thot it was there by default. After proper installation, the scripts are now being called nicely. Thanks. % Anonymous User - June 13, 2002 9:05 pm: I suggest improving the information given in error output. I know this makes me sound dumb, but it took me 15 minutes to realize that the problem I had was that I'd spelled calculate incorrectly in my script name. Why not have a message "error: script file calculteCompoundingInterest not found" % Anonymous User - June 24, 2002 10:51 am: I cannot understand the syntax for the interestRateDisplay template. What is the "..tal:content=..." attribute. Why do we have the number "2" between the openining and closing tag and what is the "1.00" before the last closing tag? Besides why do we need the "here" when we call the python python script? % Anonymous User - July 7, 2002 12:06 am: For properly namespaced XML, it would be appropriate to have an xmlns:tal attribute attached to the document root element. However, setting any value for xmlns:tal seems to disable the dynamic features on the server side. Is there an official namespace for the tal prefix? % Anonymous User - July 7, 2002 12:19 am: Disregard last comment: found it in Appendix C. xmlns:tal="http://xml.zope.org/namespaces/tal" % Anonymous User - July 11, 2002 11:34 am: I am getting the same problem as was posted by Anonymous User on the June 5th with my win98 installation. The python script returns with $1.00. I have tried to find more info on installing Zope Templates but have not succeeded. Please help! % Anonymous User - July 24, 2002 5:19 pm: My I humbly suggest eliminating the errors in this example as they appear so eary in this document, a user such as myself who has less than average familiarity with these technologies may waste an hour or so trying to figure out why they keep getting error messages when they cut and paste directly from the examples. It might lead a novice to postulate that they had installed Zope incorrectly, somehow. % Anonymous User - Aug. 3, 2002 1:54 pm: I'm thinking that a novice is more likely not to trust anything in this book, after this bad example. --RAW-- % Anonymous User - Aug. 14, 2002 1:53 pm: THANK YOU whoever put in the full html a while back. It worked, and it only took me a few tries to check my own work against it % Anonymous User - Aug. 18, 2002 3:50 pm: I managed to get it running by pasting the "Anonymous User - Apr. 22, 2002 10:11 pm" comment's code. But it would be good for the book to take at least a sentence each to define: tal: request. request/ As far as I can tell, none of those are defined previously in the document, and they're not obvious. From nobody@nowhere.com Mon Aug 19 02:08:48 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 21:08:48 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Object Publishing Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx#3-85 --------------- XML-RPC supports marshalling of basic Python types for both publishing requests and responses. The upshot of this arrangement is that when you are designing methods for use via XML-RPC you should limit your arguments and return values to simple values such as Python strings, lists, numbers and dictionaries. You should not accept or return Zope objects from methods that will be called via XML-RPC. % Anonymous User - Aug. 18, 2002 9:08 pm: Hm, I keep getting the same kind of error when trying these example calls to 'getId()' etc.: objects'> So this is the kind of Zope object that won't be returned? I'd love to see some *working* examples of XML-RPC in Zope (please). From nobody@nowhere.com Mon Aug 19 04:25:08 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 18 Aug 2002 23:25:08 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-3 --------------- Zope is currently available as a binary for Windows, Linux and Solaris. This means that you can just download and install it without having to compile any programs. For other platforms you must download the source and compile Zope. Zope can be compiled and run on almost any Unix-like operating system. As a general rule of thumb, if "Python":http://www.python.org is available for your operating system and you have a C compiler, then you can probably use Zope. % Anonymous User - May 8, 2002 2:54 pm: Also is available as a binary for MacOs X. ;-) % Anonymous User - Aug. 8, 2002 8:10 am: What do you recommend for people who don't have a C compiler? % Anonymous User - Aug. 18, 2002 11:25 pm: if you dont have C then hope you can d/load binary for your OS,,,, of course From nobody@nowhere.com Mon Aug 19 05:32:35 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 00:32:35 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-94 --------------- If you start the tutorial and want to stop using it before you have completed all the lessons, you can later return to the tutorial. Just go to the help system and find the lesson you'd like to continue with by browsing the *Zope Tutorial* help folder. There is no need to re-install the tutorial. % Anonymous User - May 19, 2002 1:44 pm: This is driving me F&*King NUTS! So I go to the tutorial/examples folder (there's nothing in tutorial except examples). It shows me a window with what appears to be the code for the intro... it says "click on the button below". All I see is Save Changes, Taller, Shorter, Narrower, Wider and Upload File. I clicked on Save Changes, nothing happened. The 4 size buttons just resized the window. Finally I clicked on upload file and the text disappeared. Unbelievable. So in the previous section I learned about Undo... except there's no F&*King UNDO!!!!!!!!!!!!!!!!!!!!!!! % Anonymous User - May 23, 2002 6:10 am: Keep your head cool. and don't mess up this book with screaming. Try IIS or something, Zope's probably not for you, or go to bed, lots of people don't get the picture anymore when it's 1:44pm, that's quite normal. % Anonymous User - May 23, 2002 6:20 am: Also, In addition to my answer, I want to say, if you're asking for help and like to have an answer, do not irritate people, and try to read again and stop when you understood the things explained. Anyway, you can start the tutorial from the 'help!' link in the root folder level. Greetings Blurg % Anonymous User - June 20, 2002 4:09 pm: It is easy to boot the tutorial. 1) Go to Tutorial:examples from within the management interface 2) Click the View tab. You will see a welcome page with a "Begin Tutorial" button. 3) Click the "Begin Tutorial" button. A help page will pop up from which you can proceed with the tutorial. Links in that help page pull tutorial content into the page you just came from. % RhoXS - Aug. 18, 2002 9:32 am: The crux of many of our problems is that we don't have have these examples installed. How do we get them? Tx, Rho % Anonymous User - Aug. 19, 2002 12:32 am: In the management interface, left hand pane, click 'Root Folder'. Now in the right hand pane select, from the 'Select type to add' dropdown, 'Zope Tutorial'. The tutorials will now install. Go back to 'Help' and you can now run through the tutorials. From rhires@earthlink.net Mon Aug 19 03:05:58 2002 From: rhires@earthlink.net (Russell Hires) Date: Sun, 18 Aug 2002 22:05:58 -0400 Subject: [ZDP] Lesson 8. Elvis Photo Archive, cont. Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "The photoAction document uses the tag to perform an action without inserting anything into the web page. It calls the 'manageaddImage' method on the photoArchive folder. 'manageaddImage' is a folder method that creates a new Image." How would you know that the photoArchive folder has this method? where is that documented? - -- Linux -- the OS for the Renaissance Man -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9YFKGAqKGrvVshJQRAr9kAKDsaRZuco2fZwHl25Ey1413aFIU6gCg3Zos hQw4d2XMK44zOxesQDn/Lt0= =VL6/ -----END PGP SIGNATURE----- From chrism@zope.com Mon Aug 19 07:07:30 2002 From: chrism@zope.com (Chris McDonough) Date: Mon, 19 Aug 2002 02:07:30 -0400 Subject: [ZDP] Lesson 8. Elvis Photo Archive, cont. References: Message-ID: <006d01c24746$b7716520$2201000a@james> Errr.. searching Google, probably. ;-) Each Zope Product registers a number of object constructors that are made available from Zope objects. Typically, these constructors are accessible via the "manage_addProduct" mapping such as: anobject.manage_addProduct['SomeProductName'].manage_addSomeClass('id' ) This adds an instance of SomeClass to "anobject" with an id of 'id'. A shortcut for this is sometimes: anobject.manage_addSomeClass('id') Unfortunately, this doesn't work for all classes nor is there any sane naming convention. This is neither explained nor readily explicable, and is an example of Zope "DWIM" that really kicks documentors where it hurts. All I can do is apologize.. - C ----- Original Message ----- From: "Russell Hires" To: Sent: Sunday, August 18, 2002 10:05 PM Subject: [ZDP] Lesson 8. Elvis Photo Archive, cont. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > "The photoAction document uses the tag to perform an action > without inserting anything into the web page. It calls the 'manageaddImage' > method on the photoArchive folder. 'manageaddImage' is a folder method that > creates a new Image." > > How would you know that the photoArchive folder has this method? where is > that documented? > - -- > Linux -- the OS for the Renaissance Man > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9YFKGAqKGrvVshJQRAr9kAKDsaRZuco2fZwHl25Ey1413aFIU6gCg3Zos > hQw4d2XMK44zOxesQDn/Lt0= > =VL6/ > -----END PGP SIGNATURE----- > > _______________________________________________ > ZDP maillist - ZDP@zope.org > http://lists.zope.org/mailman/listinfo/zdp > From nobody@nowhere.com Mon Aug 19 08:57:29 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 03:57:29 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-56 --------------- "Security settings for a mail host object.":img:6-3:Figures/6-3.png % Anonymous User - Aug. 19, 2002 3:57 am: As ZOPE newbie it would be nice to have a list of all the permissions and a bit more description or examples on the impacts of each permission From nobody@nowhere.com Mon Aug 19 13:52:23 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 08:52:23 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-55 --------------- You can find out what permissions are available on a given object by going to the *Security* management tab. % mcdonc - Aug. 19, 2002 8:52 am: http://www.zope.org/Documentation/Books/ZDG/current/AppendixA.stx From nobody@nowhere.com Mon Aug 19 16:36:14 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 11:36:14 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-50 --------------- Notice that we've replaced the 'tal:content' attribute on the table cell with a tal:replace statement on a 'span' tag. This change allows you to have both an image and text in the table cell. % Anonymous User - Aug. 19, 2002 11:36 am: What would happen if one didn't use the tal:replace statement on the span tag but still the tal:content statement? What kind of effect would you see or if you don't see any effect at all - why would it be so? From nobody@nowhere.com Mon Aug 19 16:51:50 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 11:51:50 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-135 --------------- If you wish to customize the sidebar links you can either fill the 'links' slot to completely override the links, or you can fill the 'additional_links' slot to insert some extra links after the default links. You can nest slots as deeply as you wish. % Anonymous User - Aug. 19, 2002 11:51 am: Where can I find out what 'metal:slot' means. I have found the following '', but I can't find any documentation. Sam From nobody@nowhere.com Mon Aug 19 19:21:08 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 14:21:08 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-193 --------------- Sessions have a plethora of additional configuration parameters and usage patterns. For further information about the session application programming interface, see the Zope help system. For an additional example of using sessions, see the "shopping cart" example that comes with Zope 2.5 and above (in the Examples folder). % Anonymous User - Aug. 19, 2002 2:21 pm: How can I reference the container of a session object (i.e., I presume, the sessionDataManager object) from within a python script? And from a DTML method? From nobody@nowhere.com Mon Aug 19 19:22:59 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 14:22:59 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-193 --------------- Sessions have a plethora of additional configuration parameters and usage patterns. For further information about the session application programming interface, see the Zope help system. For an additional example of using sessions, see the "shopping cart" example that comes with Zope 2.5 and above (in the Examples folder). % Anonymous User - Aug. 19, 2002 2:21 pm: How can I reference the container of a session object (i.e., I presume, the sessionDataManager object) from within a python script? And from a DTML method? % mcdonc - Aug. 19, 2002 2:22 pm: See http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx for more info about sessions. From nobody@nowhere.com Tue Aug 20 00:29:31 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 19 Aug 2002 19:29:31 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-174 --------------- Display a tree rooted in another object, using a custom branches method:: Node id : % rklahn - Aug. 19, 2002 7:29 pm: It is often useful to generate a tree of your parent, from a DTML document. I think it would be helpful if an example was provided that performed this function, such as: From nobody@nowhere.com Tue Aug 20 05:15:44 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 00:15:44 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#2-37 --------------- DateTime objects may be converted to integer, long, or float numbers of days since January 1, 1901, using the standard int, long, and float functions (Compatibility Note: int, long and float return the number of days since 1901 in GMT rather than local machine timezone). DateTime objects also provide access to their value in a float format usable with the python time module, provided that the value of the object falls in the range of the epoch-based time module. % Anonymous User - June 10, 2002 10:51 am: It actually seems to return the time in seconds since 1/1/1970, not 1/1/1901. % Anonymous User - July 24, 2002 2:32 pm: I'm guessing that's a typo -- python has always run time from 1970 % Anonymous User - Aug. 20, 2002 12:15 am: epoch [UNIX: prob. from astronomical timekeeping] n. The time and date corresponding to 0 in an operating system's clock and timestamp values. Under most UNIX versions the epoch is 00:00:00 GMT, January 1, 1970; under VMS, it's 00:00:00 of November 17, 1858 (base date of the U.S. Naval Observatory's ephemerides); on a Macintosh, it's the midnight beginning January 1 1904. System time is measured in seconds or ticks past the epoch. Weird problems may ensue when the clock wraps around (see wrap around), which is not necessarily a rare event; on systems counting 10 ticks per second, a signed 32-bit count of ticks is good only for 6.8 years. The 1-tick-per-second clock of UNIX is good only until January 18, 2038, assuming at least some software continues to consider it signed and that word lengths don't increase by then. From nobody@nowhere.com Tue Aug 20 09:54:45 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 04:54:45 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#3-59 --------------- You can use Python-based or Perl-based Scripts, and even Z SQL Methods to implement logic. Your logic objects can call each other, and can be called from your presentation methods. To create the *isHungry* method, first create two new properties in the *ExhibitProperties* property sheet named "last_meal_time" that is of the type *date* and "isDangerous" that is of the type *boolean*. This adds two new fields to your Edit view where you can enter the last time the animal was fed and select whether or not the animal is dangerous. % Anonymous User - May 30, 2002 12:06 pm: You need to enter a date on the last_meal_time property. Zope 2.5.1 will not let you enter a null value in there. % Anonymous User - Aug. 20, 2002 4:54 am: for example, date should be like bellow: 2002/08/20 13:00:00 GMT+9 From nobody@nowhere.com Tue Aug 20 10:54:25 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 05:54:25 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Preface Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Preface.stx#4-19 --------------- Chapter 14 covers extending Zope by creating your own classes of objects. It discusses *ZClasses*, and how instances are built from classes. It describes step by step how to build a ZClass and the attendant security and design issues. Finally, it discusses creating Python base classes for ZClasses and describes the base classes that ship with Zope. This chapter shows you how to take Zope to the next level, by tailoring Zope to your needs. % Anonymous User - Aug. 20, 2002 5:54 am: From nobody@nowhere.com Tue Aug 20 13:43:03 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 08:43:03 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-187 --------------- Here's an example of how to work with a session using a Python-based Script:: ## Script (Python) "lastView" secs_per_day=24*60*60 session=context.REQUEST.SESSION if session.has_key('last view'): # The script has been viewed before, since the 'last view' # has been previously set in the session. then=session['last view'] now=context.ZopeTime() session['last view']=now # reset last view to now return 'Seconds since last view %.2f' % ((now - then) * secs_per_day) # The script hasn't been viewed before, since there's no 'last # view' in the session data. session['last view']=context.ZopeTime() return 'This is your first view' % Anonymous User - Aug. 20, 2002 8:43 am: As far as I remember, "context" as in context.REQUEST.SESSION has not yet been discussed. For the sake of understanding a sentence on "context" might be in order. SL From nobody@nowhere.com Tue Aug 20 14:34:31 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 09:34:31 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-57 --------------- Finally let's add the ability to sort this list by file name or by modification date. Change the *index_html* method again::

File Library

File Last Modified
% Anonymous User - Aug. 20, 2002 9:34 am: Could somebody explain to me what that _.has_key()-function does so that I might be able to reuse it in another application? From nobody@nowhere.com Tue Aug 20 15:05:02 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 10:05:02 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#3-71 --------------- One common use for scripts is to do string processing. Python has a number of standard modules for string processing. You cannot do regular expression processing from Python-based Scripts, but you do have access to the *string* module. You have access to the *string* module from DTML as well, but it is much easier to use from Python. Suppose you want to change all the occurrences of a given word in a DTML Document. Here's a script, *replaceWord*, that accepts two arguments, *word* and *replacement*. This will change all the occurrences of a given word in a DTML Document:: ## Script (Python) "replaceWord" ##parameters=word, replacement ## """ Replaces all the occurrences of a word with a replacement word in the source text of a DTML Document. Call this script on a DTML Document to use it. Note: you'll need permission to edit a document to call this script on the document. """ import string text=context.document_src() text=string.replace(text, word, replacement) context.manage_edit(text, context.title) % Anonymous User - Apr. 9, 2002 3:26 pm: Why no regular expressions? Perhaps this should be explained in greater detail. One can always use javascript if one needs regular expressions, but this is something that was quite surprising to me. % Anonymous User - Apr. 10, 2002 12:50 am: It's a security issue. Zope attaches attributes to objects in order to protect them via security assertions. The regex module is implemented in C (as opposed to pure Python), so it's hard to attach security attributes to the various objects that are used by the regex machinery. External methods can make full use of the regex module, but "through the web" code (like Python scripts) cannot due to the abovementioned security constraints. % Anonymous User - Aug. 20, 2002 10:05 am: context.manage_edit(text, context.title) Is not explained... From nobody@nowhere.com Tue Aug 20 16:00:43 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 11:00:43 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-3 --------------- This book describes Zope's services to the developer from a hands on, example-oriented standpoint. This book is not a complete reference to the Zope API, but rather a practical guide to applying Zope's services to develop and deploy your own web applications. This book covers the following topics: *Components and Interfaces* -- Zope is moving toward a component-centric development model. This chapter describes the new component model in Zope and how Zope components are described through interfaces. *Object Publishing* -- Developing applications for Zope involves more than just creating a component, that component must be *publishable* on the web. This chapter describes publication, and how your components need to be designed to be published. *Zope Products* -- New Zope components are distributed and installed in packages called "Products". This chapter explains Products in detail. *Persistent Components* -- Zope provides a built-in, transparent Python object database called ZODB. This chapter describes how to create persistent components, and how they work in conjunction with the ZODB. *Acquisition* -- Zope relies heavily on a dynamic technique called acquisition. This chapter explores acquisition thoroughly. *Security* -- When your component is used by many different people through the web, security becomes a big concern. This chapter describes Zope's security API and how you can use it to make security assertions about your object. *Debugging and Testing* -- Zope has built in debugging and testing support. This chapter describes these facilities and how you can debug and test your components. % Anonymous User - Apr. 28, 2002 11:22 pm: Are ZClasses to be deprecated as a development tool? It seems to be no longer included as a development option. % mcdonc - May 30, 2002 11:06 am: ZClasses are documented in the Zope Book. % Anonymous User - Aug. 20, 2002 11:00 am: what From nobody@nowhere.com Tue Aug 20 16:00:46 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 11:00:46 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-3 --------------- This book describes Zope's services to the developer from a hands on, example-oriented standpoint. This book is not a complete reference to the Zope API, but rather a practical guide to applying Zope's services to develop and deploy your own web applications. This book covers the following topics: *Components and Interfaces* -- Zope is moving toward a component-centric development model. This chapter describes the new component model in Zope and how Zope components are described through interfaces. *Object Publishing* -- Developing applications for Zope involves more than just creating a component, that component must be *publishable* on the web. This chapter describes publication, and how your components need to be designed to be published. *Zope Products* -- New Zope components are distributed and installed in packages called "Products". This chapter explains Products in detail. *Persistent Components* -- Zope provides a built-in, transparent Python object database called ZODB. This chapter describes how to create persistent components, and how they work in conjunction with the ZODB. *Acquisition* -- Zope relies heavily on a dynamic technique called acquisition. This chapter explores acquisition thoroughly. *Security* -- When your component is used by many different people through the web, security becomes a big concern. This chapter describes Zope's security API and how you can use it to make security assertions about your object. *Debugging and Testing* -- Zope has built in debugging and testing support. This chapter describes these facilities and how you can debug and test your components. % Anonymous User - Apr. 28, 2002 11:22 pm: Are ZClasses to be deprecated as a development tool? It seems to be no longer included as a development option. % mcdonc - May 30, 2002 11:06 am: ZClasses are documented in the Zope Book. % Anonymous User - Aug. 20, 2002 11:00 am: what % Anonymous User - Aug. 20, 2002 11:00 am: what From nobody@nowhere.com Tue Aug 20 16:05:42 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 11:05:42 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-31 --------------- This is basically what you might expect. Zope inserts a header, a footer, and a title into the web page. DTML gets the values for these variables from a number of different places. First, the *var* tag tries to find a variable in the current object. Then it looks in the current object's containers. Then it looks in the web request (forms and cookies). If Zope cannot find a variable then it raises an exception, and it stops executing the DTML. % Anonymous User - June 6, 2002 9:24 am: "current object's containers" what are containers? are you saying the current file's parent folder? or the sibling folders? % Anonymous User - June 6, 2002 9:31 am: the current object's folder, then in turn *its* folder, then its folder, etc. % Anonymous User - Aug. 20, 2002 11:05 am: The preceding search order is so important I think it should have its own heading. SL From nobody@nowhere.com Tue Aug 20 17:39:40 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 12:39:40 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-14 --------------- Now suppose that you've gone home and want to import the file into your home Zope server. First, you must copy the export file into Zope's *import* directory on your server. Now, go to the *Import/Export* view of the folder where you want perform the import. Enter the name of the export file in the *Import file name* form element and click *Import* to import those objects into Zope. % Anonymous User - Apr. 17, 2002 4:05 am: When I do this, I get refused, and a comment about lacking a BTreeFolder? % Anonymous User - May 16, 2002 12:08 am: Considering of adding a browse/upload function? % Anonymous User - May 23, 2002 5:11 pm: When I do this, I get the following errors: Error Type: Bad Request Error Value: File does not exist: basic-0.9.5.zexp I created a root-level folder called "import". I then added a File type object from my local filesystem into the import folder, and set the id to the same name as the filename. As far as I can tell I have followed all the rules completely - any thoughts? % Anonymous User - June 12, 2002 2:57 am: I get the same error. Help Please! % Anonymous User - June 12, 2002 2:34 pm: You need to create the import folder in the local file system (the directory where you installed Zope) and copy the file you want import there. % Anonymous User - Aug. 20, 2002 12:39 pm: Can't I import files remotely? What do I do if I can not access the machine Zope is running on? c&p in the text area? From troester@fh-heilbronn.de Tue Aug 20 17:51:59 2002 From: troester@fh-heilbronn.de (=?iso-8859-1?Q?Dr._F._Tr=F6ster?=) Date: Tue, 20 Aug 2002 18:51:59 +0200 Subject: [ZDP] Performing onClick ? Message-ID: <001301c24869$e9e96bf0$fe78a8c0@mbmsrprivalix> This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C2487A.AD723BF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Dear Sir's how can I start the object mainContent (a defined DTML method in the root directory) by the attribute 'onClick' in the button-tag? Like this? It does'nt work. Thank you very much Fritz ------------------------------------------------------------------------ --- ------=_NextPart_000_0014_01C2487A.AD723BF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Nachricht
Dear=20 Sir's
 
how = can I start the=20 object mainContent (a defined DTML method in the root directory) by the=20 attribute 'onClick' in the button-tag?
 
Like=20 this?
 
<button name=3D"Home" = type=3D"submit" value=3D"Home"=20
           = onClick=3D"<dtml-var mainContent>" Home=20 </div></button>
It = does'nt=20 work.
 
Thank = you very=20 much
Fritz
----------------------------------------------------------------= -----------
 
------=_NextPart_000_0014_01C2487A.AD723BF0-- From nobody@nowhere.com Tue Aug 20 18:35:47 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 13:35:47 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-37 --------------- Inheritance also lets you build generalization relationships between classes. For example, you could create a class called 'Animal' that contains information that all animals have in general. Then, you could create *Reptile* and *Mammal* classes that both inherit from *Animal*. Taking it even further, you could create two additional classes *Lizard* and *Snake* that both inherit from *Reptile*, as shown in [12-3]. % Anonymous User - Aug. 20, 2002 1:35 pm: ...two additional classes Lizard and Snake that both inherit from Reptile, as shown in Figure 12-3. There are classes *Frog* and Snake inheriting from Reptile in fig 12-3. From nobody@nowhere.com Tue Aug 20 22:30:13 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 17:30:13 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-13 --------------- To log into the management interface point your web browser to Zope's management URL. The management URL for Zope is Zope's base URL with */manage* appended. Assuming you have Zope installed on your local machine serving on the default port 8080, the management URL is:: http://localhost:8080/manage % Anonymous User - June 15, 2002 9:04 am: Doesn't standard installation use port 9673? % Anonymous User - June 15, 2002 10:24 am: It used to, but now the standard port is 8080. % Anonymous User - June 18, 2002 3:37 am: In Debian : http://localhost:9673/manage % Anonymous User - Aug. 12, 2002 12:31 pm: FYI Just in case anyone else runs into the same problem as I did. I could not log in using http://[hostname]:[port]/manage I wound up using http://[ipaddress]:[port]/manage. It worked and let me in. % Anonymous User - Aug. 20, 2002 5:30 pm: DNS GOT PROBLEM From nobody@nowhere.com Tue Aug 20 22:58:44 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 17:58:44 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-14 --------------- Let's create a new user so that your coworker can help you manage your Zope site. Go to the root Zope folder. Click on the user folder named *acl_users*. The user folder contains user objects that define Zope user accounts. Click the *Add* button to create a new user. % Anonymous User - Aug. 20, 2002 5:58 pm: Please add additional optional fields to the add user: First Name Last Name Email Address Comment From nobody@nowhere.com Wed Aug 21 03:47:43 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 22:47:43 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#4-3 --------------- This will insert the news items including their HTML markup into paragraphs. % Anonymous User - Aug. 20, 2002 10:47 pm: Agreed. Explain example more --RAW-- From nobody@nowhere.com Wed Aug 21 04:13:47 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 20 Aug 2002 23:13:47 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#1-0 --------------- This reference describes the interfaces to the most common set of basic Zope objects. This reference is useful while writing DTML, Perl, and Python scripts that create and manipulate Zope objects. % Anonymous User - June 20, 2002 6:55 pm: This section needs a Table of Contents too. % Anonymous User - June 26, 2002 1:43 pm: The reference describes nearly nothing when you don't know the solution! Examples are absolutely necessary. % Anonymous User - July 12, 2002 3:32 pm: i agree. % Anonymous User - July 14, 2002 5:21 am: Strongly disagree. This is a reference, not a tutorial or explanatory text. % Anonymous User - Aug. 20, 2002 11:13 pm: A reference doesn't contain explanatory text? From nobody@nowhere.com Wed Aug 21 09:39:50 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 04:39:50 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-24 --------------- The right-hand frame of the management interface shows the object you are currently managing. When you first log into Zope the current object is the root folder, as shown in the right frame of [2-1]. The workspace gives you information about the current object, and lets you change it. % Anonymous User - June 23, 2002 10:51 am: It looks like all links to "Figure 2-1" are wrong (sorry). % Anonymous User - Aug. 21, 2002 4:39 am: Links to "Figure 2-1" are working well with Netscapeョ Communicator 4.74. Maybe some browser are not interpreting this link as they should. From troester@fh-heilbronn.de Wed Aug 21 10:26:39 2002 From: troester@fh-heilbronn.de (=?iso-8859-1?Q?Dr._F._Tr=F6ster?=) Date: Wed, 21 Aug 2002 11:26:39 +0200 Subject: [ZDP] pdf-file viewing Message-ID: <000701c248f4$db374dd0$fe78a8c0@mbmsrprivalix> This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C24905.9EC01DD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =20 with the code =20 =20 =20 I want to execute dhe acrobat reader to show the content of the file object "Studienordnung" in the folder "Dokumente". But I get only the inner text of the pdf-file=B4without executing the acrobat reader. what`s wrong?=20 =20 Thank you very much Fritz ------------------------------------------------------------------------ --- ------=_NextPart_000_0008_01C24905.9EC01DD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Nachricht
Hi,
 
with the code
 
<dtml-var=20 standard_html_body_header>
<dtml-with Dokumente>=20
 <dtml-var = Studienordnung>
</dtml-with>
<dtml-var=20 standard_html_body_footer>
 
I want to execute dhe acrobat reader to show = the=20 content of the file object "Studienordnung" in the folder=20 "Dokumente".
But I get only the inner text of the = pdf-file=B4without=20 executing the acrobat reader.
what`s = wrong? 
 
Thank = you very=20 much
Fritz
----------------------------------------------------------------= -----------
------=_NextPart_000_0008_01C24905.9EC01DD0-- From ct@gocept.com Wed Aug 21 10:35:37 2002 From: ct@gocept.com (Christian Theune) Date: Wed, 21 Aug 2002 11:35:37 +0200 Subject: [ZDP] pdf-file viewing In-Reply-To: <000701c248f4$db374dd0$fe78a8c0@mbmsrprivalix> References: <000701c248f4$db374dd0$fe78a8c0@mbmsrprivalix> Message-ID: <20020821093537.GF1429@herkules> --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. First, this posting would be more appropriate (and find a broader audience) on zope@zope.org. * Dr. F. Tr??ster [020821 11:30]: > Hi, > =20 > with the code > =20 > > =20 > > > > =20 > I want to execute dhe acrobat reader to show the content of the file > object "Studienordnung" in the folder "Dokumente". > But I get only the inner text of the pdf-file=B4without executing the > acrobat reader. > what`s wrong?=20 You mixed up the "compentencies" of Zope and the Browser. If you want the browser to display a pdf file by opening the acrobat reader, you will have to send the file as a file, not try to call it in zope. An example is to put up the file, set the content type to application/pdf and then "send" it, by providing a link to it, like http://zope.server/myPdfFileObject If your browser is configured properly, this should raise an Acrobat Reader on your system. Hope to have helped you, otherwise visit zope@zope.org=20 Cheers Christian --=20 Christian Theune - ct@gocept.com gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3641 511586 - fax.+49 3496 3099118 mob. - +49 179 7808366 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b']) --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Y17pdUt9X/gknwIRAvrUAKCogTtbdIZ+W1dDppJdZLLhNthylgCeNPb2 xEwlsH5686mb77g2tjmpW5U= =vb3V -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI-- From nobody@nowhere.com Wed Aug 21 11:20:06 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 06:20:06 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Searching and Categorizing Content Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SearchingZCatalog.stx#2-14 --------------- Visitors to your Zoo want to be able to search for information on the Zoo's animals. Eager herpetologists want to know if you have their favorite snake, so you should provide them with the ability to search for certain words and show all the documents that contain those words. Searching is one of the most useful and common web activities. % Anonymous User - Aug. 21, 2002 6:20 am: Since the examples tries to show us how to index contents of files, I presume they mean that the content should be somewhere in the DTML-file, in the header or body. From nobody@nowhere.com Wed Aug 21 11:26:06 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 06:26:06 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix C: Zope Page Templates Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixC.stx#3-13 --------------- Expressions used in statements may return values of any type, although most statements will only accept strings, or will convert values into a string representation. The expression language must define a value named *nothing* that is not a string. In particular, this value is useful for deleting elements or attributes. % Anonymous User - Aug. 21, 2002 6:26 am: From somewhere I copied a line like this: It works fine. Why is "tal:block" not in the list? From nobody@nowhere.com Wed Aug 21 14:09:36 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 09:09:36 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-42 --------------- Now click *Add*. This will take you back to the *ZooExhibit* Product and you will see five new objects, as shown in [12-4]. % Anonymous User - Aug. 21, 2002 9:09 am: I would like to build a ZClass that inherits from class SessionDataManager of the Session product, but no such class shows in the base classes list. Are there any techniques to make it became a base class extensible by ZClasses? The strange thing is that further on an __init__.py example shows how to register a class so to make it available to ZClasses for inheriting, and the __init__.py file of the Session product follows such registration directives! To be honest, it calls context.registerClass(), not context.registerBaseClass(). Maybe that's the point? Can I overcome this editing __init__.py and changing context.registerClass() to context.registerBaseClass()? From nobody@nowhere.com Wed Aug 21 15:39:29 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 10:39:29 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#1-0 --------------- When building a web application with Zope, you construct the application out of objects. By design, different objects handle different parts of your application. Some objects hold your content data, such as word processor documents, spreadsheets and images. Some objects handle your application's logic by accepting input from a web form, or executing a script. Some objects control the way your content is displayed, or *presented* to your viewer, for example, as a web page, or via email. In general Zope objects take three types of roles: Content -- Zope objects such as documents, images and files hold different kinds of textual and binary data. In addition to objects in Zope containing content, Zope can work with content stored externally, for example, in a relational database. Logic -- Zope has facilities for scripting business logic. Zope allows you to script behavior using Python, Perl, and SQL. "Business logic" is any kind of programming that does not involve presentation, but rather involves carrying out tasks like changing objects, sending messages, testing conditions and responding to events. Presentation -- You can control the look and feel of your site with Zope objects that act as web page templates. Zope comes with a tag based scripting language called the Document Template Markup Language (DTML) to control presentation. % Anonymous User - May 31, 2002 10:39 am: This three types are a bit artificial. I agree with the CONTENT. I also agree on the LOGIC section. But I am having some problems with the PRESENTATION layer. DTML (why did you not mention ZPT) is a mixture of LOGIC, CONTENT and PRESENTATION. After all I would say DTML belongs to the realm of LOGIC. It is a "programming" language and not "really" responsible for PRESENTATION. It is a means of bringing content into a site... but like HTML which mixes STUCTURE (

etc.) and PRESENTATION () it is neither fish nor flesh. CSS is an example for "pure" PRESENTATION. I read an article that said, ZOPE had a problem with the separation of CONTENT - LOGIC - PRESENTATION. To me it looks as if the explanation tries to show the opposite... well, it failed and creates an artifical and wrong separation of CONTENT, LOGIC and PRESENTATION. % Anonymous User - July 2, 2002 1:49 pm: Can somebody confirm this: DTML is going away and ZPT will play a bigger role? If this is the case, I don't want to learn DTML. Zope should have a section where both Zope and users can post any new "trend" or future changes. Thanks. % Anonymous User - Aug. 21, 2002 10:39 am: "...it is neither fish nor flesh." Should be "neither fish nor fowl." From nobody@nowhere.com Wed Aug 21 15:50:53 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 10:50:53 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#4-21 --------------- These variables describe the current item. sequence-item -- The current item. sequence-key -- The current key. When looping over tuples of the form '(key,value)', the 'in' tag interprets them as '(sequence-key, sequence-item)'. sequence-index -- The index starting with 0 of the current item. sequence-number -- The index starting with 1 of the current item. sequence-roman -- The index in lowercase Roman numerals of the current item. sequence-Roman -- The index in uppercase Roman numerals of the current item. sequence-letter -- The index in lowercase letters of the current item. sequence-Letter -- The index in uppercase letters of the current item. sequence-start -- True if the current item is the first item. sequence-end -- True if the current item is the last item. sequence-even -- True if the index of the current item is even. sequence-odd -- True if the index of the current item is odd. sequence-length -- The length of the sequence. sequence-var-*variable* -- A variable in the current item. For example, 'sequence-var-title' is the 'title' variable of the current item. Normally you can access these variables directly since the current item is pushed on the DTML namespace. However these variables can be useful when displaying previous and next batch information. sequence-index-*variable* -- The index of a variable of the current item. % rboylan - July 22, 2002 7:40 pm: How does this work if you want to use these variables in an expression? I tried, but got errors because (I think) - is not part of python names. % Anonymous User - Aug. 3, 2002 4:39 pm: rboylan, here is an example: do something.. % Anonymous User - Aug. 7, 2002 12:44 am: When a sql search returns no results, will the value of sequence-length be zero? Whenever I run my script and there are no results, I either get an error about sequence not being defined, or a blank screen. % Anonymous User - Aug. 21, 2002 10:50 am: no results? - use : ... ... From nobody@nowhere.com Wed Aug 21 15:59:10 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 10:59:10 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-34 --------------- Notice that a lot of complexity is added to the code just to get things out of the *Reptiles* folder. Using the *with* tag you can make this example much easier to read:: % Anonymous User - Aug. 21, 2002 10:59 am: Somehow the get()-function is not interpreted correctly. I always get the following error message: Error Type: KeyError Error Value: getReptiles Why?? From nobody@nowhere.com Wed Aug 21 16:24:08 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 11:24:08 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-50 --------------- Notice that we've replaced the 'tal:content' attribute on the table cell with a tal:replace statement on a 'span' tag. This change allows you to have both an image and text in the table cell. % Anonymous User - Aug. 19, 2002 11:36 am: What would happen if one didn't use the tal:replace statement on the span tag but still the tal:content statement? What kind of effect would you see or if you don't see any effect at all - why would it be so? % Anonymous User - Aug. 21, 2002 11:24 am: You will see no difference when you see the result in a browser, but that's because the tag has no visual representation. It's used as a placeholder for attributes, styles and other things. Example. The following template:

Title: dummy title

will be processed as:

Title: The Real Title

But the following other template:

Title: dummy title

will be processed as:

Title: The Real Title

The visual presentation to the final user in their browser is the same. From nobody@nowhere.com Wed Aug 21 16:59:30 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 11:59:30 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-52 --------------- This form could be processed by this script:: ## Script (Python) "action" ##parameters=name, age ## container.addPerson(name, age) return container.responseTemplate() % Anonymous User - Aug. 6, 2002 12:15 am: How do you set the Template which is going to be executed witht the .responseTemplate() method? % Anonymous User - Aug. 21, 2002 11:59 am: responseTemplate is the id of the template that you want to execute. If your response template is called "printResult", for example, you will write: return container.printResult() From nobody@nowhere.com Wed Aug 21 17:42:01 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 12:42:01 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-68 --------------- The ZODB is a complex and powerful system. However using persistent objects is almost completely painless. Seldom do you need to concern yourself with thread safety, transactions, conflicts, memory management, and database replication. ZODB takes care of these things for you. By following a few simple rules you can create persistent objects that just work. % Anonymous User - Aug. 21, 2002 12:42 pm: Andrew Kuchling's ZODB pages link is broken!! From nobody@nowhere.com Wed Aug 21 17:53:05 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 21 Aug 2002 12:53:05 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-68 --------------- The ZODB is a complex and powerful system. However using persistent objects is almost completely painless. Seldom do you need to concern yourself with thread safety, transactions, conflicts, memory management, and database replication. ZODB takes care of these things for you. By following a few simple rules you can create persistent objects that just work. % Anonymous User - Aug. 21, 2002 12:42 pm: Andrew Kuchling's ZODB pages link is broken!! % Anonymous User - Aug. 21, 2002 12:53 pm: use http://www.amk.ca/zodb/ instead From nobody@nowhere.com Thu Aug 22 09:04:32 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 04:04:32 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Security Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Security.stx#2-53 --------------- Zope security is based upon roles and permissions. Users have roles. Security policies map permissions to roles. Classes protect methods with permissions. As a developer you main job is to protect your classes by associating methods with permissions. Of course there are many other details such as protecting modules and functions, creating security user interfaces, and initializing security settings. % Anonymous User - Jan. 4, 2002 4:14 pm - This from Dieter Maurer -- The basic security mechanism uses the attribute "m__roles__" in order to protect "m". If this attribute it "None", then "m" is public. Otherwise, it is expected to be a sequence of roles that are allowed to use "m". But, "ExtensionsClass" brings with it computed attributes. This allows "m__roles__" to be not a sequence but a method returning a sequence. When you protect "m" with a permission "p", then "m__roles__" is set to "PermissionRole(p)". This instance dynamically evaluates into a sequence of roles by crawling up the "aq_container" (which is correctly "aq_parent" after "aq_inner") chain and translating "p" into roles by interpreting the "permission-to-role" mapping it finds on its way to the application object. Therefore, "declarePublic" works for non-wrapped instances while "declareProtected" requires the wrapping. % Anonymous User - May 3, 2002 4:47 am: From Julian Munoz -- I don't find any reference to security and object properties. % d.maurer - Aug. 22, 2002 4:04 am: I would like to learn details about __guarded_getattr__, __guarded_setattr__ and friends. What is their semantics? Are they expected to do their own security checks (I expect a "yes" to this question)? Is it usually safe to implement "__guarded_getattr__" by: result= getattr(self,key) if not getSecurityManager().validate(accessed=self, name=key, value= result) raise 'Unauthorized', attr return result From nobody@nowhere.com Thu Aug 22 09:23:05 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 04:23:05 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-79 --------------- To shutdown Zope, click the *Shutdown* button. Shutting down Zope will cause the server to stop handling requests and completely exit from memory. You will have to manually start Zope to continue using it. Only shutdown Zope if you are finished using it, and have the ability to access the server on which Zope is running, so that you can manually restart it later. % Anonymous User - May 30, 2002 5:44 pm: I have installed Zope 2.5 on a WinNT4 and Win2000. On both machines I get the tracebacks further down below. Today I downloaded Zope 2.5.1 and installed it on my Laptop with Win2000. The same error appears again. Is it only me having this problem? Is this the usual message, when the server shuts down? On one hand it says: An error was encountered and on the other hand: Zope has exited normally. What is true now? If it is a "normal" behaviour - a remark would be fine. An error was encountered while publishing this resource. exceptions.SystemExit Zope has exited normally. Traceback (innermost last): File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 150, in publish_module File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 114, in publish File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 98, in publish File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: manage_shutdown) File C:\PROGRA~1\ZOPEWE~1\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: manage_shutdown) File C:\PROGRA~1\ZOPEWE~1\lib\python\App\ApplicationManager.py, line 342, in manage_shutdown (Object: Control_Panel) SystemExit: 0 Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. % Anonymous User - May 30, 2002 7:29 pm: This is normal. Zope exits by raising an exception. This is propagated to the browser. Nothing to be scared of. ;-) % Anonymous User - May 31, 2002 2:36 am: But this behaviour should be pointed out in the text... tracebacks make you feel uncomfortable. Please add a sentence or a paragraph on this - it made me so insecure that I installed Zope on three different system. % Anonymous User - Aug. 22, 2002 4:23 am: I second this From nobody@nowhere.com Thu Aug 22 09:29:26 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 04:29:26 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Security Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Security.stx#2-53 --------------- Zope security is based upon roles and permissions. Users have roles. Security policies map permissions to roles. Classes protect methods with permissions. As a developer you main job is to protect your classes by associating methods with permissions. Of course there are many other details such as protecting modules and functions, creating security user interfaces, and initializing security settings. % Anonymous User - Jan. 4, 2002 4:14 pm - This from Dieter Maurer -- The basic security mechanism uses the attribute "m__roles__" in order to protect "m". If this attribute it "None", then "m" is public. Otherwise, it is expected to be a sequence of roles that are allowed to use "m". But, "ExtensionsClass" brings with it computed attributes. This allows "m__roles__" to be not a sequence but a method returning a sequence. When you protect "m" with a permission "p", then "m__roles__" is set to "PermissionRole(p)". This instance dynamically evaluates into a sequence of roles by crawling up the "aq_container" (which is correctly "aq_parent" after "aq_inner") chain and translating "p" into roles by interpreting the "permission-to-role" mapping it finds on its way to the application object. Therefore, "declarePublic" works for non-wrapped instances while "declareProtected" requires the wrapping. % Anonymous User - May 3, 2002 4:47 am: From Julian Munoz -- I don't find any reference to security and object properties. % d.maurer - Aug. 22, 2002 4:04 am: I would like to learn details about __guarded_getattr__, __guarded_setattr__ and friends. What is their semantics? Are they expected to do their own security checks (I expect a "yes" to this question)? Is it usually safe to implement "__guarded_getattr__" by: result= getattr(self,key) if not getSecurityManager().validate(accessed=self, name=key, value= result) raise 'Unauthorized', attr return result % d.maurer - Aug. 22, 2002 4:29 am: I would like to learn about the details of "validate", at least for the ZopeSecurityPolicy. What precisely are "accessed" and "container". "ZopeSecurityPolicy.validate" contains several mysterious instances of if accessedbase is containerbase: raise Unauthorized What is the purpose for this. I cannot understand the accompanying comment. Why does it not "return 0" but raises "Unauthorizred"? What about a succint semantics for "ZopeSecurityPolicy.validate". It should describe when the function returns "1", "0" and raises an exception. From nobody@nowhere.com Thu Aug 22 09:55:04 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 04:55:04 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Relational Database Connectivity Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx#2-2 --------------- Database Connections are used to establish and manage connections to external relational databases. Database Connections must be established before database methods can be defined. Moreover, every Z SQL Method must be associated with a database connection. Database adapters (or DAs for short) are available for a number of databases: Oracle -- Oracle is a powerful and popular commercial relational database. This DA is written and commercially supported by Zope Corporation. Oracle can be purchased or evaluated from the "Oracle Website":http://www.oracle.com/. Sybase -- Sybase is another popular commercial relational database. The Sybase DA is written and commercially supported by Zope Corporation. Sybase can be purchased or evaluated from the "Sybase Website":http://www.sybase.com/. ODBC -- ODBC is a cross-platform, industry standard database protocol supported by many commercial and open source databases. The ODBC DA is written and commercially supported by Zope Corporation. PostgreSQL -- PostgreSQL is a leading open source relational database. There are several database adapters for PostgreSQL including "ZPoPy":http://sourceforge.net/projects/zpopyda/ which is maintained by Zope community member Thierry Michel. You can find more information about PostgreSQL at the "PostgreSQL web site":http://www.postgresql.org/. MySQL -- MySQL is a fast open source relational database. You can find more information about MySQL at the "MySQL web site":http://www.mysql.com/. The MySQL DA is maintained by Zope community member Monty Taylor. Interbase -- Interbase is an open source relational database from Borland/Inprise. You can find more information about Interbase at the "Borland web site":http://www.borland.com/interbase/. You may also be interested in "FireBird":http://sourceforge.net/projects/firebird which is a community maintained offshoot of Interbase. The Zope Interbase adapter is maintained by Zope community member Bob Tierney. Gadfly -- Gadfly is a relational database written in Python by Aaron Waters. Gadfly is included with Zope for demonstration purposes and small data sets. Gadfly is fast, but is not intended for large amounts of information since it reads the entire database into memory. You can find out more about Gadfly at the "Chordate website":http://www.chordate.com/gadfly.html. % Anonymous User - May 30, 2002 4:03 pm: Whoa! "Database Adaptors" come out of left field, with no description of what they are and how they fit into the scheme of "Database Connectors" and "Z SQL Methods", both of which have been described and related to each other. % Anonymous User - June 26, 2002 2:33 pm: I have figured this out; you only need a Connection object for the specific database, for example zope includes Z Gadfly Connection, you can install the MySql Connection and you will use the same Z Sql Methods as always, the connector will do the job of translating the zope languaje to the database interface... is this right? % Anonymous User - June 26, 2002 4:33 pm: This is right. Although you aren't *limited* to one, you can have several different database connections for each kind of database. For example, you can have two MySQL connections in the same Zope, each of which point to a different MySQL database. % Anonymous User - Aug. 22, 2002 4:55 am: I was wondering whether each user is handled in a different session. So if 2 users connect to a site (not cached) that uses batching. Will each user be handled separately or could there be a conflict? The same applies to the connection: Is each user using the same connection? Does Zope handle the sharing of this single connection? The same applies to the ZSQL as well of course. -Mac- From nobody@nowhere.com Thu Aug 22 10:10:52 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 05:10:52 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-37 --------------- The *getitem* function takes the name to look up as its first argument. Now, the DTML Method will correctly display the sum of the first three integers. The *getitem* method takes an optional second argument which specifies whether or not to render the variable. Recall that rendering a DTML variable means turning it into a string. By default the *getitem* function does not render a variable. % Anonymous User - Aug. 22, 2002 5:10 am: It's not the sum but rather the square of the first three integers. From nobody@nowhere.com Thu Aug 22 12:04:18 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 07:04:18 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-40 --------------- However, suppose you had a form in which a user got to select which document they wanted to see from a list of choices. Suppose the form had an input named *selectedDoc* which contained the name of the document. You could then display the rendered document like so:: % Anonymous User - Aug. 22, 2002 7:04 am: Does this work for subFOLDERS as well? From nobody@nowhere.com Thu Aug 22 15:43:09 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 10:43:09 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-43 --------------- "Product with a ZClass":img:12-4:Figures/12-4.png % Anonymous User - Aug. 22, 2002 10:43 am: The screen-shot is misleading. Before you asked the reader to rename the ZooExhibit folder to ZooTemplate in order to work with a new / empty ZooExhibit folder. But this screen shows a mixture of the old and new "project". You should take a different screen-shot. -Mac- From nobody@nowhere.com Thu Aug 22 15:47:43 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 10:47:43 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#3-48 --------------- Here's an example form that uses action converters::

Select one or more employees

Larry
Simon
Rene

% Anonymous User - Apr. 11, 2002 5:03 pm: What about changing the target as well as the action for different submit buttons? For example, one submit goes to a frame, a different submit goes to a new window. % Anonymous User - May 6, 2002 10:17 am: Note also this
line. If you'll write , then submit button will produce "some_script/fireEmployee" or "some_script/promoteEmployee" calls. % Anonymous User - May 7, 2002 3:11 am: Target attribute is handled by browser when submitting form, so it's not really possible to alter it on a server after the form was submitted -- the server's response will go where it would go, but if you load back the same form with some JavaScript (which would load something into other frame) implanted, you may pretend you altered the target. Pretty dirty hack though... % Anonymous User - May 7, 2002 7:25 am: I tried Konqueror, Netscape and MSIE browsers and it works only if I put (I put the form in a ZPT, and it works both if scripts return simple data or recall the same ZPT) % Anonymous User - July 18, 2002 8:46 pm: this is dirty, but ...
(opens in new window) (opens in same window)
% Anonymous User - Aug. 22, 2002 10:47 am: Ok, I understand how :action can be used. But how about default_action ? From what I tried, the
has to be empty for :action to work (maybe good to mention here explicitly). So how can there be a default_action ? It would be most logical would be default ? From nobody@nowhere.com Thu Aug 22 16:22:07 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 11:22:07 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-24 --------------- The right-hand frame of the management interface shows the object you are currently managing. When you first log into Zope the current object is the root folder, as shown in the right frame of [2-1]. The workspace gives you information about the current object, and lets you change it. % Anonymous User - June 23, 2002 10:51 am: It looks like all links to "Figure 2-1" are wrong (sorry). % Anonymous User - Aug. 21, 2002 4:39 am: Links to "Figure 2-1" are working well with Netscapeョ Communicator 4.74. Maybe some browser are not interpreting this link as they should. % Anonymous User - Aug. 22, 2002 11:21 am: Works fine with Opera 6.04, too. From nobody@nowhere.com Thu Aug 22 19:06:33 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 22 Aug 2002 14:06:33 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7 --------------- Zope is a framework for building web applications. A web application is a computer program that users access with a web browser over the Internet. You can also think of a web application as a dynamic web site that provides not only static information to users but lets them use dynamic tools to work with an application. % Anonymous User - May 30, 2002 7:29 pm: Should be "... a framework for building a special kind of web application. Generally, a web application is a computer program accessed with a web browser; the special kind of web applications built with the framework provided by Zope can also be thought of as dynamic web sites that both provide static information to users and allow those users to work with dynamic tools." Or something: at a minimum, change "provides not only" to "not only provides". JEL % Anonymous User - Aug. 22, 2002 2:06 pm: Whomever keeps correcting the grammer out here ... you need to get a life !!! It sounds just fine to me .... From nobody@nowhere.com Fri Aug 23 10:38:49 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 05:38:49 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#3-28 --------------- All scripts can be passed parameters. A parameter gives a script more information about what to do. When you call a script from the web, Zope will try to find the script's parameters in the web request and pass them to your script. For example if you have a script with parameters *dolphin* and *REQUEST* Zope will look for *dolphin* in the web request, and will pass the request itself as the *REQUEST* parameter. In practical terms this means that it is easy to do form processing in your script. For example here is a form:: Name
Age
% Anonymous User - Aug. 23, 2002 5:38 am: Can you also pass DTML variables to a Python Script from within a sequence loop in a DTML Document. For Example: I know this does not work, but is there another syntax to get it to work. Or is the PythonScript always rendered first, before the DTML is interpreted. From nobody@nowhere.com Fri Aug 23 11:42:53 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 06:42:53 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Users and Security Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/Security.stx#3-31 --------------- This security pattern is called *delegation*, and is very common in Zope applications. By delegating different areas of your Zope site to different users, you can take the burden of site administration off of a small group of managers and spread that burden around to different specific groups of users. Later in the chapter we'll look at other security patterns. % Anonymous User - June 4, 2002 12:45 pm: I think it may be valuable to point out at this step how a user actually would get to manage his subfolder. I.e. http://machine.com:8080/MyFolder/manage if he is a manager in the MyFolder folder. % Anonymous User - Aug. 23, 2002 6:42 am: This was the point I am looking for. After creating an User in an sub folder I was not able to login, since the user has no root access. Now it works, thanks. It also works if I call manage if the folder is redirected via Apache. From nobody@nowhere.com Fri Aug 23 13:44:53 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 08:44:53 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#2-31 --------------- You've created a Python function in a Python module. Now let's use this function in the External Method. % Anonymous User - Aug. 23, 2002 8:44 am: Let's say i write a python module myModule.py with two functions (funct1 and funct2) in it. Is it possible to have the same External Method (say extM) referring myModule.py and executing funct1 *OR* funct2 upon need? I would like to call the method through the web with something like .../extM/funct1 or .../extM/func2 depending on run time considerations. Put another way, an external method points a function (inside a python module) or can be bound dynamically to any function of that module? From nobody@nowhere.com Fri Aug 23 13:56:14 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 08:56:14 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-57 --------------- In the next section, you'll see how ZClasses can be cobined with standard Python classes to extend their functionality into raw Python. % Anonymous User - Aug. 23, 2002 8:56 am: /cobined/combined/ -Mac- From nobody@nowhere.com Fri Aug 23 14:05:37 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 09:05:37 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#2-31 --------------- You've created a Python function in a Python module. Now let's use this function in the External Method. % Anonymous User - Aug. 23, 2002 8:44 am: Let's say i write a python module myModule.py with two functions (funct1 and funct2) in it. Is it possible to have the same External Method (say extM) referring myModule.py and executing funct1 *OR* funct2 upon need? I would like to call the method through the web with something like .../extM/funct1 or .../extM/func2 depending on run time considerations. Put another way, an external method points a function (inside a python module) or can be bound dynamically to any function of that module? % Anonymous User - Aug. 23, 2002 9:05 am: No... but you could define three functions in the module, use one as an external method, and have it call one of the other two functions in the same module based on runtime considerations. From nobody@nowhere.com Fri Aug 23 14:11:06 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 09:11:06 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#1-1 --------------- *Note: in chapter 3, "Basic Zope Objects", we explained how Zope Page Templates are new to Zope and should be used for presentation. We have not yet converted this chapter over to use Page Templates instead of DTML. We will be rewriting this chapter soon to reflect new methedologies based on page templates soon.* % Anonymous User - June 14, 2002 11:51 am: This has been too long in the coming. This is a pivotal chapter, and should be rewritten soon. % Anonymous User - June 30, 2002 10:53 am: zope-guys: go ahead and rewrite this chapter! i am already waiting for months... :-( % Anonymous User - Aug. 23, 2002 9:11 am: No!! You do not have my permission to re-write this chapter. Forrest Gump policies (mediocrity for the masses) need to be re-inforced. You are doing a great job of this by ommision. (maybe negative psychology will work??) From nobody@nowhere.com Fri Aug 23 16:00:04 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 11:00:04 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Zope Products Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Products.stx#4-36 --------------- For 'selection' and 'multiple selection' properties, you must include an addition item in the property dictionary, 'select_variable' which provides the name of a property or method which returns a list of strings from which the selection(s) can be chosen. For example:: _properties=({'id' : 'favorite_color', 'type' : 'selection', 'select_variable' : 'getColors' }, ) % Anonymous User - Aug. 23, 2002 11:00 am: Could we have an example of the property or method 'getColors' please? I cannot figure out how to create the options list and nominate the default selected item. From nobody@nowhere.com Fri Aug 23 17:44:16 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 12:44:16 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Components and Interfaces Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/ComponentsAndInterfaces.stx#2-2 --------------- Here is a very simple component that says hello. Like all components, this one generally consists of two pieces, an interface, and an implementation:: from Interface import Base class Hello(Base): """ The Hello interface provides greetings. """ def hello(self, name): """ Say hello to the name """ class HelloComponent: __implements__ = Hello def hello(self, name): return "hello %s!" % name % Chris Gray - Aug. 23, 2002 12:44 pm: This information and these sorts of examples as presented here by themselves are all but useless to someone very new to Zope development. Where do these classes go? How do I install them in Zope? How do you instantiate the classes? How do you access the instantiations? How can I experiment with this code? You seem to be presenting all the high-level information without any practical information on how you actually put it to use. The equivalent would be a beginner's book on Python that assumed you would read the source code for the interpreter to discover how to invoke it. It seems to me there is a large gap between what you would learn from the Zope Book and what you need to make use of the information presented here. From nobody@nowhere.com Fri Aug 23 21:16:42 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 23 Aug 2002 16:16:42 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Introduction Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Introduction.stx#1-2 --------------- Throughout this guide, it is assumed that you know how to program in the "Python":http://www.python.org/ programming language. Most of the examples in this guide will be in Python. There are a number of great resources and books for learning Python; the best online resource is the "Python.org web site":http://www.python.org/ and many books can be found on the shelves of your local bookstore. % Anonymous User - Aug. 23, 2002 4:16 pm: go to this site!! From nobody@nowhere.com Sat Aug 24 10:25:06 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 24 Aug 2002 05:25:06 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#1-2 --------------- Here's a very tricky error that almost all newbies encounter. Imagine you have a DTML Document called *zooName*. This document contains an HTML form like the following::

% Anonymous User - June 15, 2002 10:02 am: Why wouldn't the form action code use a Zope object name instead of the URL variable? I thought that in one of the previous examples form actions were more object-oriented than this. % Anonymous User - Aug. 24, 2002 5:25 am: I recieve: Zope has encountered an error while publishing this resource. Error Type: SystemError Error Value: Excessive recursion ? From nobody@nowhere.com Sun Aug 25 04:08:13 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 24 Aug 2002 23:08:13 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-34 --------------- Type in an *Id* for the new Document and click *Add*. After clicking *Add*, you will be taken back to the management screen. There you will see your new page template. % Anonymous User - May 16, 2002 6:58 pm: This section is a bit confusing. There should be a predefined template that the user loads, or not show expository writing that goes nowhere (erewhon?). % Anonymous User - May 19, 2002 1:55 pm: Well, I've read enough. I've been through a "tutorial" that doesn't appear to exist (only the samples), to directions on using buttons and fields that aren't there, to not knowing exactly what Zope actually contains (and I mean the useful things, not technospeak 'features'.) Thank you for alienating another upper management decisionmaker. I'm through with Zope. % Anonymous User - May 19, 2002 2:01 pm: That's a shame. I was looking forward to politely replying to a few more of your insulting and childish rants today. ;-) % Anonymous User - May 23, 2002 6:06 pm: This is all very easy to understand... Man, even I managed to figure out that "view" is actually "test" unless its an actual DTML doc and didn't even slow down. So far so good. Very interesting stuff. Been waiting for something like this for a while (open source -- I know all the big guns have it for a much larger price....) :^) % Anonymous User - May 24, 2002 11:41 am: I'll second the above comment regarding ease of use and clarity of the book (and Zope). If the "upper management decisionmaker" makes all decisions this way, I'd like to know the name of the company and go short with it. ;) (Sorry, couldn't resist the flamebait...) % Anonymous User - June 13, 2002 7:38 pm: Agreed. What the "upper management decision-maker" doesn't realize is that there are probably dozens of people here who would gladly help him/her walk through the tutorial and make sense of Zope. Note to other upper-management types who may be viewing this dialogue: The open-source community is generally very patient with people who are just getting started. Our friend who had the tantrums gave up before realizing that. % Anonymous User - June 27, 2002 5:36 pm: Upper Management "DECISION MAKER", that is exactly the PROBLEM!!! did you ever wonder why so many tech companies are going under after wasting their money!! Let the technical experts make the technical decisions and you show the board the pretty pictures. Thank you % Anonymous User - Aug. 24, 2002 11:08 pm: Agreed, upper management should keep its hands off the hardware and out of the software. Pity they have to evaluate it to diecide whether to use it. From nobody@nowhere.com Sun Aug 25 16:08:22 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sun, 25 Aug 2002 11:08:22 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-54 --------------- The file library as it stands is functional but Spartan. The library doesn't let you know when a file was created, and it doesn't let you sort the files in any way. Let's make the library a little fancier. % Anonymous User - July 18, 2002 7:29 pm: "Spartan" in this context is an adjective, not a verb, and thus shouldn't be capitalised. % Anonymous User - July 24, 2002 12:01 pm: Eh? What's adjectival use got to do with it? (And how does "Spartan" work as a verb?) I'll leave it to the editors to decide whether to capitalize Spartan in this case, though. It varies depending on whose style guide you're fond of. % Anonymous User - Aug. 25, 2002 11:08 am: Can we stick to the content and hold off on critiquing the author's writing style? This comment function is intended as a facility to get our questions answered, not to provide us with an editorial forum. From nobody@nowhere.com Mon Aug 26 06:58:30 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 01:58:30 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#1-2 --------------- You can use DTML scripting in two types of Zope objects, *DTML Documents* and *DTML Methods*. % Anonymous User - Aug. 26, 2002 1:58 am: What are "DTML Documents" as compared to "DTML Methods" and when should one be used over the other? From nobody@nowhere.com Mon Aug 26 08:01:14 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 03:01:14 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-9 --------------- Zope for Windows comes as a self-installing *.exe* file. To install Zope, double click on the installer. The installer walks you through the installation process. % Anonymous User - May 29, 2002 5:23 pm: What versions of Windows does Zope work on? Will it work with Win 95/98/ME, or only NT/2000? -- Oryx3 % mcdonc - May 29, 2002 5:29 pm: It "officially" works on Windows NT/2000, although it reportedly also works fine on 95/98/ME and XP. % Anonymous User - July 24, 2002 12:47 pm: I'm using it on Windoze-Xp and it runs and feels like a solid app. Of course, I am weaning myself of M$S products in favour of Liunux, NetBSD and FreeBSD via GNOME 2 or KDE 3, so I hope it's just as easy to install on those platforms too. % Anonymous User - July 24, 2002 12:50 pm: ...and by the way, I leave my Windoze machine on 24/7 and keep Zope on just to see how it behaves with my other apps. It just keeps humming away using little resources hoping to get its share of requests. :-) Awesome product (so far!!). Romulus ========= % bazzo - Aug. 4, 2002 8:28 am: Zope 2.5.1 does not run on my Win98. After installation I d/clicked START.BAT, after quite a while I got the result about mounting the database, but when I inserted http://localhost:8080/manage at the IE I got "Server not found" I would have looked into the FAQ before if I would have found... But everything sounds so interesting that I will carry on! with greetings from Germany bazzo % bazzo - Aug. 4, 2002 8:33 am: Hey, now this is funny!! After I clicked on that localhost-link in my own comment before that site opened, asking for my login - now it works...... strange bazzo (carrying on) % Anonymous User - Aug. 26, 2002 3:01 am: running on 98se without a hitch... only stumbling block (at first) was zope's command line interface, which, the first time i ran start.bat, wasn't quite as, uh, blunt ;) as i may have liked - that is, it didn't display anything to the effect of "zope is now fully loaded and running... feel free to go test out that localhost:8080 link now". what can i say, i like to have my hand held ;) anyway, for the curious (and, like me, exceedingly dense :P), once you've run start.bat and the command-line window pops up, wait for a message to the effect of "ZServer HTTP server started" followed by your hostname and port number (this comes after the message about opening and mounting the database, and it may take quite a bit longer than you'd expect the first time you run it) - then you're good to go. From nobody@nowhere.com Mon Aug 26 08:43:17 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 03:43:17 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Object Publishing Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx#3-15 --------------- Zope defines interfaces for publishable objects, and publishable modules. % Anonymous User - Jan. 11, 2002 10:20 am - typo? no "," before "and" % Anonymous User - Aug. 26, 2002 3:43 am: There is no typo at all, no comma is needed here. From nobody@nowhere.com Mon Aug 26 18:18:40 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 13:18:40 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-79 --------------- The *sendmail* tag formats and sends a mail messages. You can use the *sendmail* tag to connect to an existing Mail Host, or you can manually specify your SMTP host. % Anonymous User - Aug. 26, 2002 1:18 pm: Yes, but how do you specify which existing mail host - or how do you specify SMTP manually??? From nobody@nowhere.com Mon Aug 26 20:33:57 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 15:33:57 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-40 --------------- Fill out the form to create a new user. In the *Name* field put your chosen user name. Choose a password and enter it in the *Password* and *(Confirm)* fields. Leave the *Domains* field blank. This an advanced feature and is discussed in Chapter 7, "Users and Security". Select the *Manager* role from the *Roles* select list. Then click the *Add* button. % Anonymous User - Aug. 26, 2002 3:33 pm: I agree, I'm a new Zope user, A brief explanation of the owner role or at the very least a reference to where I can find info on it would help a lot. From nobody@nowhere.com Mon Aug 26 20:37:28 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 15:37:28 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-42 --------------- To change your login select *Logout* from the top frame of the management interface. You will be prompted to login again. To change logins, enter a new user name and password. % Anonymous User - May 19, 2002 1:25 pm: I selected logout and 3 times it asked for a login username and password. I had previously added a test user named bob, password bob. I entered this and the login appeared 3 times and in the end it didn't log me in. I have to close my browser and restart to get back in, and only then would it automatically log me in as my manager account, without prompting me for a password. I still cannot log in as bob. % Anonymous User - June 12, 2002 10:49 pm: The same appears to be happening for me. The client side script that brings up the login window is doing so before a refresh has gone through to perform the logout operation (at least that seems to be what's going on). % Anonymous User - June 12, 2002 10:50 pm: I just posted that I'm having the same problem. I should note that I'm using the latest version of IE6 on windows xp. % Anonymous User - June 15, 2002 10:16 am: Same here, but it seems to help to cancel the re-login first. Furthermore after a successfull re-login the old user is mentioned in the upper frame. % Anonymous User - June 19, 2002 11:25 am: Im also using windows xp, i canceled the first re-login and the closed the explorer instance, then i had to delete the historial and temporary internet files (menu tools->internet options) to log as a different user. Seems this has to do with windows xp dealing by its own with the "user cache". % Anonymous User - July 3, 2002 1:06 am: All you have to do is logout, then put the cursor in the location bar and hit enter on the /manage url - when the box pops up asking for a login and password, type in the new ones. % Anonymous User - July 10, 2002 1:00 pm: I have been stepping through this tutorial using Mozilla and Opera running on my linux box (Mandrake 8.2). I experienced exactly the same behavior that is described in the messages above. As an experiment, I created a new user in Mozilla and then went over to Opera to try to login as the new user. When I typed in the /manage URL and pressed I found myself logged in as the new user with no prompt for a password. % mcdonc - July 10, 2002 2:01 pm: I highly doubt that this happened exactly as you describe. Try this: close mozilla (all windows) close opera (all windows) 1. open mozilla and visit /manage 2. log in as an existing manager user 3. create a new account 4. open opera and visit /manage 5. log in as the newly created user. If at step 4 you are logged in as the user that you created in step 3, the world has finally ended, the milennium has come, and we've got larger things to worry about. ;-) % Anonymous User - Aug. 1, 2002 3:07 pm: I'd note that if I've logged in as Emergency User in a browser, my experience has been that I cannot log in on that browser as a regular user - whether I touch any of the acl_user entries or not. This distinction is otherwise undocumented, and for new users is a sufficient show-stopper to lead many to uninstall Zope if they can't find a clear answer. A quick observation - the answers given in the June 15 and July 3 messages don't work with my system - I need another browser to actually log in as a regular user. From my perspective, if the solutions are this inconsistent, then Zope itself needs design work on this point - urgently. % Anonymous User - Aug. 13, 2002 2:36 am: Windows 2000 user, Netscape 4.7. I hit the Logout button, and Netscape popped an "authenticate" box. I tried logging in here, since that seemed like the obvious thing to do, but received "Authentication Failure". Finally I hit cancel, and Zope gave me the message "You have Logged out". I was then able to log in with the new user. % Anonymous User - Aug. 26, 2002 3:37 pm: "Changing Logins" isn't explicit enough could be interpreted either as "Changing Login Details" or "Login to Another Account" perhaps the latter would be a better title From nobody@nowhere.com Mon Aug 26 21:32:57 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 16:32:57 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-24 --------------- The right-hand frame of the management interface shows the object you are currently managing. When you first log into Zope the current object is the root folder, as shown in the right frame of [2-1]. The workspace gives you information about the current object, and lets you change it. % Anonymous User - June 23, 2002 10:51 am: It looks like all links to "Figure 2-1" are wrong (sorry). % Anonymous User - Aug. 21, 2002 4:39 am: Links to "Figure 2-1" are working well with Netscapeョ Communicator 4.74. Maybe some browser are not interpreting this link as they should. % Anonymous User - Aug. 22, 2002 11:21 am: Works fine with Opera 6.04, too. % Anonymous User - Aug. 26, 2002 4:32 pm: And IE 5.5 From nobody@nowhere.com Mon Aug 26 23:43:19 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 18:43:19 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/XML.stx Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/XML.stx#2-0 --------------- You can use XML in Zope with XML Documents. XML Documents hold XML content that you can upload, download, and edit with the Zope management interface. You can also script XML Documents using the Internet standard Document Object Model (DOM) API. Zope is much more than an XML repository, since once your XML data is in Zope it can take advantage of all Zope's services such as persistence, security, cataloging, presentation, and more. % Anonymous User - Aug. 26, 2002 6:43 pm: XML Document ? Its not a standard product. After searching the available products on zope.org, i found XML document but it has been superseded by parsedxml. Both of which are still development versions anyway. Sorry, the book was ok until this chapter. Also all the images are missing from this chapter. My advise is dont publish somthing if its not finished, this applies doubly to manuals and help guides. Ant. From mattb@zope.com Mon Aug 26 23:58:40 2002 From: mattb@zope.com (Matt Burleigh) Date: 26 Aug 2002 18:58:40 -0400 Subject: [ZDP] ignore this Message-ID: <1030402725.25811.0.camel@naos.zope.com> -- Matt Burleigh Zope Managed Hosting - Zope Corporation http://www.zope.com http://www.zope.org From nobody@nowhere.com Tue Aug 27 00:58:38 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 19:58:38 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-9 --------------- Depending on your platform, you run Zope with different commands. Whatever your platform, you can either run Zope manually, or automatically. When running Zope manually, you simply tell Zope when to start and when to stop. When running Zope automatically, Zope will start and stop when your computer starts and stops. % Anonymous User - Aug. 26, 2002 7:58 pm: I have install zope on NT4(SP 5)and win2000(SP 2) user ".exe" package. When I click the start.bat and it show python.exe application error. Look like I have to try on Linux first. From nobody@nowhere.com Tue Aug 27 01:00:29 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Mon, 26 Aug 2002 20:00:29 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#3-78 --------------- This view shows you what permissions your ZClass uses and lets you choose additional permissions to use. On the right is a list of all of the default Zope permissions your ZClass inherits automatically. On the left is a multiple select box where you can add new permissions to your class. Select the *Edit Zoo Exhibits* permission in this box and click *Save Changes*. This tells your ZClass that it is interested in this permission as well as the permissions on the right. % Anonymous User - May 8, 2002 1:55 pm: I cant seem to find the "Edit Zoo Exhibits" permission?? Am I crazy? dTb % Anonymous User - Aug. 26, 2002 8:00 pm: You could go crazy trying to find it. You must name the Permission you create in the previous step. It appears the Name field on the Permission object is used in this select list. Title is not used. If you do not enter a Name, the new permission appears as a blank line at the top of the select list. -ASD From nobody@nowhere.com Tue Aug 27 05:04:00 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 00:04:00 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-40 --------------- Now edit the contents of the *infoAction* document to make it process the form::

Thanks

We received your request for information and will send you email at describing our aardvark adoption program as soon as it receives final governmental approval.

% Anonymous User - June 6, 2002 9:50 am: (the one that 'should' restate the email address imput from infoForm) is not displaying in infoAction. Why? % Anonymous User - June 6, 2002 9:56 am: I figured out why. (from a newbie no less!!!) the term "email" is causing the problem. Change in infoForm: email: to email: and change in infoAction: to and it now works properly. % Anonymous User - July 25, 2002 7:11 pm: Obviously the documentor is under sever time restriants unknown to us. Is it possible for someone who has more time but perhaps less experience to verify each example? I feel this is a useful suggestion as it would yield an increase in magnitude in time saved world-wide, since this one person's efforts could replace the efforts of that each individual user of this document would spend debugging the examples. The formerly mentioned case is especially inefficient because the majority of those proceeding through this document are not familiar with Zope. % Anonymous User - July 25, 2002 7:18 pm: This is actually the purpose of the comment system. If you notice a bug, enter a comment. When I edit the book, I review the comments, and fix what's broken. In the meantime, you can see the fixes in the comments rather than each person rediscovering the bug anew. The issue is more one of having time to edit the comments into the book prose. Please be aware that, yes, I am under severe time restraints. However, I am working steadily towards a revision of this book that incorporates all of the comments into the prose. It should be ready within a few weeks. - C % Anonymous User - Aug. 13, 2002 1:00 pm: Funny, but i am able to view the email address following the example above. works % krump - Aug. 27, 2002 12:03 am: The example worked on my installation. I did notice that after deliberatly misspelling 'email' zope aquired the default email on my sysytem. I almost missed the different email address in the result. If there is not already a discussion later on, on debugging aquisition errors I would not mind seeing one. From nobody@nowhere.com Tue Aug 27 05:10:18 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 00:10:18 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-56 --------------- Now let's customize the header for the *Green* folder. Create a DTML Method in the *Green* folder with an id of *standard_html_header*. Then edit the contents of the header to the following:: % Anonymous User - July 1, 2002 4:46 am: !!!!!!!!!!!! That's a bug of some sort, surely. Don't put that last line, "ERROR:..." into your code, people! % krump - Aug. 27, 2002 12:10 am: It workds ok. Remember it is just a header file and will be prepended to the 'welcome' object. From nobody@nowhere.com Tue Aug 27 05:12:10 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 00:12:10 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-90 --------------- Just for completeness sake, here's an implementation of the *hasVisitedZoo* method as a Python-based Script:: ## Script(Python) "hasVisitedZoo" ##parameters=REQUEST, RESPONSE ## """ Returns true if the user has previously visited the Zoo. Uses cookies to keep track of zoo visits. """ if REQUEST.has_key('zooVisitCookie'): return 1 else: RESPONSE.setCookie('zooVisitCookie', '1') return 0 % Anonymous User - Apr. 20, 2002 2:50 pm: I think this needs to be updated. I did get this to work though: ## Script (Python) "hasVisitedZoo" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title=hasVisitedZoo ## """ Returns true if the user has previously visited the zoo. Uses cookies to keep track of zoo visits. """ from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE if request.has_key('zooVisitCookie'): return 1 else: RESPONSE.setCookie('zooVisitCookie', '1') return 0 % krump - Aug. 27, 2002 12:12 am: Cutting and pasting seems to work so long as it is pasted into a Python script. From nobody@nowhere.com Tue Aug 27 05:13:25 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 00:13:25 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-103 --------------- DTML is a powerful tool for creating dynamic content. It allows you to perform fairly complex calculations. In Chapter 8, "Variables and Advanced DTML", you'll find out about many more DTML tags, and more powerful ways to use the tags you already have seen. Despite its power, you should resist the temptation to use DTML for complex scripting. In Chapter 10, "Advanced Zope Scripting" you'll find out about how to use Python and Perl for scripting business logic. % Anonymous User - June 10, 2002 5:40 pm: links to Appendis A and Chapter 10? % Anonymous User - June 14, 2002 6:48 am: Why do you always comment that links are needed? At the top and bottom of every page is an "up botton" that links to the table of contents where the reader may jump to any chapter. Linking to other chapters and appendices 30 times within each chapter will only make the document more confusing to read, as it would lead the reader to go through the manual out of sequence. % Anonymous User - July 25, 2002 8:10 pm: I agree, links to chapters are mostly useless, however, links to specific sections of certain chapters which directly expand on the recent content are very useful in my humble opinion. This is especially true for those who are on their second pass through the documentation, and are wishing merely to refresh their memory on specific areas in a 'basic to advanced or overview to specific' manner. I only make this comment to further a personal desire to see more of the latter types of links. % krump - Aug. 27, 2002 12:13 am: I'll concur on adding links to specific chapters. It is just a personal preference though. Some people might hate having lots of little links littered all over. From nobody@nowhere.com Tue Aug 27 12:16:46 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 07:16:46 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-187 --------------- Here's an example of how to work with a session using a Python-based Script:: ## Script (Python) "lastView" secs_per_day=24*60*60 session=context.REQUEST.SESSION if session.has_key('last view'): # The script has been viewed before, since the 'last view' # has been previously set in the session. then=session['last view'] now=context.ZopeTime() session['last view']=now # reset last view to now return 'Seconds since last view %.2f' % ((now - then) * secs_per_day) # The script hasn't been viewed before, since there's no 'last # view' in the session data. session['last view']=context.ZopeTime() return 'This is your first view' % Anonymous User - Aug. 20, 2002 8:43 am: As far as I remember, "context" as in context.REQUEST.SESSION has not yet been discussed. For the sake of understanding a sentence on "context" might be in order. SL % Anonymous User - Aug. 27, 2002 7:16 am: Is it also possible to use container.REQUEST.SESSION in order to connect to the Session-Scope?! And what is the exact difference between 'context' and 'container'? From nobody@nowhere.com Tue Aug 27 16:03:13 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 11:03:13 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-92 --------------- Create a new Page Template called "entries.xml" in your guest book folder with the following contents:: Comment goes here... % Anonymous User - Aug. 27, 2002 11:03 am: why is there a 'python:' word in the tal:repeat attribute? previously in the html examples it is not used in tal:repeat attributes From nobody@nowhere.com Tue Aug 27 16:56:47 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 11:56:47 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#2-15 --------------- Suppose you'd like to have a script that takes a file you upload from a form and creates a Zope File object in a folder. To do this you need to know a number of Zope API actions. It's easy enough to read files in Python or Perl, but once you have the file you need to know what actions to call to create a new File object in a Folder. % Anonymous User - May 31, 2002 11:55 am: Boy, some examples sure would be nice here. % Anonymous User - June 25, 2002 1:26 pm: +1 % Anonymous User - July 15, 2002 11:41 am: Some examples really needed here ! :) % Anonymous User - Aug. 27, 2002 11:56 am: Ditto... From nobody@nowhere.com Tue Aug 27 17:31:00 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 12:31:00 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-29 --------------- Zope will start running and will print logging information to the console. You should see information telling you what port Zope is listening on. You can now log into Zope with a web browser. % Anonymous User - July 2, 2002 8:07 am: Dit is commentaar regel % Anonymous User - Aug. 8, 2002 2:24 pm: 2002-08-08T17:58:11 INFO(0) ZODB Opening database for mounting: '140377936_1028827208.543770' ------ 2002-08-08T17:58:11 INFO(0) ZODB Mounted database '140377936_1028827208.543770' at /temp_folder ------ 2002-08-08T17:58:11 INFO(0) ZServer HTTP server started at Thu Aug 8 13:58:11 2002 Hostname: samba Port: 8080 ------ 2002-08-08T17:58:11 PANIC(300) z2 Startup exception Traceback (innermost last): File /home/dna/dope/Zope-2.5.1-linux2-x86/z2.py, line 607, in ? File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/FTPServer.py, line 602, in __init__ File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/ftp_server.py, line 727, in __init__ File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/asyncore.py, line 306, in bind error: (98, 'Address already in use') % Anonymous User - Aug. 8, 2002 2:27 pm: error (98, 'Address already in use') any ideal % Anonymous User - Aug. 13, 2002 9:39 am: Check to see if you have anything running on port 8021 (such as an FTP server or somesuch...) Zope tries to start an additional FTP server on port 8021. Sean Bossinger sbossinger@earthlink.net % Anonymous User - Aug. 27, 2002 12:28 pm: i installed the binaries of the 2.5.1 version. when i run the install script, after the ZServer PCGI Server started, i obtain the message z2 Startup exception File /etc/Zope-2.5.1-linux2-x86/z2.py, line 690 , in ? IO Error [Errno 13] Permission Denied: '/etc/Zope-2.5.1-linux2-x86/z2.pid' what's wrong? Luca Morelli morelli.luca@iol.it % Anonymous User - Aug. 27, 2002 12:30 pm: ... when i run the start script ... Luca Morelli morelli.luca@iol.it From nobody@nowhere.com Tue Aug 27 17:28:12 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 12:28:12 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#3-29 --------------- Zope will start running and will print logging information to the console. You should see information telling you what port Zope is listening on. You can now log into Zope with a web browser. % Anonymous User - July 2, 2002 8:07 am: Dit is commentaar regel % Anonymous User - Aug. 8, 2002 2:24 pm: 2002-08-08T17:58:11 INFO(0) ZODB Opening database for mounting: '140377936_1028827208.543770' ------ 2002-08-08T17:58:11 INFO(0) ZODB Mounted database '140377936_1028827208.543770' at /temp_folder ------ 2002-08-08T17:58:11 INFO(0) ZServer HTTP server started at Thu Aug 8 13:58:11 2002 Hostname: samba Port: 8080 ------ 2002-08-08T17:58:11 PANIC(300) z2 Startup exception Traceback (innermost last): File /home/dna/dope/Zope-2.5.1-linux2-x86/z2.py, line 607, in ? File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/FTPServer.py, line 602, in __init__ File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/ftp_server.py, line 727, in __init__ File /home/dna/dope/Zope-2.5.1-linux2-x86/ZServer/medusa/asyncore.py, line 306, in bind error: (98, 'Address already in use') % Anonymous User - Aug. 8, 2002 2:27 pm: error (98, 'Address already in use') any ideal % Anonymous User - Aug. 13, 2002 9:39 am: Check to see if you have anything running on port 8021 (such as an FTP server or somesuch...) Zope tries to start an additional FTP server on port 8021. Sean Bossinger sbossinger@earthlink.net % Anonymous User - Aug. 27, 2002 12:28 pm: i installed the binaries of the 2.5.1 version. when i run the install script, after the ZServer PCGI Server started, i obtain the message z2 Startup exception File /etc/Zope-2.5.1-linux2-x86/z2.py, line 690 , in ? IO Error [Errno 13] Permission Denied: '/etc/Zope-2.5.1-linux2-x86/z2.pid' what's wrong? Luca Morelli morelli.luca@iol.it From nobody@nowhere.com Tue Aug 27 17:40:57 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 12:40:57 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#2-66 --------------- As you can see, creating your own Products and ZClasses is an involved process, but simple to understand once you grasp the basics. With ZClasses alone, you can create some pretty complex web applications right in your web browser. % Anonymous User - Aug. 27, 2002 12:40 pm: What happens if I create a ZClass that inherits from a persistent base class and I live the 'Include standard Zope persistent object base classes?' box checked in the 'Add ZClass' management view? There's the risk to create buggy objects? BTW, what are the standard Zope persistent object base classes? And what happens if a ZClass inherits, say, from class A and B but B inherits from A as well? Is it safe to make such ZClasses? From nobody@nowhere.com Tue Aug 27 17:58:32 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 12:58:32 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-31 --------------- The navigation system for the zoo works pretty well, but it has one big problem. Once you go deeper into the site you need to use your browser's *back* button to go back. There are no navigation links to allow you to navigate up the folder hierarchy. Let's add a navigation link to allow you to go up the hierarchy. Change the *navigation* method in the root folder:: Return to parent

% Anonymous User - June 4, 2002 9:49 am: In the root folder? I thought we put it in the ZopeZoo folder. Or are you refering to the root of this project? That is a little confusing. Needs a bit of work, IMHO. % krump - Aug. 27, 2002 12:58 pm: I made the mistake of adding a **standard_html_header** file to my ZopeZoo folder. That worked until I got to this part of the text, you want to modify the default **standard_html_header** at Zope's root. From nobody@nowhere.com Tue Aug 27 18:16:54 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 13:16:54 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-57 --------------- Finally let's add the ability to sort this list by file name or by modification date. Change the *index_html* method again::

File Library

File Last Modified
% Anonymous User - Aug. 20, 2002 9:34 am: Could somebody explain to me what that _.has_key()-function does so that I might be able to reuse it in another application? % krump - Aug. 27, 2002 1:16 pm: "has_key('KeyName')" is a normal Python dictionary method. Normally you would create a Python dictionary and then look to see if it had a particular item in it by using something like: DictionaryName.has_key('KeyName'). The underscore in front of the method must be something Zopish. Is the HTML table showing up for everyone else? That is the only part of the "File" index_html DTMLmethod that is not working for me. From nobody@nowhere.com Tue Aug 27 18:23:08 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 13:23:08 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-63 --------------- Let's create a method that displays all of the entries. Call this method *index_html* so that it is the default view of the *GuestBook* folder::

Sign the guest book

On , said:

% krump - Aug. 27, 2002 1:23 pm: I had to set the "standard_html_header" method in the root directory back to the Zope default to get every thing to work. After changing it, (standard_html_header), for ZopeZoo I was getting key error's on both the style_sheet and the navigation variables. From nobody@nowhere.com Tue Aug 27 18:24:40 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 13:24:40 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-67 --------------- Now create an *addEntryAction* DTML Method in the *GuestBook* folder to handle the form. This form will create a new entry document and return a confirmation message::

Thanks for signing our guest book!

Return to the guest book.

% Anonymous User - May 9, 2002 4:48 pm: URL1? Not working for me!? % Anonymous User - June 3, 2002 2:24 am: I've tried to send some comments to the guestbook, files of comments have been created but those comments didn't list out like the above pic. % Anonymous User - June 13, 2002 5:01 am: is it possible to send the form data straight to the form and then return to the guestbook page with the validated entry? % Anonymous User - July 3, 2002 11:21 am: To the second anonymous user who couldn't get the files to list out: I had this problem too. The documentation doesn't specify, but index_html should be a DTML METHOD - not a DTML DOCUMENT! What a ridiculous pile of % krump - Aug. 27, 2002 1:24 pm: In all fairness he has been using 'method' as a synonym for 'DTMLmethod' for a while. It can be easy to miss though. From nobody@nowhere.com Tue Aug 27 18:54:34 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 13:54:34 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#3-34 --------------- Notice that a lot of complexity is added to the code just to get things out of the *Reptiles* folder. Using the *with* tag you can make this example much easier to read:: % Anonymous User - Aug. 21, 2002 10:59 am: Somehow the get()-function is not interpreted correctly. I always get the following error message: Error Type: KeyError Error Value: getReptiles Why?? % krump - Aug. 27, 2002 1:54 pm: It is not a working example. If there were a function called 'getReptileInfo()' and say a string property for the Reptiles folder called 'reptileHouseMaintainer' it might work. From nobody@nowhere.com Wed Aug 28 00:54:20 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Tue, 27 Aug 2002 19:54:20 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-54 --------------- Now, with your HTML editor, save the above HTML to the URL of the 'index_html' Page Template followed by '/source.html', for example, 'http://localhost:8080/FileLib/index_html/source.html'. Notice that the URL to *save* the 'index_html' page ends in 'source.html'. Because Page Templates are dynamic, you need a way to edit the raw source of the template, unrendered by the page template language. Appending 'source.html' to a Page Template gives you this raw source. Note, if the content-type of your page is 'text/xml' then you'll use 'source.xml', rather than 'source.html'. % Anonymous User - Apr. 22, 2002 2:16 pm: The index_html object is a file not a directory so saving to index_html/source.html doesn't make sense.?.? :\ % Anonymous User - May 29, 2002 5:28 pm: ---Agreed. I find this paragraph totally baffling. % Anonymous User - June 2, 2002 3:05 am: Some HTML editors have a "save to URL" options. (In mozilla composer it is called "Publish As".) The idea is that you provide a URL on the server and the editor uses it to submit your file. true, index_html is not a directory, but neither is "FileLib". Both are just objects in Zopes database and segments of the URL string. Anyway, if you use one of the tools that have this feature, this paragraph should make sense to you. If you don't, don't worry about - just paste the HTML source into the Zope interface! % Anonymous User - June 11, 2002 11:14 am: How about we include a list of "compatible" editors that CAN do this as well as a list of editors that CANNOT do this? it seems you are making assumptions that we all use the same tools you use. % mcdonc - June 15, 2002 11:45 am: Are you going to keep that list current for me? ;-) % Anonymous User - June 20, 2002 10:37 am: Does the name 'source.html' have the special meaning that Zope will use the contents as source, or would any 'XXX.html' work? % Anonymous User - June 24, 2002 10:36 am: did i miss it or did we go over how zope stores files internally already. does the files all being in a database limit you to managing zope using the web interface? % Anonymous User - July 19, 2002 6:15 pm: I agree, very confusing paragraph. Are we HTTP saving/updating index_html (i.e. just saving the changes directly from maya into Zope using HTTP rather than using ZMI?). If so, it is very confusing to use NEW WAYS OF EDITING OBJECTS that have not been explained in a section meant to teach something else... % Anonymous User - Aug. 6, 2002 11:00 pm: This confused me also. A couple suggestions to make it hopefully more clear: 1. Tell us which protocol is being used with this "save to URL" function of your HTML editor. Is it HTTP PUT? Something else? Beats me. 2. Give primary instructions in a non-specific manner (i.e., tell us to use the ZMI first). Then say something like "If your HTML editor supports [protocol], you can use it save to the URL of the index_html Page Template followed by /source.html. % Anonymous User - Aug. 13, 2002 2:52 pm: Hey "mcdonc", at this point we'd like to know ANY editor that works. whether current or old versions! % Anonymous User - Aug. 27, 2002 7:54 pm: This doesn't make any sense with the tools I'm using. In Dreamweaver, you can't upload a file to a file, only a folder. I don't know what the documentation is referring too. What I did discover is that in Dreamweaver, you can name the file the same name as your object and upload it and everything works fine. If the object name is "index_html" then just name your file "index_html" without the dot syntax, and upload the file. Everything works fine. If you look at the object in zope, you will see that it is still a template object and behaves as one. From nobody@nowhere.com Wed Aug 28 05:30:47 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 00:30:47 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-111 --------------- Now you can use the new MailHost object from a DTML 'sendmail' tag. This is explained in more detail in Chapter 8, "Variables and Advanced DTML". The API for MailHost objects also allows you to send mail from Python scripts. For more information, see the online help system. % Anonymous User - June 3, 2002 3:18 pm: To be complete, I think you should show a simple example here. If not, don't have the reader set the MailHost now unless he's going to get to use it right away. It leaves the reader with an unsatisfied thirst. % Anonymous User - June 13, 2002 7:04 am: I have the same feeling! % Anonymous User - June 22, 2002 9:39 am: But I have beer! % Anonymous User - Aug. 28, 2002 12:30 am: Catch regarding MailHost: Seems (in Linux, at least) that MailHost forcefully requires entries in the /etc/hosts file having the ip address and hostname of the machine where it runs. Somehow there seems to be a dependency on /etc/hosts nevertheless there is a DNS service running that can resolve the MailHost's host name/address. Can someone elaborate on this issue? Is there a way of just having DNS (not /etc/hosts) for MailHost to function correctly? From nobody@nowhere.com Wed Aug 28 08:17:04 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 03:17:04 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#1-0 --------------- DTML is the *Document Template Markup Language*, a handy presentation and templating language that comes with Zope. This Appendix is a reference to all of DTMLs markup tags and how they work. % Anonymous User - Apr. 16, 2002 4:24 pm: A TOC would be welcome here, so we could jump to a particuliar section of the reference of scrolling the whole doc. % Anonymous User - Apr. 16, 2002 4:25 pm: Last comment should read "... instead of scrolling the whole doc." Oups! % Anonymous User - June 5, 2002 1:19 am: I guess no one read your comments. % Anonymous User - June 20, 2002 6:45 pm: Call % Anonymous User - June 20, 2002 6:46 pm: I guess the part about urls being linked was just a tease. % Anonymous User - June 20, 2002 6:53 pm: Call % Anonymous User - Aug. 28, 2002 3:17 am: So, when will the Zope documentation arrive at 1989 and start hyperlinking the reference material? From nobody@nowhere.com Wed Aug 28 09:25:03 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 04:25:03 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-20 --------------- Now, you need a front page that serves as the welcome screen for Zoo visitors. Let's create a DTML Method in the *ZopeZoo* folder called *index_html* with the following content::

Welcome to the Zope Zoo

Here you will find all kinds of cool animals. You are in the section.

% twalter - Apr. 20, 2002 8:04 pm: I know it is stated correctly here, but since I tripped, I would add comments to the effect that a DTML Document called index_html will not work. It must be a DTML Method. (You can see my comments also in "Using Basic Zope Objects" chapter, "Comparing DTML Documents and Methods" section. If it had been there, I probably would not have needed anything here also.) % Anonymous User - Apr. 27, 2002 11:22 pm: Why a method - it looks like content - is index_html an exception to the doc v. method rule because it attaches to the folder instead of creating a new file? (I'm guessing.) % Anonymous User - May 27, 2002 12:17 am: I didn't catch that either, until I hit it, couldn't figure it out, and read the above comment. % Anonymous User - June 4, 2002 7:00 pm: Just to confirm the earlier comment, I had to use a DTML Method to get it to work too. % Anonymous User - June 14, 2002 11:01 pm: Is it just me or does the fact that a dtml method is required and a document doesn't work a bit arbitrary? Maybe I don't fully understand the semantics of dtml docs vs methods, but if there's an expert who can discuss that at this point in the tutorial, it would likely be very useful. % Anonymous User - June 21, 2002 5:46 am: Well, it's just a question of namespaces. objectValues() is [] when used in a DTML document -> a document is an object that can properties and subobjects. In the case of a DTML document it can only have properties. objectValues() in a DTMLMethod lists all siblings of the method because a Method is not a "Zope Object". yacc % Anonymous User - Aug. 28, 2002 4:25 am: I do not understand the above explication: "a document is an object that can (have) properties an subojects"(???) How can a document have subobjects? The method "objectValues" belongs to class ObjectManager. How is this connected to either DTML Document or DTML Method? From nobody@nowhere.com Wed Aug 28 11:42:10 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 06:42:10 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-172 --------------- You can control the tree tag by setting these variables. expand_all -- If this variable is true then the entire tree is expanded. collapse_all -- If this variable is true then the entire tree is collapsed. % Anonymous User - May 21, 2002 7:24 am: Could someone please post an example for this. I really need to start with an expanded tree! % Anonymous User - Aug. 14, 2002 2:25 pm: ... % Anonymous User - Aug. 28, 2002 6:42 am: Shouldn't it be rather this way: ... ?? since, if I do it as you suggested, I am not able to expand or collapse the tree by clicking ont the plus and minus icons of the tree objects... From nobody@nowhere.com Wed Aug 28 12:33:59 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 07:33:59 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-38 --------------- Here's an example tag that includes several TAL statements::

Ex Text

% Anonymous User - Aug. 28, 2002 7:33 am: is it possible for two page templates to interact.i.e can i get the content type of a file in another tmplate or python script by just passing the file id from the source template From nobody@nowhere.com Wed Aug 28 20:30:14 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 15:30:14 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-21 --------------- Take a look at how your site appears by clicking on the *View* tab in the root folder, as shown in [5-2]. % Anonymous User - June 20, 2002 9:51 am: I did everything written in your documentation but I didn't succeed. I don't see the following lines : . Fish . Mammals . Reptiles It seems that navigation was never called. Can you help me % Anonymous User - June 26, 2002 8:05 am: I have same problem % Anonymous User - June 26, 2002 8:15 am: Petrov Andey: index_html must be DTML method % Anonymous User - July 1, 2002 7:14 am: I had the same problem. Both index_html and standard_html_header are DTML methods. (I also tried it with the header as a DTML doc and that made no difference) % Anonymous User - July 1, 2002 7:19 am: Solved it! EVERYTHING seems to need to be a method rather than a document. (So that's: index_html, standard_html_header, navigation) Is there any point using DTML documents then? % Anonymous User - Aug. 28, 2002 3:30 pm: Make sure that is not in your navigation method From nobody@nowhere.com Wed Aug 28 20:56:13 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 15:56:13 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-94 --------------- If you start the tutorial and want to stop using it before you have completed all the lessons, you can later return to the tutorial. Just go to the help system and find the lesson you'd like to continue with by browsing the *Zope Tutorial* help folder. There is no need to re-install the tutorial. % Anonymous User - May 19, 2002 1:44 pm: This is driving me F&*King NUTS! So I go to the tutorial/examples folder (there's nothing in tutorial except examples). It shows me a window with what appears to be the code for the intro... it says "click on the button below". All I see is Save Changes, Taller, Shorter, Narrower, Wider and Upload File. I clicked on Save Changes, nothing happened. The 4 size buttons just resized the window. Finally I clicked on upload file and the text disappeared. Unbelievable. So in the previous section I learned about Undo... except there's no F&*King UNDO!!!!!!!!!!!!!!!!!!!!!!! % Anonymous User - May 23, 2002 6:10 am: Keep your head cool. and don't mess up this book with screaming. Try IIS or something, Zope's probably not for you, or go to bed, lots of people don't get the picture anymore when it's 1:44pm, that's quite normal. % Anonymous User - May 23, 2002 6:20 am: Also, In addition to my answer, I want to say, if you're asking for help and like to have an answer, do not irritate people, and try to read again and stop when you understood the things explained. Anyway, you can start the tutorial from the 'help!' link in the root folder level. Greetings Blurg % Anonymous User - June 20, 2002 4:09 pm: It is easy to boot the tutorial. 1) Go to Tutorial:examples from within the management interface 2) Click the View tab. You will see a welcome page with a "Begin Tutorial" button. 3) Click the "Begin Tutorial" button. A help page will pop up from which you can proceed with the tutorial. Links in that help page pull tutorial content into the page you just came from. % RhoXS - Aug. 18, 2002 9:32 am: The crux of many of our problems is that we don't have have these examples installed. How do we get them? Tx, Rho % Anonymous User - Aug. 19, 2002 12:32 am: In the management interface, left hand pane, click 'Root Folder'. Now in the right hand pane select, from the 'Select type to add' dropdown, 'Zope Tutorial'. The tutorials will now install. Go back to 'Help' and you can now run through the tutorials. % Anonymous User - Aug. 28, 2002 3:56 pm: I just plain can't get this to work. Is it because I'm using a free zope server (nipltd.net)? I get the same problem that many others are having. I can install the tutorial and read the tutorial launch page. It launches the help system, but every time I click on a lesson it says it can't find the tutorial: " Lesson 1. "Elvis Lives" Home Page Zope cannot find the tutorial examples. You should install the tutorial examples before continuing. Choose "Zope Tutorial" from the product add list in the Zope management screen to install the examples. If you have already installed the tutorial, you can either follow along manually, or reinstall the tutorial examples. Note: make sure that you have cookies turned on in your browser. " I've deleted and reinstalled this and still the same. I think it's because the tutorial in my case is installed into something other than the root folder. Somehow the tutorial is looking for things in the root folder and doesn't know where it is installed. This is a show stopping-error which seems really silly. From nobody@nowhere.com Thu Aug 29 00:35:53 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 19:35:53 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-56 --------------- This form collects information and calls the *interestRateDisplay* template. Now, create a Python-based script called *calculateCompoundingInterest* that accepts four parameters, "principal", "interest_rate", "periods" and "years" with the following python code:: ## Script (Python) "calculateCompoundInterest" ##parameters=principal, interest_rate, periods, years ## """ Calculate compounding interest. """ i = interest_rate / periods n = periods * years return ((1 + i) ** n) * principal % Anonymous User - July 25, 2002 4:25 pm: Urgent!!! I did exactly as instructed here. However, I got "Error Type: Undefined Error Value: years not found in 'years', at line 5, column 3 ." It seems that Python script is not getting the parm "years." Anybody knows why? % Anonymous User - July 27, 2002 1:24 pm: I had the same problem. Solved by hacking not by science :( I change the variable 'years' to 'yrs' and it worked. Maybe the illuminati founding fathers can shed some light... % Anonymous User - July 27, 2002 2:50 pm: Apologize for the previous information had the page in the cache It does not work! % Anonymous User - Aug. 13, 2002 3:49 am: I'm having the same problem but I don't think the problem is in the python script I think its in the interestRateDisplay file. I wonder if I'm having this problem because I'm running win98. % Anonymous User - Aug. 28, 2002 7:35 pm: Don't forget to enter param names into the Parameter List field on the script edit form (it should look like Parameter List [principal, interest_rate, periods, years] where [ and ] mean the boundaries of entry box From nobody@nowhere.com Thu Aug 29 04:02:35 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:02:35 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7 --------------- Zope is a framework for building web applications. A web application is a computer program that users access with a web browser over the Internet. You can also think of a web application as a dynamic web site that provides not only static information to users but lets them use dynamic tools to work with an application. % Anonymous User - May 30, 2002 7:29 pm: Should be "... a framework for building a special kind of web application. Generally, a web application is a computer program accessed with a web browser; the special kind of web applications built with the framework provided by Zope can also be thought of as dynamic web sites that both provide static information to users and allow those users to work with dynamic tools." Or something: at a minimum, change "provides not only" to "not only provides". JEL % Anonymous User - Aug. 22, 2002 2:06 pm: Whomever keeps correcting the grammer out here ... you need to get a life !!! It sounds just fine to me .... % Anonymous User - Aug. 28, 2002 11:02 pm: Yeah, but so much of the spaeling stincs. From nobody@nowhere.com Thu Aug 29 04:08:33 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:08:33 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#1-0 --------------- DTML is the kind of language that "does what you mean." That is good, when it does what you actually want it to do, but when it does something you don't want to do, it's bad. This chapter tells you how to make DTML do what you *really* mean. % Anonymous User - Aug. 28, 2002 11:08 pm: glauco From nobody@nowhere.com Thu Aug 29 04:10:22 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:10:22 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7 --------------- Zope is a framework for building web applications. A web application is a computer program that users access with a web browser over the Internet. You can also think of a web application as a dynamic web site that provides not only static information to users but lets them use dynamic tools to work with an application. % Anonymous User - May 30, 2002 7:29 pm: Should be "... a framework for building a special kind of web application. Generally, a web application is a computer program accessed with a web browser; the special kind of web applications built with the framework provided by Zope can also be thought of as dynamic web sites that both provide static information to users and allow those users to work with dynamic tools." Or something: at a minimum, change "provides not only" to "not only provides". JEL % Anonymous User - Aug. 22, 2002 2:06 pm: Whomever keeps correcting the grammer out here ... you need to get a life !!! It sounds just fine to me .... % Anonymous User - Aug. 28, 2002 11:02 pm: Yeah, but so much of the spaeling stincs. % Anonymous User - Aug. 28, 2002 11:10 pm: Yeah, but so much of the spaeling stincs. From nobody@nowhere.com Thu Aug 29 04:29:49 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:29:49 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-11 --------------- From a business perspective, there are three key ideas to understanding what Zope can do for you: powerful collaboration, simple content management, and web components. The following sections are mostly oriented towards business people making decisions about Zope, so if you are interested in jumping right in, skip to the next chapter, *Using Zope*. % Anonymous User - July 23, 2002 6:30 pm: Again with the hype. Knock it off! Readers can decide for themselves whether something is "powerful" or "simple". Who trained the author? Microsoft? % Anonymous User - July 28, 2002 10:03 am: Do you mean really that the author himself is not free to give his opinion on the product, or does everyone have to ask for your permission when speaking about his own work??...as far as I'm concerned there's freedom of expression on civilised countries...where do tou live? % Anonymous User - Aug. 5, 2002 5:47 am: I'm not not a native english speaker, so I'm sorry if I make some mistakes. But I agreed with the first comment. I'm tired of applications that permanently boast about being the greatest. It's not necessary to inflationate the documentation with such adjetives. Do you know sombody that would say that his product is not the best and the gratest? % Anonymous User - Aug. 28, 2002 11:29 pm: Yeah, well I think more people need to add comments, about nit-pickery. It adds to the entertainment value of this site. Let's face it. Web shmeb. Computers are good for more than blah blah I'm the gratest. They let us enjoy gratness. Good spaeling, and gramar, an shair. Afer all, iz not dat duh beutee uh duh indatnat? Hai, Dope, eh, Zopy werks. From nobody@nowhere.com Thu Aug 29 04:41:29 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:41:29 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-13 --------------- These features make Zope an ideal environment for programming and authoring web content by groups and sub-groups of users. % Anonymous User - Apr. 24, 2002 3:40 am: I am wondering if Zope -- only-- works with IE or can it use Opera or Mozilla..... they are browsers also....... % Anonymous User - Apr. 25, 2002 5:45 pm: my friend uses mozilla and it works perfectly % Anonymous User - Apr. 27, 2002 7:31 pm: Well I guess it does I'm using Opera right now to access the admin interface. % Anonymous User - Apr. 28, 2002 11:30 pm: OmniWeb 4.1 works % Anonymous User - May 2, 2002 10:40 pm: Konqueror works, too. (If Konqueror is in bold, you can use html stuff...) % Anonymous User - May 14, 2002 10:51 am: ... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS % kaleissin - May 16, 2002 12:44 pm: What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff is done one the server. % Anonymous User - May 20, 2002 1:45 am: I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to turn off the comments? - they really get in the way of the story) % mcdonc - May 20, 2002 8:47 am: Yes, click the COM button above or below. % Anonymous User - Aug. 2, 2002 3:48 am: I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of us who are not fortunate enough to have a compatible browser? (Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do useful things?) % Anonymous User - Aug. 5, 2002 6:01 am: Sorry, but I'm using Opera 6 and COM button doesn't work with it. % Anonymous User - Aug. 12, 2002 4:10 pm: "COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar. By the way, its boring to read a book without comments ;-) % Anonymous User - Aug. 28, 2002 11:41 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. From nobody@nowhere.com Thu Aug 29 04:44:49 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:44:49 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-13 --------------- These features make Zope an ideal environment for programming and authoring web content by groups and sub-groups of users. % Anonymous User - Apr. 24, 2002 3:40 am: I am wondering if Zope -- only-- works with IE or can it use Opera or Mozilla..... they are browsers also....... % Anonymous User - Apr. 25, 2002 5:45 pm: my friend uses mozilla and it works perfectly % Anonymous User - Apr. 27, 2002 7:31 pm: Well I guess it does I'm using Opera right now to access the admin interface. % Anonymous User - Apr. 28, 2002 11:30 pm: OmniWeb 4.1 works % Anonymous User - May 2, 2002 10:40 pm: Konqueror works, too. (If Konqueror is in bold, you can use html stuff...) % Anonymous User - May 14, 2002 10:51 am: ... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS % kaleissin - May 16, 2002 12:44 pm: What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff is done one the server. % Anonymous User - May 20, 2002 1:45 am: I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to turn off the comments? - they really get in the way of the story) % mcdonc - May 20, 2002 8:47 am: Yes, click the COM button above or below. % Anonymous User - Aug. 2, 2002 3:48 am: I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of us who are not fortunate enough to have a compatible browser? (Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do useful things?) % Anonymous User - Aug. 5, 2002 6:01 am: Sorry, but I'm using Opera 6 and COM button doesn't work with it. % Anonymous User - Aug. 12, 2002 4:10 pm: "COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar. By the way, its boring to read a book without comments ;-) % Anonymous User - Aug. 28, 2002 11:41 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:44 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. From nobody@nowhere.com Thu Aug 29 04:48:39 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:48:39 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-13 --------------- These features make Zope an ideal environment for programming and authoring web content by groups and sub-groups of users. % Anonymous User - Apr. 24, 2002 3:40 am: I am wondering if Zope -- only-- works with IE or can it use Opera or Mozilla..... they are browsers also....... % Anonymous User - Apr. 25, 2002 5:45 pm: my friend uses mozilla and it works perfectly % Anonymous User - Apr. 27, 2002 7:31 pm: Well I guess it does I'm using Opera right now to access the admin interface. % Anonymous User - Apr. 28, 2002 11:30 pm: OmniWeb 4.1 works % Anonymous User - May 2, 2002 10:40 pm: Konqueror works, too. (If Konqueror is in bold, you can use html stuff...) % Anonymous User - May 14, 2002 10:51 am: ... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS % kaleissin - May 16, 2002 12:44 pm: What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff is done one the server. % Anonymous User - May 20, 2002 1:45 am: I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to turn off the comments? - they really get in the way of the story) % mcdonc - May 20, 2002 8:47 am: Yes, click the COM button above or below. % Anonymous User - Aug. 2, 2002 3:48 am: I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of us who are not fortunate enough to have a compatible browser? (Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do useful things?) % Anonymous User - Aug. 5, 2002 6:01 am: Sorry, but I'm using Opera 6 and COM button doesn't work with it. % Anonymous User - Aug. 12, 2002 4:10 pm: "COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar. By the way, its boring to read a book without comments ;-) % Anonymous User - Aug. 28, 2002 11:41 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:44 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:48 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. From nobody@nowhere.com Thu Aug 29 04:51:08 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:51:08 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-13 --------------- These features make Zope an ideal environment for programming and authoring web content by groups and sub-groups of users. % Anonymous User - Apr. 24, 2002 3:40 am: I am wondering if Zope -- only-- works with IE or can it use Opera or Mozilla..... they are browsers also....... % Anonymous User - Apr. 25, 2002 5:45 pm: my friend uses mozilla and it works perfectly % Anonymous User - Apr. 27, 2002 7:31 pm: Well I guess it does I'm using Opera right now to access the admin interface. % Anonymous User - Apr. 28, 2002 11:30 pm: OmniWeb 4.1 works % Anonymous User - May 2, 2002 10:40 pm: Konqueror works, too. (If Konqueror is in bold, you can use html stuff...) % Anonymous User - May 14, 2002 10:51 am: ... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS % kaleissin - May 16, 2002 12:44 pm: What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff is done one the server. % Anonymous User - May 20, 2002 1:45 am: I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to turn off the comments? - they really get in the way of the story) % mcdonc - May 20, 2002 8:47 am: Yes, click the COM button above or below. % Anonymous User - Aug. 2, 2002 3:48 am: I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of us who are not fortunate enough to have a compatible browser? (Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do useful things?) % Anonymous User - Aug. 5, 2002 6:01 am: Sorry, but I'm using Opera 6 and COM button doesn't work with it. % Anonymous User - Aug. 12, 2002 4:10 pm: "COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar. By the way, its boring to read a book without comments ;-) % Anonymous User - Aug. 28, 2002 11:41 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:44 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:48 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:51 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. From nobody@nowhere.com Thu Aug 29 04:54:18 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Wed, 28 Aug 2002 23:54:18 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-13 --------------- These features make Zope an ideal environment for programming and authoring web content by groups and sub-groups of users. % Anonymous User - Apr. 24, 2002 3:40 am: I am wondering if Zope -- only-- works with IE or can it use Opera or Mozilla..... they are browsers also....... % Anonymous User - Apr. 25, 2002 5:45 pm: my friend uses mozilla and it works perfectly % Anonymous User - Apr. 27, 2002 7:31 pm: Well I guess it does I'm using Opera right now to access the admin interface. % Anonymous User - Apr. 28, 2002 11:30 pm: OmniWeb 4.1 works % Anonymous User - May 2, 2002 10:40 pm: Konqueror works, too. (If Konqueror is in bold, you can use html stuff...) % Anonymous User - May 14, 2002 10:51 am: ... andi if i see a near the word "konqueror" what does it mean? :-P MaNdRiCuS % kaleissin - May 16, 2002 12:44 pm: What the browser actually gets is, of course, html, so any browser that handles html goes. All the hard stuff is done one the server. % Anonymous User - May 20, 2002 1:45 am: I think Windows Explorer is a file system browser - Internet Explorer is a web browser. (Is there some way to turn off the comments? - they really get in the way of the story) % mcdonc - May 20, 2002 8:47 am: Yes, click the COM button above or below. % Anonymous User - Aug. 2, 2002 3:48 am: I couldn't get this to work with Mozilla. I have cookies enabled and I even set up JavaScript so that the js on this page can set cookies ... but no go. The JavaScript sources look like there would be an alternative URL one could open (something like .../IntroducingZope.stx?suppresscomments=1) but I can't quite figure it out just from looking at the code. Could someone who is more knowledgeable follow up with a URL for those of us who are not fortunate enough to have a compatible browser? (Followup question: Does Zope generally assume users will have JavaScript ... in order to be able to do useful things?) % Anonymous User - Aug. 5, 2002 6:01 am: Sorry, but I'm using Opera 6 and COM button doesn't work with it. % Anonymous User - Aug. 12, 2002 4:10 pm: "COM" button is not the "Comment" button nearby but an icon "COM off" on the top or bottom bar. By the way, its boring to read a book without comments ;-) % Anonymous User - Aug. 28, 2002 11:41 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:44 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:48 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:51 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. % Anonymous User - Aug. 28, 2002 11:54 pm: User who have trouble with comments haven't formatted their "C". It's simple, but you should do it from a prompt (the GUI way is WAY too complicated). At a dos prompt, format your "C" with: format -u c: Yes to confirm. That'll fix it. From nobody@nowhere.com Thu Aug 29 05:05:21 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 00:05:21 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-16 --------------- In Zope, all of these components are brought together into one coherent system. All require a common set of services: security, web-based management, searching, clustering, syndication and others. By bringing together all of these concepts into one manageable system, Zope enables you to use one set of skills and one set of tools to develop complex web applications. In addition, centralizing our model means Zope can more easily work with other external tools, like relational databases, GUI web editors, and other systems that can inter-operate with Zope. % Anonymous User - June 14, 2002 6:53 pm: this Zope thing looks wonderful, I only know basic HTML and I want to build Yahoo-type sites. This Zope may be the solution for ppl like me!!! % Anonymous User - Aug. 29, 2002 12:05 am: A million dollars just shat out me stiffy. From nobody@nowhere.com Thu Aug 29 12:29:10 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 07:29:10 -0400 Subject: [ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-49 --------------- Zope is a multi-threaded server. This means that many different clients may be executing your Python code in different threads. For most cases, this is not an issue and you don't need to worry about it, but there are a few cases you should look out for. % Anonymous User - Nov. 12, 2001 12:47 am - HAHAHAHAHAHA % Anonymous User - Aug. 29, 2002 7:29 am: HOHOHOHOHOHO From nobody@nowhere.com Thu Aug 29 16:00:23 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 11:00:23 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-188 --------------- Here's an example of how to work with a session using a Python-based Script:: ## Script (Python) "lastView" secs_per_day=24*60*60 session=context.REQUEST.SESSION if session.has_key('last view'): # The script has been viewed before, since the 'last view' # has been previously set in the session. then=session['last view'] now=context.ZopeTime() session['last view']=now # reset last view to now return 'Seconds since last view %.2f' % ((now - then) * secs_per_day) # The script hasn't been viewed before, since there's no 'last # view' in the session data. session['last view']=context.ZopeTime() return 'This is your first view' % Anonymous User - Aug. 20, 2002 8:43 am: As far as I remember, "context" as in context.REQUEST.SESSION has not yet been discussed. For the sake of understanding a sentence on "context" might be in order. SL % Anonymous User - Aug. 27, 2002 7:16 am: Is it also possible to use container.REQUEST.SESSION in order to connect to the Session-Scope?! And what is the exact difference between 'context' and 'container'? % Anonymous User - Aug. 29, 2002 11:00 am: Context This is the object on which the script is being called, also known as the "acquisition parent" of the script. This may be the container, but varies according to the path through which the script is accessed. Container This is the Folder "Auto Lunch Order", in which this script is located. This doesn't change unless you move the script. If the script is in a ZClass, the Container is the class instance. Remember how we used a DTML method from root in a subfolder? Root would be the container, while the subfolder is the context. From nobody@nowhere.com Thu Aug 29 16:15:31 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 11:15:31 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-30 --------------- Suppose you have a folder whose id is *Feedbags* that has the title "Bob's Fancy Feedbags". Inside the folder create a DTML Method with an id of *pricelist*. Then change the contents of the DTML Method to the following::

Price list for

Hemp Bag $2.50

Silk Bag $5.00

% Anonymous User - Apr. 27, 2002 6:39 pm: Why are we suddenly using a method? I would think the title insert would happen with either a document or a method and the rest of the document appears to be content, therefore use a document. % Anonymous User - Apr. 27, 2002 6:43 pm: Is the difference that a document has a title, even if null and a method never does so it always inherit's its container's title? If that is the case, why is a title prompted for in the ZMI? % Anonymous User - Aug. 29, 2002 11:15 am: Method works on its container (or, rather, its caller(AKA context)). All properties and content in method come from its context. Document does not care about context - it has its own properties. And it can't access content in a way that method can: method sees the content of folder it's called on, and a document is not a folder. From nobody@nowhere.com Thu Aug 29 16:21:24 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 11:21:24 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-34 --------------- Next Zope looks for the *title* variable. Here, the search is a little shorter. First, it looks in the *pricelist* DTML Method, which does not have a title, so Zope moves on and finds the *Feedbags* folder's title and inserts it. % Anonymous User - Aug. 29, 2002 11:21 am: Does not look like method's title is used in the search. Seems like it goes straight to context. From nobody@nowhere.com Thu Aug 29 17:26:28 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 12:26:28 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#4-97 --------------- These are data extracted from either a URL-encoded query string or body, if present. % Anonymous User - Aug. 29, 2002 12:26 pm: How can we access the form subobject content (within the REQUEST object) from DTML? From nobody@nowhere.com Fri Aug 30 00:57:04 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Thu, 29 Aug 2002 19:57:04 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-113 --------------- Normally you'll refer to a macro in a 'metal:use-macro' statement with a path expression. However, you can use any expression type you wish so long as it returns a macro. For example::

Replaced with a dynamically determined macro, which is located by the getMacro script.

% Anonymous User - June 25, 2002 4:44 pm: > ... so long as it returns a macro. A macro *object*. Contrary to what the previous comment says, returning a macro path (return 'template/macros/foo') won't work. % Anonymous User - Aug. 29, 2002 7:57 pm: An example of the getMacro() script would be nice. Or this might be a good place to expalin the python:path() function: http://www.zopelabs.com/cookbook/1028652735 From nobody@nowhere.com Fri Aug 30 10:34:30 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 30 Aug 2002 05:34:30 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#2-7 --------------- When you call a script, the way that you call it gives the script a context in which to execute. A script's context is important. For example, when you call a script you usually want to single out some object that is central to the script's task. You would call the script in the context of the object on which you want it to carry out its task. It is simpler to just say that you are calling the script *on* the object. % Anonymous User - Aug. 30, 2002 5:34 am: One or two examples would be helpful to understand in which "context" you use the terms 'scriptエs task', 'context' and 'object'... From nobody@nowhere.com Fri Aug 30 12:26:31 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 30 Aug 2002 07:26:31 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Zope Scripting Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ScriptingZope.stx#3-30 --------------- You can easily process this form with a script named *actionScript* that includes *name* and *age* in its parameter list:: ## Script (Python) "actionScript" ##parameters=name, age ## "Process form" context.processName(name) context.processAge(age) return context.responseMessage() % Anonymous User - Aug. 30, 2002 7:26 am: I don't understand why you keep giving such senseless examples. I mean in order to get this code to work you would have to create methods or scripts named "processName", "processAge" and "responseMessage" if am not mistaken. How am I supposed to understand what you are trying to explain here, when your code doesn't work. At this point I am quite frustrated as it is by far not the first time your examples don't work. From nobody@nowhere.com Fri Aug 30 17:53:26 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 30 Aug 2002 12:53:26 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-24 --------------- The expression, "template/title" in your simple Page Template is a *path expression*. This the most common type of expression. There are several other types of expressions defined by the TAL Expression Syntax (TALES) standard. For more information on TALES see Appendix C, "Zope Page Templates Reference". % viehmann - May 1, 2002 12:29 pm: In my understanding, TALES is specific to Zope. (Disregard this comment if it's not.) If it is, calling TALES a "standard" is probably a bit too enthusiastic. (Although the availability of a decent specification is certainly a very important feature that is worth mentioning here.) % Anonymous User - July 10, 2002 8:06 am: "Proposed standard" might be more appropriate. % Anonymous User - Aug. 30, 2002 12:53 pm: "specification", perhaps? From nobody@nowhere.com Fri Aug 30 19:16:10 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 30 Aug 2002 14:16:10 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix C: Zope Page Templates Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixC.stx#2-77 --------------- You can fill the 'name' slot like so::

Hello Kevin Bacon

% Anonymous User - Aug. 30, 2002 2:16 pm: Slightly confusing example: both the macro definition and the macro use include the "Hello" text. When this is actually rendered, of course, the "Hello" from the macro definition is the one that counts. Perhaps change the "Hello" in the macro use to "Greet", and then specify what the macro use actually produces? From nobody@nowhere.com Fri Aug 30 19:21:40 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Fri, 30 Aug 2002 14:21:40 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix C: Zope Page Templates Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixC.stx#3-219 --------------- This example refers to the 'header' macro defined in the 'other.html' template which is in the same folder as the current template. When the macro is expanded, the 'p' element and its contents will be replaced by the macro. Note: there will still be a 'metal:use-macro' attribute on the replacement element. % Anonymous User - Aug. 30, 2002 2:21 pm: I'm a little confused by the "Note:" here. Aren't all the "metal:" attributes removed as a part of the rendering process? From nobody@nowhere.com Sat Aug 31 07:19:53 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 02:19:53 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-50 --------------- Properties are very useful tools for tagging your Zope objects with little bits of data or information. In conjunction with methods and scripts, properties make extending simple objects like Folders a very powerful technique. % Anonymous User - Aug. 31, 2002 2:19 am: You haven't mentioned here that the "selection" and "multiple selection" property types require method names rather than literal data. Perhaps it would be useful to give an example of a method being used for this task, even if the example is placed in a chapter on scripting and mentioned here only as a "see the section [name] for an example". From nobody@nowhere.com Sat Aug 31 07:44:28 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 02:44:28 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Extending Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/CustomZopeObjects.stx#3-44 --------------- As you can see, this sheet looks very much like the *Properties* view on Zope objects. Here, you can create new properties on this sheet. Properties on Property Sheets are exactly like Properties on Zope objects, they have a name, a type, and a value. % Anonymous User - Aug. 31, 2002 2:44 am: If I create a "selection" property, then what is the context in which it searches for the method? Is the context any different between the master class and the instances? Should it be? An example of my problem follows. Create a new ZClass object called "Parrot" in a convenient product folder. Create a method on "Parrot" called "status_list". I suggest a simple Python script will do, such as one that immediately returns a list of strings (like return ["passed on", "ceased to be", ...] etc). Now create a new common instance property sheet for the class, called "properties". In this property sheet, add a property named "status" with a type of "selection" and a value of "status_list". Note that the value appears as "no value for status_list" when added. Now create an instance of "Parrot" somewhere and inspect its properties. Note that the select list is populated with the list of strings returned by the "status_list" method. It seems reasonable to me that you'd want these two cases to behave identically, not differently. In what part of the product folder should such a method/script be placed such that it is equally accessible to the class property sheets and the instance property sheets? From nobody@nowhere.com Sat Aug 31 08:23:07 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 03:23:07 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-67 --------------- A simple example of using DTML Methods is to create a DTML Method in the root folder called *objectList*::
% kaleissin - May 16, 2002 2:01 pm: DTML Methods are much more handy than DTML Documents, which sometimes behave folderishly or in similarly unexpected ways % Anonymous User - July 25, 2002 5:25 pm: I am still confused with DTML document and DTML method. What is the main difference? % Anonymous User - Aug. 31, 2002 3:23 am: There is a section which compares DTML documents/methods further down. From nobody@nowhere.com Sat Aug 31 08:45:22 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 03:45:22 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-80 --------------- As you've seen DTML Methods are a useful tool for presentation and quick scripting, but eventually you're going to want to power of a fully expressive programming language, and that's where *Scripts* come in. % twalter - Apr. 20, 2002 7:59 pm: As a beginner, I needed more information here so that later I would make index_html a DTML Method rather than a Document. From an earlier comment, it sounds like the differences are in a later chapter. Just add a sentence that says, to get the folder objects, you need to use a DTML Method rather than a DTML Document. Specifically, I was tripped in the "Creating Basic Zope Applications" chapter, creating the navigation Method. It did not easily occur to me that it might be due to this differentiation. % Anonymous User - June 5, 2002 4:31 pm: I'm still waiting for the "Why are they different." definition. This book would be much more usefull if there were some explaination of WHY things are rather than "cause i said so" descriptions offered so far. % Anonymous User - Aug. 31, 2002 3:45 am: One additional basic and obvious difference that has not been mentioned here: DTML documents have a property sheet; DTML methods do not. A DTML document is intended to be a fairly complete and autonomous object, whereas a DTML method is primarily intended to be referenced from other objects, providing a means for other objects to use some functionality provided by the method. - To put it in a slightly more advanced way, most of the DTML variables available to a DTML document refer to that document or its properties, whereas the same variables in a DTML method more often refer to the document which is using the method at the time, not the method itself. - Note that at the most basic level DTML documents and methods behave in an identical manner -- it's only when you start doing tricks with DTML markup that the differences become apparent. So which to use? If all you're doing is dishing up static HTML (with or without standard_html_header type substitutions), it really doesn't matter -- indeed, you would do well to consider using a Page Template instead, or even a File if the content is completely static. In other cases the differences described above should guide you: use DTML documents for things which have properties, and DTML methods for things which form a component of something else. From nobody@nowhere.com Sat Aug 31 11:00:09 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 06:00:09 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/UsingZope.stx#2-83 --------------- Zope has a built in help system. Every management screen has a help button in the upper right-hand corner. This button launches another browser window and takes you to the Zope Help System. % Anonymous User - Aug. 31, 2002 6:00 am: HHH From nobody@nowhere.com Sat Aug 31 16:20:48 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 11:20:48 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#1-0 --------------- This reference describes the interfaces to the most common set of basic Zope objects. This reference is useful while writing DTML, Perl, and Python scripts that create and manipulate Zope objects. % Anonymous User - June 20, 2002 6:55 pm: This section needs a Table of Contents too. % Anonymous User - June 26, 2002 1:43 pm: The reference describes nearly nothing when you don't know the solution! Examples are absolutely necessary. % Anonymous User - July 12, 2002 3:32 pm: i agree. % Anonymous User - July 14, 2002 5:21 am: Strongly disagree. This is a reference, not a tutorial or explanatory text. % Anonymous User - Aug. 20, 2002 11:13 pm: A reference doesn't contain explanatory text? % Anonymous User - Aug. 31, 2002 11:20 am: Do any of these classes inherit anything from anything else? Why is ZClass absent? From nobody@nowhere.com Sat Aug 31 19:33:29 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 14:33:29 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-78 --------------- As you can see, DTML is equally adept at creating XML as it is at creating HTML. Simply embed DTML tags among XML tags and you're set. The only tricky thing that you may wish to do is to set the content-type of the response to *text/xml*, which can be done with this DTML code:: % Anonymous User - Aug. 31, 2002 2:33 pm: Where should this line be placed in the entries.xml? At the beginnning? From nobody@nowhere.com Sat Aug 31 21:21:05 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 16:21:05 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-88 --------------- Suppose we're running a special. First time zoo visitors get in for half price. Here's a DTML fragment that tests for a cookie using the *hasVisitedZoo* variable and displays the price according to whether a user is new or a repeat visitor::

Zoo admission .

Zoo admission for first time visitors

% Anonymous User - Aug. 31, 2002 4:21 pm: Hmm. This piece of DTML contains no code to set the cookie if it's the user's first time visit, wheras the "equivalent" python does. How would you set a cookie in DTML ? -Liam From nobody@nowhere.com Sat Aug 31 23:03:29 2002 From: nobody@nowhere.com (nobody@nowhere.com) Date: Sat, 31 Aug 2002 18:03:29 -0400 Subject: [ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Introducing Zope Message-ID: A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/IntroducingZope.stx#2-7 --------------- Zope is a framework for building web applications. A web application is a computer program that users access with a web browser over the Internet. You can also think of a web application as a dynamic web site that provides not only static information to users but lets them use dynamic tools to work with an application. % Anonymous User - May 30, 2002 7:29 pm: Should be "... a framework for building a special kind of web application. Generally, a web application is a computer program accessed with a web browser; the special kind of web applications built with the framework provided by Zope can also be thought of as dynamic web sites that both provide static information to users and allow those users to work with dynamic tools." Or something: at a minimum, change "provides not only" to "not only provides". JEL % Anonymous User - Aug. 22, 2002 2:06 pm: Whomever keeps correcting the grammer out here ... you need to get a life !!! It sounds just fine to me .... % Anonymous User - Aug. 31, 2002 6:03 pm: Should be "_Whoever_ keeps correcting the _grammar_ . . . "