Re: [Zope-dev] ZPatterns + Skinscript
for debugging I inserted in Specialists.py in getItem: return str(self.rackList) -- inserted for rack in self.rackList: item = rack.__of__(self).getItem(key) if item is not None: return item this alway returns an empty list, when calling it from the dtml: dtml-var "getItem(_.int(609))" returns "[]" I tried to follow the magic how this rackList is setup, but it is to much python-Zen for me. On Sun, 29 Oct 2000, Joachim Schmitz wrote: On Sat, 28 Oct 2000, Phillip J. Eby wrote: At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: select e.event_id as event_id ,e.zeiten as zeiten ,v.firma as firma ,v.tel as tel ,e.movie_id as movie_id ,m.movie_title as movie_title ,m.movie_link as movie_link ,m.movie_text as movie_text ,e.datum_von as datum_von ,e.datum_bis as datum_bis from event as e, veranstalter as v, movies as m where e.event_id = dtml-sqlvar e_id type=int and e.movie_id = m.movie_id and e.veran_id = v.veran_id order by m.movie_title Just out of curiosity, why do you have an "order by" clause, if this is supposed to only return one row? If more than one item is returned by this query, only the first will be used to supply data to your DataSkin. that was just left over from an reused query-template, I forgot to take it out. I also added a SkinScript method as a Data Plug-in in the defaultRack like this WITH QUERY readEvents(e_id=self.event_id) COMPUTE zeiten,firma,tel ,movie_id,movie_text,movie_link,movie_title ,datum_von,datum_bis,zeiten Do you have some way of providing self with an "event_id" value? Keep in mind that when DataSkins are created, they have only an "id" attribute, nothing else. So unless you have an attribute provider that provides an "event_id" value, this statement will fail. Perhaps what you actually mean is: WITH QUERY readEvents(e_id=self.id) COMPUTE event_id, zeiten,firma,tel, movie_id,movie_text,movie_link,movie_title, datum_von,datum_bis,zeiten Notice that I'm passing self.id to readEvents, and that I've added event_id to the list of attributes retrieved from the query. how do I set "self.id" I tried in dtml-method in the event-specialist: There is a event_id 609 in the table: dtml-var "getItem(_.int(609))" returns none or dtml-var "getItem(key=_.int(609))" returns none under the storage tab I selected for: Class to use for stored items: ZPatterns:DataSkin and Objects are: o stored persistently. x loaded by accessing attribute: event_id This will work fine, if you use the revised SkinScript above. You will probably want to create a ZClass subclass of DataSkin at some point to use instead, so that you can define permissions, methods, and so on for your Event objects. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Latest ZPatterns stability
How stable is the latest ZPatterns beta? I'd like to put up a site using it, but I'm still kinda wary of doing it. Admittedly, I ahven't had any TransactionErrors since upgrading. Has anyone had them? Or are the transaction problems solved? That's what worries me most, since it takes down all of Zope with it. -- Itamar S.T. [EMAIL PROTECTED] Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns + Skinscript
On Mon, 30 Oct 2000, Steve Spicklemire wrote: Hi Joachim, rackList just refers to the racks in the 'racks' tab of the Specialist. Do you have any racks defined for this Specialist? The rackList is managed magically with the plug-in-group stuff. Yes that's what I found too, but it doesn't work, with SQL-database and SkinScripts, the setup is described below: "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim for debugging I inserted in Specialists.py in getItem: Joachim return str(self.rackList) -- inserted for rack in Joachim self.rackList: item = rack.__of__(self).getItem(key) if Joachim item is not None: return item Joachim this alway returns an empty list, when calling it from Joachim the dtml: Joachim dtml-var "getItem(_.int(609))" returns "[]" Joachim I tried to follow the magic how this rackList is setup, Joachim but it is to much python-Zen for me. Joachim On Sun, 29 Oct 2000, Joachim Schmitz wrote: On Sat, 28 Oct 2000, Phillip J. Eby wrote: At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: select e.event_id as event_id ,e.zeiten as zeiten ,v.firma as firma ,v.tel as tel ,e.movie_id as movie_id ,m.movie_title as movie_title ,m.movie_link as movie_link ,m.movie_text as movie_text ,e.datum_von as datum_von ,e.datum_bis as datum_bis from event as e, veranstalter as v, movies as m where e.event_id = dtml-sqlvar e_id type=int and e.movie_id = m.movie_id and e.veran_id = v.veran_id order by m.movie_title Just out of curiosity, why do you have an "order by" clause, if this is supposed to only return one row? If more than one item is returned by this query, only the first will be used to supply data to your DataSkin. that was just left over from an reused query-template, I forgot to take it out. I also added a SkinScript method as a Data Plug-in in the defaultRack like this WITH QUERY readEvents(e_id=self.event_id) COMPUTE zeiten,firma,tel ,movie_id,movie_text,movie_link,movie_title ,datum_von,datum_bis,zeiten Do you have some way of providing self with an "event_id" value? Keep in mind that when DataSkins are created, they have only an "id" attribute, nothing else. So unless you have an attribute provider that provides an "event_id" value, this statement will fail. Perhaps what you actually mean is: WITH QUERY readEvents(e_id=self.id) COMPUTE event_id, zeiten,firma,tel, movie_id,movie_text,movie_link,movie_title, datum_von,datum_bis,zeiten Notice that I'm passing self.id to readEvents, and that I've added event_id to the list of attributes retrieved from the query. how do I set "self.id" I tried in dtml-method in the event-specialist: There is a event_id 609 in the table: dtml-var "getItem(_.int(609))" returns none or dtml-var "getItem(key=_.int(609))" returns none under the storage tab I selected for: Class to use for stored items: ZPatterns:DataSkin and Objects are: o stored persistently.x loaded by accessing attribute: event_id This will work fine, if you use the revised SkinScript above. You will probably want to create a ZClass subclass of DataSkin at some point to use instead, so that you can define permissions, methods, and so on for your Event objects. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Cruft on dev.zope.org
Hi, I went and had a look at dev.zope.org for the first time in a long time and noticed that there's now _lots_ of proposals which no indication of which ones are active/done/outdated/etc. I took off my cruft but I was wondering what the process is for ageing proposals and dealing with ones that are and aren't successful... cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns + Skinscript
My Experience with 'raw' DataSkins is that you'll quickly run afoul of the Zope Security system. Using a ZClass that has ZPatterns:DataSkin as a base class avoids this, and gives you an easy way to put a 'user interface' on your objects. -steve "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim Hi Steve, Joachim thanks for the tips, I try to do it without the ZClass, Joachim according to my understanding, and Phil Eby's reply that Joachim should work too, but apparently I the first one to try Joachim it. I try it out. Joachim On Mon, 30 Oct 2000, Steve Spicklemire wrote: Hi Joachim, Hmm.. I would start start really simple here, and then 'work up' to the sql query Create a default rack with the following SkinScript. WITH ['a','b','c'] COMPUTE movie_link=RESULT[0],movie_title=RESULT[1], zeiten=RESULT[2] Set the storage for this rack to be a DataSkin derived ZClass loaded by accessing attribute 'movie_link'. Then try the following method in the Specialist: dtml-var standard_html_header dtml-let theItem="getItem('anyOldThing')" dtml-with theItem dtml-var movie_link dtml-var movie_title dtml-var zeiten /dtml-with /dtml-let dtml-var standard_html_footer If this does what you expect.. then you're getting close. Now change the ['a','b','c'] to be a call to your query: WITH yourQuery(... parameters for your query... ) COMPUTE movie_link, movie_title... etc. If you get the same errors in the first case.. then your problem has nothing to do with SQL. -steve "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim On Mon, 30 Oct 2000, Steve Spicklemire wrote: Hi Joachim, rackList just refers to the racks in the 'racks' tab of the Specialist. Do you have any racks defined for this Specialist? The rackList is managed magically with the plug-in-group stuff. Joachim Yes that's what I found too, but it doesn't work, with Joachim SQL-database and SkinScripts, the setup is described Joachim below: "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim for debugging I inserted in Specialists.py in getItem: Joachim return str(self.rackList) -- inserted for rack in Joachim self.rackList: item = rack.__of__(self).getItem(key) if Joachim item is not None: return item Joachim this alway returns an empty list, when calling it from Joachim the dtml: Joachim dtml-var "getItem(_.int(609))" returns "[]" Joachim I tried to follow the magic how this rackList is setup, Joachim but it is to much python-Zen for me. Joachim On Sun, 29 Oct 2000, Joachim Schmitz wrote: On Sat, 28 Oct 2000, Phillip J. Eby wrote: At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: select e.event_id as event_id ,e.zeiten as zeiten ,v.firma as firma ,v.tel as tel ,e.movie_id as movie_id,m.movie_title as movie_title ,m.movie_link as movie_link ,m.movie_text as movie_text ,e.datum_von as datum_von ,e.datum_bis as datum_bis from event as e, veranstalter as v, movies as m where e.event_id = dtml-sqlvar e_id type=int and e.movie_id = m.movie_id and e.veran_id = v.veran_id order by m.movie_title Just out of curiosity, why do you have an "order by" clause, if this is supposed to only return one row? If more than one item is returned by this query, only the first will be used to supply data to your DataSkin. that was just left over from an reused query-template, I forgot to take it out. I also added a SkinScript method as a Data Plug-in in the defaultRack like this WITH QUERY readEvents(e_id=self.event_id) COMPUTE zeiten,firma,tel ,movie_id,movie_text,movie_link,movie_title ,datum_von,datum_bis,zeiten Do you have some way of providing self with an "event_id" value? Keep in mind that when DataSkins are created, they have only an "id" attribute, nothing else. So unless you have an attribute provider that provides an "event_id" value, this statement will fail. Perhaps what you actually mean is: WITH QUERY readEvents(e_id=self.id) COMPUTE event_id, zeiten,firma,tel, movie_id,movie_text,movie_link,movie_title, datum_von,datum_bis,zeiten Notice that I'm passing self.id to readEvents, and that I've added event_id to the list of attributes retrieved from the query. how do I set "self.id" I tried in dtml-method in the event-specialist: There is a event_id 609 in the table: dtml-var
Re: [Zope-dev] Latest ZPatterns stability
Itamar Shtull-Trauring wrote: How stable is the latest ZPatterns beta? I'd like to put up a site using it, but I'm still kinda wary of doing it. Admittedly, I ahven't had any TransactionErrors since upgrading. Has anyone had them? Or are the transaction problems solved? That's what worries me most, since it takes down all of Zope with it. Ib elieve the TransactionErrors occur primarily when used in combination with ZCatalog using subtransactions, and packing the db, and that disabling subtransactions in the latter solves it. At teast, it did for me. Dunno about other transactionerrors, haven't had any. -- E PLURIBUS LINUX ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Streaming?
Lalo Martins wrote: Never mind, I found it. Just for the record, if anyone else needs this: snip I don't know if this is documented somewhere, but it does what I wanted. It is documented in the online help system, under API documentation, under the 'Response' object. -Michel ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPatterns
Hi, I have trouble to install ZPatterns. I don't understand the following: After unpacking the ZPatterns product, you will need to build this extension using the included 'Setup' file in the ZPatterns directory. If you are not building ZPatterns in the lib/python/Products directory of your Zope installation, you will need to edit the 'Setup' file to reflect the correct paths to the include files it wants. Please follow the standard procedures for building a Python module on your platform. (On Unix-ish systems, this usually consists of copying a 'Makefile.pre.in' to the directory, then doing a 'make -f Makefile.pre.in boot' followed by 'make'. How to do on a WinNT System? Thanks, Hannes - Siemens AG, Zentralbereich Personal S I E M E N S Qualifizierung und Training (SQT ELS IS) Elektronische Wissens- und Lernsysteme - Johann Loibl Internet Solutions SQT ELS IS Siemens AG, D-81541 Muenchen, St.-Martin-Strasse 76 EMail: [EMAIL PROTECTED] Phone: +49-89-636-43487 Mobile: 0174-480-97-55 Fax: +49-89-636-81748 - ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns + Skinscript
Hi Steve, I did exactly (hopefully) as you sugested, but the dtml-method fails with: (I moved the SkinScript with first to the top) Error Type: KeyError Error Value: movie_link ... File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: testzclass) File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: theItem="getItem('anyOldThing')") File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: theItem) KeyError: (see above) what's the best way to debug this ? On Mon, 30 Oct 2000, Steve Spicklemire wrote: Hi Joachim, Hmm.. I would start start really simple here, and then 'work up' to the sql query Create a default rack with the following SkinScript. WITH ['a','b','c'] COMPUTE movie_link=RESULT[0],movie_title=RESULT[1], zeiten=RESULT[2] Set the storage for this rack to be a DataSkin derived ZClass loaded by accessing attribute 'movie_link'. Then try the following method in the Specialist: dtml-var standard_html_header dtml-let theItem="getItem('anyOldThing')" dtml-with theItem dtml-var movie_link dtml-var movie_title dtml-var zeiten /dtml-with /dtml-let dtml-var standard_html_footer If this does what you expect.. then you're getting close. Now change the ['a','b','c'] to be a call to your query: WITH yourQuery(... parameters for your query... ) COMPUTE movie_link, movie_title... etc. If you get the same errors in the first case.. then your problem has nothing to do with SQL. -steve "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim On Mon, 30 Oct 2000, Steve Spicklemire wrote: Hi Joachim, rackList just refers to the racks in the 'racks' tab of the Specialist. Do you have any racks defined for this Specialist? The rackList is managed magically with the plug-in-group stuff. Joachim Yes that's what I found too, but it doesn't work, with Joachim SQL-database and SkinScripts, the setup is described Joachim below: "Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes: Joachim for debugging I inserted in Specialists.py in getItem: Joachim return str(self.rackList) -- inserted for rack in Joachim self.rackList: item = rack.__of__(self).getItem(key) if Joachim item is not None: return item Joachim this alway returns an empty list, when calling it from Joachim the dtml: Joachim dtml-var "getItem(_.int(609))" returns "[]" Joachim I tried to follow the magic how this rackList is setup, Joachim but it is to much python-Zen for me. Joachim On Sun, 29 Oct 2000, Joachim Schmitz wrote: On Sat, 28 Oct 2000, Phillip J. Eby wrote: At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: select e.event_id as event_id ,e.zeiten as zeiten ,v.firma as firma ,v.tel as tel ,e.movie_id as movie_id ,m.movie_title as movie_title ,m.movie_link as movie_link ,m.movie_text as movie_text ,e.datum_von as datum_von ,e.datum_bis as datum_bis from event as e, veranstalter as v, movies as m where e.event_id = dtml-sqlvar e_id type=int and e.movie_id = m.movie_id and e.veran_id = v.veran_id order by m.movie_title Just out of curiosity, why do you have an "order by" clause, if this is supposed to only return one row? If more than one item is returned by this query, only the first will be used to supply data to your DataSkin. that was just left over from an reused query-template, I forgot to take it out. I also added a SkinScript method as a Data Plug-in in the defaultRack like this WITH QUERY readEvents(e_id=self.event_id) COMPUTE zeiten,firma,tel ,movie_id,movie_text,movie_link,movie_title ,datum_von,datum_bis,zeiten Do you have some way of providing self with an "event_id" value? Keep in mind that when DataSkins are created, they have only an "id" attribute, nothing else. So unless you have an attribute provider that provides an "event_id" value, this statement will fail. Perhaps what you actually mean is: WITH QUERY readEvents(e_id=self.id) COMPUTE event_id, zeiten,firma,tel, movie_id,movie_text,movie_link,movie_title, datum_von,datum_bis,zeiten Notice that I'm passing self.id to readEvents, and that I've added event_id to the list of attributes retrieved from the query. how do I set "self.id" I tried in dtml-method in the event-specialist: There is a event_id 609 in the table: dtml-var "getItem(_.int(609))" returns none or dtml-var "getItem(key=_.int(609))" returns none
Re: [Zope-dev] Recursive folders from Python
Jason Spisak writes: Does anyonw know why this code won't create a folder within a folder. It's tells me the id is already in use, so that means it's not descending into the newly created folder to make another folder. def create(self): for digit in range(0, 10): folder= self.manage_addFolder(str(digit), str(digit)) subfolder = self.folder.manage_addFolder(str(digit), str(digit)) Apparently, the above line should add a new folder in (say) '00'. What it does, however, is trying to add the new folder in the object named 'folder' (accessible from 'self'). This may well go wrong. Keep in mind, that the local name space of the function 'create' (where your variable 'folder' lives) is disjunct from the attribute namespace of 'self' (where the attribute 'folder' lives). Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns + Skinscript
Hi Joachim, Hmm... I just put all the code in myself... to be *really* sure, and it does work. What do you see for 'current attribute handling' in the Data PlugIns tab of the default rack? I would try to simplify. Take out all the skin script execpt for the one line. -steve "JS" == Joachim Schmitz [EMAIL PROTECTED] writes: JS Hi Steve, JS I did exactly (hopefully) as you sugested, but the dtml-method JS fails with: (I moved the SkinScript with first to the top) JS Error Type: KeyError Error Value: movie_link JS ... JS File JS /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py, JS line 528, in __call__ (Object: testzclass) File JS /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_Let.py, JS line 147, in render (Object: theItem="getItem('anyOldThing')") JS File JS /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_With.py, JS line 146, in render (Object: theItem) KeyError: (see above) JS what's the best way to debug this ? JS On Mon, 30 Oct 2000, Steve Spicklemire wrote: Hi Joachim, Hmm.. I would start start really simple here, and then 'work up' to the sql query Create a default rack with the following SkinScript. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] ACL users and Packing the DB
Keith Larsen Wrote: I have found a way to kill the user via a link or straight html url http://username:[EMAIL PROTECTED]:8080/testfolder?ids:list=acl_users; manage_delObjects:method=Delete now if I can get my lynx to run it ok I will be set. ( lynx does not like it so far but works fine from a browser url ) If Lynx isn't working, try the -force_html switch. I think Lynx gets confused by the fact that the URL does not point to a .htm or .html file. -Casey D. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Cruft on dev.zope.org
On Mon, 30 Oct 2000, Chris Withers wrote: I went and had a look at dev.zope.org for the first time in a long time and noticed that there's now _lots_ of proposals which no indication of which ones are active/done/outdated/etc. I took off my cruft but I was wondering what the process is for ageing proposals and dealing with ones that are and aren't successful... It look like we're soon - within the next few weeks - going to have some time to devote to wiki/process. I'm going to try, within that time, to come up with a tactical proposal - for near-term measures to deal with the immediate problems, like staleness. Offhand, i'm thinking about a "status" field for proposal and project pages, which the owner sets, and which creeps towards staleness, the longer that the principles in the effort fail to touch the status setting. Other suggestions are welcome, with the understanding that we're particularly looking for expediency, at this point, since there are a lot of things to be rectified. While i'm talking about it, my current sense of high-priority needs is: - Really *really* simple commenting mechanism, for feedback about wiki pages. This is not a squishdot/confera/zdialogue or anything like that, just a form that puts attributed comments linearly at the end... (More elaborate mechanisms will come later.) - Attribution - responsible parties should be identified for each page, as should the comment authors, etc. - Expose change history (with differences) - so anyone can look at a page and see progressive changes, along with who made them. (In addition to obvious reasons, credibility of attribution, in context where editors could change other people's comments.) - Editing constraints - where page owner can easily say what roles can edit, comment, just read pages. - Change notifications - this is a biggie. Enable members to "subscribe" to pages, and obtain emailed notices when they change. If there are other features that seem critical, please mention them - no guarantees, the idea here is near term expedience, maximum results for minimum effort. In not too long we should be able to look at ways to leverage PTK, etc, and do wiking right... -- Ken [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ACL users and Packing the DB
Casey Duncan wrote: Keith Larsen Wrote: I have found a way to kill the user via a link or straight html url http://username:[EMAIL PROTECTED]:8080/testfolder?ids:list=acl_users; manage_delObjects:method=Delete now if I can get my lynx to run it ok I will be set. ( lynx does not like it so far but works fine from a browser url ) If Lynx isn't working, try the -force_html switch. I think Lynx gets confused by the fact that the URL does not point to a .htm or .html file. I doubt it is the lack of .htm/.html. Ihave a cronjob set up via lynx that accesses a zope URL that doesn't have a .anything, and it works flawlessly. Add the --source switch to lynx, it should work then. In my case, I call a URL that creates an instance of a ZClass. I suspect the username:password _may_ be a factor, but it is likely you just need to add the --source. -- E PLURIBUS LINUX ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZWiki 0.7.0 release candidate (was Re: Cruft on dev.zope.org)
He 8-) ... sounds like a good time to mention the below (and Ken, your new feature priorities look very close to mine): I have uploaded a release candidate: http://zwiki.org/zwikidir/releases/ZWiki-0.7.0.tgz . Please hammer on it if you can - tomorrow is an auspicious date for release! ZWiki 0.7.0 2000-10-31 "Halloween!" * cookie-based user options, including edit form size, timezone, bookmarks and wikiwikiweb-style username (help from Phil Armstrong) * ZWiki is now zope 2.2-compatible (Garth Kidd) and -requiring, and benefits from the 2.2 security model. Executable dtml pages now run with those permissions that are common to both the page-viewing user and the wiki web's owner. Set the folder's owner to limit the permissions of executable pages. * incorporated updated Chris Withers' product for creating wiki webs * added streamlined "hierarchal2" wiki style other layout tweaks * wikiwikiweb-style late page creation * added simple javascript-disabling code * made paths work with virtual hosting again (Evan Simpson) * fixed unreliable ! line protection in structuredtext modes * fixed unreliable remote wiki links in classicwiki mode * more permissive remote wiki link regexps (Geoff Gardiner) * "with this" dtml kludge no longer needed * added built-in defaults for all dtml methods * simpler, more consistent urls api * code refactoring/cleanups, other misc. bugfixes It's dark.. and the witching hour is near. Don't be afraid.. :) -Simon ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )