Re: [Zope] GOOD

2000-06-30 Thread Peter Bengtsson
Zope Team should incorporate that software into Zope too. As well as they should put their "Available Object" white box, you know what I mean ? -ABOVE- the files. See, when you have 900 files in one directory, you need to scroll down each time.. so I suggest to put that box, you know the

[Zope] Powered By Zope logo

2000-07-04 Thread Peter Bengtsson
Dear Zpeople The "Powered by Zope" logo in the footer is slow to load for some reason, and I don't like the colour of it (nice, but not one the site I'm working on at the moment. Basically, where do I find the source for this: !--#var ZopeAttributionButton-- Yes, I know that I can create

Re: [Zope] Error tracing...

2000-07-06 Thread Peter Bengtsson
The tracing error should be comment in the error message page. View Source. Make sure you start up zope with -D for debugging reason. - Original Message - From: Peter Arvidsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 6:55 PM Subject: [Zope] Error tracing...

Re: [Zope] second step (many of You are going to laungh ;-)

2000-07-21 Thread Peter Bengtsson
Use the QuickStart tutorial included in the Zope. Or. Go back to zope.org and download various tutorials A really useful thing to do, is to understand how Zope is built and what you can do with it. There are lots of good article links on the .org site. - Original Message - From: Vincent

Re: [Zope] zzLocale 0-0-3a released on Zope Japan

2000-07-21 Thread Peter Bengtsson
IN SWEDISH - ABOUT SWEDISH Finns det ett intresse av fler an mig att jobba med detta? Om, det gor det, hur manga blir vi, och hur ska vi lagga upp arbetet? Smidigast vore ju att ge deltagare access till .dtml filer, med version'ing, pa en och samma server. Syftet ar nog mest att skriva om sidor

Re: [Zope] Zope and Mac

2000-07-21 Thread Peter Bengtsson
Have had similar problems, but not on Mac, but on Windows98. My problem has been that IE saves files from zope.org with a different extension than that show on the Products page. This has caused archives to be incomplete, hence broken products. If you download a xxx.tar.gz, make sure it's called

[Zope] Zcounter permission problems

2000-07-28 Thread Peter Bengtsson
ew browser window (not Ctrl+N), so that login is "reset", the page where I use mycounter requires login in Zope. How do I prevent this? How do I make it work like a regular hit-counter without needs for login? Or more simply, how do I change the proper permission settings to the 'mycounter'?

Re: [Zope] Passing 'document_title' to 'standard_html_header' from a method?

2000-07-31 Thread Peter Bengtsson
http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo "They [methods] do not act like most other Zope objects because they are methods of the folder that contains them. " Very important reading. I've forgotten most of it, but what I remember is important. - Original Message

[Zope] Take possession over DTML Documents/Methods

2000-08-02 Thread Peter Bengtsson
in my own thankyou_html document in the relevant folder. In other words, how do I take possession of the documents/methods of your otherwise lovely product? Peter Bengtsson - bloody good programmer ___ Zope maillist - [EMAIL PROTECTED] http

[Zope] Importable Xron

2000-08-09 Thread Peter Bengtsson
. Especially how you set the date and time. (I have no experience of cron and I live in GMT+0) Grateful, Peter Peter Bengtsson - OD Consultancy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-14 Thread Peter Bengtsson
I currently function in two worlds, Win98 and Linux. Would I be right to say that 90% of Zopers live in world number two? I dunno. Lots of Linux yes, but a lot of other *nix too and at least a proportion of WinNT and 2K. Why not set up a Poll on zope.org to find out about these things.

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Peter Bengtsson
dtml-call "REQUEST.redirect('foo.html')" Should do it! or maybe dtml-call "REQUEST.redirect(strPage+'.html')" dtml-call RESPONSE.redirect('otherform'+?) If I do dtml-call RESPONSE.redirect('otherform') The current form isn't being passed ? Any ideas.. TIA Stuart

Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Peter Bengtsson
What's the difference between: dtml-with "_.string.split(URL,'/')[-2]" (for current folder) or dtml-with "_.string.split(URL,'/')[-1]" (for current object) and dtml-var "REQUEST.resolve_url('/some/folder/and/path/wotsit')" ?? - Original Message - From: "Scott Shepherd" [EMAIL

Re: [Zope] __call__ error message - I gave up

2000-08-16 Thread Peter Bengtsson
Maybe you've got the syntax wrong. Have you tried these, and what they return. dtml-in "objectItems(['DTML Document'])" dtml-var sequence-item /dtml-in dtml-in "objectValues(['DTML Document'])" dtml-var sequence-item /dtml-in dtml-in "mycurrentfolder.objectItems(['DTML Document'])"

Re: [Zope] Zope.Org Style Developers Portal Question

2000-08-22 Thread Peter Bengtsson
Hi. One of my clients needs to build a portal for developers to share information. Showed them www.zope.org and they liked it. Home much time would it take for a novice to go from a raw zope distribution to put in place the core functionality/look/feel of the zope.org portal? As an

Re: [Zope] Not like ASP complaint - any good answers

2000-08-25 Thread Peter Bengtsson
Sean Just ignore them. I used to be an ASP developer myself not long code ago. What do you mean "intermingle"? If you want to loop though a list or db-table row, you will have to "intermingle" your good old TD and TR tags. There is no way of getting around that in ASP as far as I know, unless

Re: [Zope] Imagemap in an image object

2000-08-25 Thread Peter Bengtsson
Have you tried this?: dtml-var "myimage_gif.tag(border=0,usemap=#theimagemapname)" If you have and this returns and error, give us the error. Greetings, is there an easy way to add imagemapping to an image object or do I have to create a new class for such a purpous? Thank you

[Zope] IEMethod and Owner permissions

2000-09-28 Thread Peter Bengtsson
Hello I'm using the IEMethod product installed on Zope 2.1.6 In a folder object's security tab, I have set Owner to be allowed to change IEMethod, but an ACL User in that folder (being Owner) can't. When logged in as this Owner user, I can't change (File) my changes in the IEMethod. Any

Re: [Zope] Uploading images my way

2000-09-29 Thread Peter Bengtsson
How can I upload/change an image in my zodb using custom forms. A call to "manage_upload" seems to always take me to a feedback form saying "Your changes have been saved.". How can I upload using customized forms _only_? dtml-call "_.getitem(myID).manage_upload(myFile)" For the myID in the

[Zope] PIL and Win32 (Imaging.dll)

2000-09-29 Thread Peter Bengtsson
I've followed all README's and searched the mailing archive. Been to pythonware.com, downloaded Imaging1.1, installed the Photo product, but still can't get it working. I think I now need the Imaging.dll file, which is not provided on pythonware.com. Does anyone have whatever it takes to get

[Zope] Hexcolors and DTML

2000-09-30 Thread Peter Bengtsson
This might be a math-python question but... All I want to do is to print out the hexvalue of all black/white colors for a "fading HTML table". #ff, #fefefe, #fdfdfd, ... #020202, #010101, #00 I can do a loop from 1 to 255, but I don't know where to go from there. BTW, are there

[Zope] A hint on FSSession

2000-10-03 Thread Peter Bengtsson
Why use javascript to access cookies? You can set and get them purely using zope. http://www.zope.org/Members/BwanaZulia/cookies. Also, why not install a session product (HappySession, FSSession, SQLSession...), it'll probably make your life easier in the long run... seb Yes, and if

Re: [Zope] Detecting Roles not working

2000-10-04 Thread Peter Bengtsson
Stolen somewhere from this list, and I don't remember from who. dtml-if "AUTHENTICATED_USER.has_permission('Edit', this())" ...is cool to have as well if you ever need it. Let's you not use specific names of ACL's such as "Staff" or "CopyWriter". dtml-if

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-06 Thread Peter Bengtsson
Don't you all Zope mailinglist participants think that Aitor Grajal owe us all an excuse in the form of a NEW TEST with the Win32 ZServer running properly? ;-) Especially to all Linux supporters for the badwill of the emails title. I would really be interested in its correct results. Cheers

Re: [Zope] Any examples of use of manage_addFile()?

2000-10-13 Thread Peter Bengtsson
Here you go. dtml-call "PARENTS[0].manage_addFile(thisID,myFile,thisTitle)" This uploads a file in the current working directory. thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you have to put '' double-apostrofies for the ID then. You try. - Original

[Zope] Python regular expression help

2000-10-13 Thread Peter Bengtsson
[ this might be more of a Python question, but it's got a lot to do with the web and is to be used in Zope ] I want to replace all occurences of email address's and URLs in a textstring, to a href="mailto:%s"%s/a and a href="%s"%s/a. Must admit that I am not an regex expert, and I wasn't able

[Zope] None-debug mode on win2k

2000-10-29 Thread Peter Bengtsson
Zopistas, I have searched the mailinglist and look under the carpets and READMEs. Maybe I'm just blind but how do I run Zope in none-debug mode ?? In other words; how do I add the -D param? I run Zope2.2.2 on a win2k pro as a service. ___ Zope

RE: [Zope] PHP-Pages

2000-10-30 Thread peter bengtsson
I have also been able to do almost everything I do in PHP in Zope, just like yourself. One of the major problems with Zope is its lack of developers, this is not true for Perl or PHP. Not to bothered but "larger" companies might be. I haven't tested the available PHP How-Tos; is it possible to

Re: [Zope] Editing images

2000-11-12 Thread Peter Bengtsson
Click the Image object you have created and then click the Upload tab (at the top). That let's you edit the image content. That almost changes the Content-Type, width and height. Lycka till! Hello zopistas, I have some images in an image folder within Zope. Now I need to edit these

[Zope] Forcing Content-Type of Image object

2000-11-12 Thread Peter Bengtsson
I don't want Zope to find out what content type an Image has. I want to be able to force that programmatically myself from DTML. Here are some code examples that doesn't work: dtml-call "PARENTS[0].manage_addImage('awapimage.wbmp',file,'Give it a Title','','image/vnd.wap.wbmp')" dtml-call

[Zope] len() of unsized object error

2000-11-18 Thread Peter Bengtsson
If found this TypeError description in many places in the mailing list archive, but no solution to my sendmail problem. Code: dtml-sendmail mailhost="MailHost" To: dtml-var email From: dtml-var webmaster_email Subject: Registration at dtml-var sitetitle dtml-var attached_email /dtml-sendmail

[Zope] getattr in Python Method problem

2000-11-26 Thread Peter Bengtsson
In the folder where dosomething_pym (Python Method) is located, is also a string property set called 'en' with the value 'English' The Python Method object is called with no parameters, but is defined with the 'self' parameter inside the Python Method object. In a DTML Method this works fine:

Re: [Zope] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Peter Bengtsson
Allaire Homesite 4.5.1 has proven very powerful for me and my Zope FTP connection. There is a little patch (works great!) that customizes the code for DTML great. Homesite is shareware, but believe me, nothing happens after the 30 days pass. /P Searching a tool to edit DTML on MS-Windows,

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-18 Thread Peter Bengtsson
Go to the Control Panel and click on Products. The TinyTable product is probably going to have a little "broken box"-icon. Click on it and wish that it will tell you the error so that you can fix it. Good luck, Peter I'm running Zope on a Win98 machine; downloaded, unstuffed, and installed

[Zope] Collector Product ??

2001-01-13 Thread Peter Bengtsson
I'm looking for a bug-tracking-software-system. Does DC give out their Collector (http://classic.zope.org:8080/Collector) Product for free for us? Where can it be downloaded? Is there anybody out there who would care to share their product with me? ;) Any hints? Peter

Re: [Zope] convert a String ...

2001-01-14 Thread Peter Bengtsson
To "convert" a string to an object, you use the getitem() function. ## example 1: Your: dtml-var last_name #returns: Your: Peter Bengtsson ## example 2: dtml-call "REQUEST.set('var_to_go_and_get','last_name')" Your: dtml-var "_.getitem(var_to_go_and_get)" #

[Zope] Re: Refcounts, ZODB Cache and memory leaks?

2005-04-26 Thread Peter Bengtsson
Dylan Jay me at dylanjay.com writes: If anyone has experience with finding these kind of rouge references I'd really appreciate any tips. I have no idea how to patch tings with LeakFinder to find your problems because LeakFinder, albeit a great piece of code, attempts an incredibly difficult

Re: [Zope] automagic reindexing of objects

2005-06-17 Thread Peter Bengtsson
) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Getting information about current method

2005-06-17 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry

Re: [Zope] Getting information about current method

2005-06-17 Thread Peter Bengtsson
to call the function again (asynchronously this time), and for that I need the ZOPE path to it. Ole 2005/6/17, Peter Bengtsson [EMAIL PROTECTED]: is there a generic way to find out from Python code which method has been called (in other words: find out where the current method

Re: [Zope] automagic reindexing of objects

2005-06-17 Thread Peter Bengtsson
On 6/17/05, Jrgen Herrmann [EMAIL PROTECTED] wrote: [ Peter Bengtsson wrote:] Personally I think one should stay the hell away from transactions. They're not for you to fiddle with. I understand your question and even though I think it's a bit crazy I can see a benefit (simplicity

Re: [Zope] Picking up a parameter in a ZPT

2005-06-17 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work

Re: [Zope] Getting information about current method

2005-06-17 Thread Peter Bengtsson
On 6/17/05, Jan-Ole Esleben [EMAIL PROTECTED] wrote: No, I'm sorry; I only get system paths. And what about REQUEST.PARENTS? (or is that just the http request) Ole 2005/6/17, Peter Bengtsson [EMAIL PROTECTED]: On 6/17/05, Jan-Ole Esleben [EMAIL PROTECTED] wrote: Unforunately

Re: [Zope] Getting information about current method

2005-06-17 Thread Peter Bengtsson
or Dieter can help us here?? Ole 2005/6/17, Peter Bengtsson [EMAIL PROTECTED]: On 6/17/05, Jan-Ole Esleben [EMAIL PROTECTED] wrote: No, I'm sorry; I only get system paths. And what about REQUEST.PARENTS? (or is that just the http request) Ole 2005/6/17, Peter

Re: [Zope] Getting information about current method

2005-06-20 Thread Peter Bengtsson
for details. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope

Re: [Zope] Problem with keep-alive timeout

2005-06-20 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] ZPT tutorial

2005-06-20 Thread Peter Bengtsson
/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] ZPT tutorial

2005-06-21 Thread Peter Bengtsson
/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] ZPT tutorial

2005-06-22 Thread Peter Bengtsson
around the meat welcoming. So instead of You must have previous knowledge of XHTML 1.0 we can say Previous experience of HTML will help understanding how ZPT's work but it's not a requirement -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] From Zope 2.5.1 to Zope 2.7.6

2005-06-22 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter

Re: [Zope] Traversal question

2005-06-22 Thread Peter Bengtsson
! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope

Re: [Zope] From Zope 2.5.1 to Zope 2.7.6

2005-06-22 Thread Peter Bengtsson
inherited this 'project' of upgrading Zope and migrating the data. I have had NO help with it so I have been banging through it all the way. Thanks, Tim On Wed, 2005-06-22 at 16:22 +0100, Peter Bengtsson wrote: Are any of your applications relying on the 'bobobase_modification_time

Re: [Zope] From Zope 2.5.1 to Zope 2.7.6

2005-06-23 Thread Peter Bengtsson
Product'): instance.upgrade() Good luck Thanks much for your assistance; Tim On Wed, 2005-06-22 at 17:33 +0100, Peter Bengtsson wrote: Try something like this: $ cd zopehome/Products/ $ grep -rn bobobase_modification_time . That will tell you if any of your diskbased python

Re: [Zope] Cached Variables

2005-06-23 Thread Peter Bengtsson
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] Timeout?

2005-06-26 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work

Re: [Zope] merging the contents of two acl_users folders

2005-06-28 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson

Re: [Zope] Calendar for Zope

2005-06-29 Thread Peter Bengtsson
-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] TAL and Javascript

2005-06-29 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] how to get info about an object (dir/type)

2005-06-30 Thread Peter Bengtsson
or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope

Re: [Zope] A function like a FTP Object

2005-07-03 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] A function like a FTP Object

2005-07-03 Thread Peter Bengtsson
/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] A function like a FTP Object

2005-07-06 Thread Peter Bengtsson
On 7/6/05, Garito [EMAIL PROTECTED] wrote: Peter Bengtsson escribió: Hi! does this work on a folder? Sure it does. Did you understand any of my code? I subclassed it on the folder class. The struct.xml function is on a folder object and I would like struct.xml as an object

Re: [Zope] bug?

2005-07-06 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson

Re: [Zope] paypal IPN. Debug messages missing. Script goes zombie

2005-07-06 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Make hidden input

2005-07-07 Thread Peter Bengtsson
- Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

[Zope] BTreeFolder doubleclick patch

2005-07-07 Thread Peter Bengtsson
before. I've attached two patch files that you can chose to include. PS. To install the patch, this works for me: $ cd zope/Products/BTreeFolder2/ $patch -p1 BTreeFolder2.py.patch -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] BTreeFolder doubleclick patch

2005-07-08 Thread Peter Bengtsson
On 7/8/05, David Convent [EMAIL PROTECTED] wrote: Peter Bengtsson wrote: Shane (and the Zope list), I've patched your lovely BTreeFolder2 product (version 1.0.1) so that I can doubleclick on options in the dropdown instead of having to click the Edit button. This is using Javascript

Re: [Zope] Re: Poll: Zope and Suse Linux

2005-07-08 Thread Peter Bengtsson
and maintain your zope is like create and maintain a zclass project: you get started quickly but very soon you grow out of it and the ceiling can't be raised without breaking the roof. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[Zope] getSecurityManager() vs. AUTHENTICATED_USER

2005-07-08 Thread Peter Bengtsson
Who(self): #return self.REQUEST.AUTHENTICATED_USER.getUserName() return getSecurityManager().getUser().getUserName() -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist

Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Peter Bengtsson
statement: - I've had problems with deb packaged zope's - other people complain about pre-packaged packages - building from source has a threshold hassle level worth taking - building from source is better if you're serious about your installation -- Peter Bengtsson, work www.fry-it.com home

Re: [Zope] getSecurityManager() vs. AUTHENTICATED_USER

2005-07-08 Thread Peter Bengtsson
On 7/8/05, Dieter Maurer [EMAIL PROTECTED] wrote: Peter Bengtsson wrote at 2005-7-8 13:24 +0100: I've learnt that it's better to use getSecurityManager instead of REQUEST.AUTHENTICATED_USER because it's more secure. Other than that, what is the difference. The security manager could

Re: [Zope] Re: How to upload a file and save it in a physical path

2005-07-17 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Creating Photo object from an Image object

2005-07-17 Thread Peter Bengtsson
drop down. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
dtml-var REQUEST) Peter Bengtsson wrote: On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I use the following template often. When using a page template for my MAIN page, I access the error and message vars with: p tal:content=options/errorError message/p p tal:content=options

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
, request, error=error, message=message) I originally left that detail out to avoid unnecessary confusion, but I think it might be the cause...ideas? Peter Bengtsson wrote: On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I use the following template often. When using a page

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-19 Thread Peter Bengtsson
to create it with a sequence like div tal:define iterator python:modules['ZTUtils'].Iterator(range(100)); -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] How to get the download window option for file widget field?

2005-07-20 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] How to solve this ?

2005-07-21 Thread Peter Bengtsson
! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope

Re: [Zope] Memory Errors

2005-07-21 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Re: Memory Errors

2005-07-21 Thread Peter Bengtsson
for serious applications) On 7/21/05, Malthe Borch [EMAIL PROTECTED] wrote: Peter Bengtsson [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: thinking loud zlib? Did your zope work fine before? Remember, about 2 weeks ago they found a vunorability in zlib, didn't they. Maybe there are some

Re: [Zope] Python formatting question

2005-07-21 Thread Peter Bengtsson
... you write your HTML in python code strings? :) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Re: Getting a methods parent (in a product)

2005-07-23 Thread Peter Bengtsson
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[Zope] Token 'ATOM' required, 'and' found

2005-07-23 Thread Peter Bengtsson
ParseError: Token 'ATOM' required, 'and' found -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

[Zope] Re: getting atachments with python - pop3

2005-07-24 Thread Peter Bengtsson
-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Peter Bengtsson
Ok. Sounds like a plan. What I need to do if it happens is to escape all the operator words like and or not. Any idea how I can do that? On 7/25/05, Chris Withers [EMAIL PROTECTED] wrote: Peter Bengtsson wrote: But, is there a more robust solution to this? The correct thing to do here

[Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Peter Bengtsson
to escape the words. If it was putting it in square brackets i _would_ do: q = q.replace('not','[not]') Don't get hung up on that. What I'm after is the technique I can use upon the QueryParser for ignoring these operator words. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

[Zope] Re: Exception in Zope 2.8.0

2005-07-25 Thread Peter Bengtsson
@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

[Zope] Re: working with urls

2005-07-25 Thread Peter Bengtsson
like /ListIssues/start-20/reverse-False instead of /ListIssues?start=20reverse=False but that is just slightly different from what you are after. Good luck -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] ZPsycopg - Losing Connections

2005-07-27 Thread Peter Bengtsson
http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] find a file's type

2005-07-27 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

[Zope] DTML parsing outside of Zope

2005-07-28 Thread Peter Bengtsson
on the source code but it's so damn complicated for me. Can anybody give me a headstart on this? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] DTML parsing outside of Zope

2005-07-28 Thread Peter Bengtsson
script and post it on my blog soon. On 7/28/05, Jonathan [EMAIL PROTECTED] wrote: - Original Message - From: Peter Bengtsson [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, July 28, 2005 5:59 AM Subject: [Zope] DTML parsing outside of Zope I would like to be able to parse

Re: [Zope] Re: Oracle 9.2.0.2

2005-07-29 Thread Peter Bengtsson
- Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

Re: [Zope] strange getPhysicalRoot behaviour

2005-07-29 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter

[Zope] inspect and page templates in python product

2005-07-30 Thread Peter Bengtsson
, do_optTag:394, do_optTag_tal:409, interpret:234, do_useMacro:671, interpret:234, __call__:190, pt_render:96, _exec:106, _exec:343, _bindAndExec:343, __call__:306) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] Is it possible to add fields to the user registration in zope and plone?

2005-08-04 Thread Peter Bengtsson
-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] manage_afterAdd quirks

2005-08-18 Thread Peter Bengtsson
): self.manage_addImage(...) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] lines around images as links

2005-08-27 Thread Peter Bengtsson
@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

Re: [Zope] passing parameters from form to script

2005-08-29 Thread Peter Bengtsson
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home

  1   2   3   4   5   >