[Zope] DTMLDocument content - html quoted or not

2000-07-07 Thread Aleksander Salwa
? :) _ Aleksander Salwa, [EMAIL PROTECTED] An applicant for Zopista ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

Re: [Zope] Member Login

2000-07-19 Thread Aleksander Salwa
On Wed, 19 Jul 2000, ethan mindlace fremen wrote: HTML, are generally beyond the purview of zope documentation. The standard in this case is HTTP, where Basic Authentication is defined: http://www.cis.ohio-state.edu/htbin/rfc/rfc2068.html Little fix: rfc2616 obsoletes this. There

Re: [Zope] PCGI still not functional

2000-07-26 Thread Aleksander Salwa
On Mon, 24 Jul 2000, Bill Anderson wrote: In the 2.2betas, and in 2.1.6, I could use ZServer and PCGI, but now, I get one or the other. Do you mean that you could use (with earlier Zopes) _BOTH_ ZServer and PCGI at the same time ? Why ? And now, you can get up and running one of them; or you

[Zope] 2.2.0, LoginManager and ZPatterns

2000-07-28 Thread Aleksander Salwa
Hmm..., so I've decided to upgrade to Zope 2.2.0. Most of my site works fine :) I used GUF lately, now I want to use LoginManager, but I can't get it working. Even on fresh install of Zope 2.2.0 (Linux x86, binary release of Zope), when I want to create an instance of Login Manager with

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-28 Thread Aleksander Salwa
On Sat, 29 Jul 2000, Aleksander Salwa wrote: I used GUF lately, now I want to use LoginManager, but I can't get it working. Even on fresh install of Zope 2.2.0 (Linux x86, binary release of Zope), when I want to create an instance of Login Manager with default settings in folder 'test1

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-29 Thread Aleksander Salwa
Of course, I need to customize and test my LoginManager instance, so new troubles may arise soon :) So I'm back ;) On Mon, 24 Jul 2000, Bill Anderson wrote: for doing so. You can search the archives, and it would be a decent idea to look at the Membership *alpha* product, as it is an

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-29 Thread Aleksander Salwa
On Sat, 29 Jul 2000, Bill Anderson wrote: Where I can find this 'Membership' product ? (I've tried www.zope-treasures.com and 'Search' on www.zope.org). http://www.zope.org/Members/Bill/Products/Membership Has the most current version. Thanks ! Finally, I got it working by my

[Zope] boolean property bug

2000-07-31 Thread Aleksander Salwa
Probably I found a bug in handling boolean properties in Zope 2.2.0. I can only set them "on", and then can't turn "off". I can have default value "off" (in ZClass definition), but after first switch to "true", it can't be changed. It only refers to handling properties via Zope's management

Re: [Zope] Log Out

2000-07-31 Thread Aleksander Salwa
On Sun, 30 Jul 2000, Kapil Thangavelu wrote: Is there a way to log out of Zope without presenting a netscape dialog or killing the browser? i'd prefer that users have a link 'logout' that takes them back to the /root/index_html as anonymous You can do it with one of the replacements

Re: [Zope] Info SendMail + doctype

2000-07-31 Thread Aleksander Salwa
On Mon, 31 Jul 2000, Vincent wrote: Following my previous Mail about HTML in the body of emails... I tryed several of your answers, but it doesn't work. My Oultook just displays evrything (included the br, body, etc...), eventhough I often receive mail with an HTML content (so my client is

Re: [Zope] boolean property bug

2000-07-31 Thread Aleksander Salwa
On Mon, 31 Jul 2000, I wrote: Probably I found a bug in handling boolean properties in Zope 2.2.0. I can only set them "on", and then can't turn "off". I can have default value "off" (in ZClass definition), but after first switch to "true", it can't be changed. It only refers to handling

Re: [Zope] Permissions question.

2000-08-01 Thread Aleksander Salwa
On Mon, 31 Jul 2000, Jeff K. Hoffman wrote: Hello, I am having a permissions problem, and am hoping someone on the list will see the error in my ways. I have a ZClass, called a FooManager, that inherits from ObjectManager. It is responsible for creating (and managing) Foo objects. In

Re: [Zope] boolean property bug

2000-08-02 Thread Aleksander Salwa
On Mon, 31 Jul 2000, Jonothan Farr wrote: You should submit this to the collector, preferable with a patch! ;) Otherwise it's likely to get lost in the chaos of the list. http://classic.zope.org:8080/Collector So I did it. (Collector #1495) You can patch your Zope on your own by

Re: [Zope] ZCatalog attachments?

2000-08-04 Thread Aleksander Salwa
On Fri, 4 Aug 2000, Simon Coles wrote: We have binary files stored in Zope, for example Word documents (but could be any of a variety of document types). We would like to be able to index and search the contents of these files using ZCatalog. So if a Word file contains the word "Fred",

Re: [Zope] GUF

2000-08-08 Thread Aleksander Salwa
You mean, you don't know, how to force users to authenticate ? Everytime user tries to access resources that needs higher privileges, GUF starts working, presenting mentioned form, and then it calls 'userAuthenticate' - this method (probably written by you) have to check if login:password pair

Re: [Zope] new checkbox when adding a zclass in zope 2.2.0

2000-08-08 Thread Aleksander Salwa
On Tue, 8 Aug 2000, Nico Grubert wrote: in zope 2.2.0, when adding a new zclass the management-screen includes a checkbox "Include standard Zope persistent object base classes?". What does exactly this option do ?? I could not find any differences between adding a zclass with selected

Re: [Zope] Hardware minimum for development

2000-08-08 Thread Aleksander Salwa
On Tue, 8 Aug 2000, Sven Hohage wrote: Hallo, what's the minimum of hardware to develop Zope-sites(only for development). I'd like to know because I want to buy a laptop and don't want to spend much money ! Thanks. Now I'm developping on PC with 48 MB RAM, and it's too little for me.

Re: [Zope] GUF

2000-08-13 Thread Aleksander Salwa
On Fri, 11 Aug 2000, Mathias Bengtsson wrote: Does anybody know how the login is handled by GUF. I use cookie authentication and I get the loginptomt when I try to access a page that has authenticate permissions. But when I try to login I don't know how to get the user logged i.e I don't

Re: [Zope] ANNOUNCE: Zope 2.2.1 beta 1 released

2000-08-14 Thread Aleksander Salwa
On Thu, 10 Aug 2000, Brian Lloyd wrote: Hi all - Zope 2.2.1 beta 1 has been released - you can download it from Zope.org: Is there corrected this bug, that some ZClasses (probably those derived only from ZObject (not from DTMLDocument, for example)), doesn't support basic

Re: [Zope] ANNOUNCE: Zope 2.2.1 beta 1 released

2000-08-14 Thread Aleksander Salwa
On Mon, 14 Aug 2000, Aleksander Salwa wrote: Is there corrected this bug, that some ZClasses (probably those derived only from ZObject (not from DTMLDocument, for example)), doesn't support basic operations - 'paste', 'rename'... ? (Announced on this mailing list some time ago.) I can't

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

2000-08-16 Thread Aleksander Salwa
On Wed, 16 Aug 2000, cuiod-tec Jens Gelhaar wrote: dtml-in "objectItems('DTML Document')" dtml-var sequence-item /dtml-in [...] works fine, if there is no reference to another object. But when I put something like dmtl-var imageobject in one of this DTML Document I get the appended

Re: [Zope] Security Problems upgrading to Zope 2.2.0

2000-08-21 Thread Aleksander Salwa
On Mon, 21 Aug 2000, Stefan Bambach wrote: class test: def __init__(self): pass def sayhello(self): return "hello" def initialize(self): return test() What's wrong with this code ? Try to add this attribute to your class 'test':

Re: [Zope] GUF and crypt

2000-08-22 Thread Aleksander Salwa
On Mon, 21 Aug 2000, Brad Mabe wrote: Greetings, I am following the directions in hippy's GenericUserFolder with an SQL database how to, and ran into a snag. When I call crypt, zope returns the following: Error Type: AttributeError Error Value: crypt Maybe you don't have this module

[Zope] ZCatalog - OR'ing on different colums (indices)

2000-08-25 Thread Aleksander Salwa
Is there any better method of OR'ing on differend indices in quering ZCatalog, then the method described in 'Advanced ZCatalog Searching' How-To: dtml-let res1="MyCatalog(title=userInput)" res2="MyCatalog(PrincipiaSearchSource=userInput)"

Re: [Zope] ZCatalog and foreign characters

2000-08-29 Thread Aleksander Salwa
On Tue, 29 Aug 2000, Radim Gelner wrote: is it possible to make ZCatalog work correctly with words containing characters other then those given in ISO-8859-1. Yes, I did it very simply. You have to patch file lib/python/SearchIndex/Splitter.c very slightly. Just add line: #include

[Zope] ChatRoom

2000-08-31 Thread Aleksander Salwa
Not Zope specific, but may be important for many web-masters... Some days ago I was told to make a chatroom in our site. I took a look at some products, but no one has satisfied me yet. If anybody knows about _good_ chatroom, please let me know ! Where _good_ means: + highly customizable

Re: [Zope] ZCatalog and foreign characters

2000-08-31 Thread Aleksander Salwa
On Wed, 30 Aug 2000, Radim Gelner wrote: On Tue, Aug 29, 2000 at 11:57:08PM +0200, Dieter Maurer wrote: If you work with a fixed locale, you can use the "-L" switch to inform Zope about your locale. Then the splitter should work correctly (for your locale). Yes, that helped. I've

Re: [Zope] ZCatalog and foreign characters

2000-08-31 Thread Aleksander Salwa
For now, I made hack in Spliter.c - I wrote my own replacements for isalpha and isalnum functions. Oops, my solution doesn't work. Probably it needs more hacking in python code So, how to do it under FreeBSD ? [EMAIL PROTECTED] /--\ | `long long

[Zope] locale and Splitter.c on FreeBSD - where is the bug ?

2000-09-09 Thread Aleksander Salwa
Some time ago I had a problem with locales on FreeBSD. Finally, I solved it by patching Splitter.c. I added casting of values passed to funtions isalpha, isalnum to type 'unsigned char'. They are declared in Splitter.c as 'char'. On all machines I'm working on, 'char' is signed. On Linux/x86,

Re: [Zope] locale and Splitter.c on FreeBSD - where is the bug ?

2000-09-11 Thread Aleksander Salwa
On Sun, 10 Sep 2000, Dieter Maurer wrote: Put it into the collector (URL:http://classic.zope.org/Collector). 8080 Anyway, Collector doesn't work :( - "Temporarily Unavailable".

[Zope] manage_afterAdd - need enlightenment

2000-09-11 Thread Aleksander Salwa
I decided to convert my ZClasses to CatalogAware. I added CatalogAware as first base class. If I add dtml-call "index_object()" in my MyZClass_add method, then new object is automatically indexed as expected. But in CatalogAwareness.py I see method manage_afterAdd, which does the same. Is this

Re: [Zope] locale and Splitter.c on FreeBSD - where is the bug ?

2000-09-11 Thread Aleksander Salwa
On Sun, 10 Sep 2000, Dieter Maurer wrote: Nevertheless, you patch to "splitter" should be welcome as it solves a usability problem on FreeBSD systems. Put it into the collector (URL:http://classic.zope.org/Collector). Done. You may file a problem report to the FreeBSD maintainers in

Re: [Zope] how to reload external method?

2000-09-14 Thread Aleksander Salwa
On Thu, 14 Sep 2000, Riku Voipio wrote: How do you reolad an external method that has changed? Just click on 'Edit' button. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/

Re: [Zope] using crontab to restart ZOPE - again

2000-09-24 Thread Aleksander Salwa
On Sun, 24 Sep 2000, George Osvald wrote: On Linux it doesn't do anything if ZOPE is running. It only restarts when ZOPE stops working. On FreeBSD it stops and then restarts ZOPE every time. I wander if anyone knows what should be changed for this script to run on FreeBSD. Any help would be

Re: [Zope] LoginManager - how does it work?

2000-10-08 Thread Aleksander Salwa
On Sat, 7 Oct 2000, ed colmar wrote: I've managed to get loginManager to install, but I am very confused as to what to do with it. I was confused too :) Now I have working instalation of LoginManager-0-8-7a1. It retrieves users' data from ZODB, but it may be helpfull to understand how to

Re: [Zope] LoginManager - how does it work?

2000-10-12 Thread Aleksander Salwa
On Tue, 10 Oct 2000, ed colmar wrote: So, now I have a UserSource Installed into my LoginManager. It is called I remember I had some troubles trying to put methods rolesForUser, domainsForUser, authenticateUser in UserSource class. They can be moved to user class. I did so. But your case

Re: [Zope] from is a reserved word?

2000-10-12 Thread Aleksander Salwa
On Thu, 12 Oct 2000, iap_y2fun.com wrote: Hi,The following dtml couse error, dtml-comment dtml-var "sendMail(from='hello@world')" /dtml-comment The workaround is to change "from" to other words. "from" is a python reserved word. [EMAIL PROTECTED]

Re: [Zope] Lost External Methods

2000-10-23 Thread Aleksander Salwa
On Mon, 23 Oct 2000 [EMAIL PROTECTED] wrote: And... while I'm at it, is there a way in Zope to programmatically reload [Edit button] an external method (in case I can't get the problem to go away and just out of general curiosity)? dtml-call "YourExtMethod.manage_edit(title='foo',

Re: [Zope] Updating auto incrementing counter in a propertysheet

2000-10-23 Thread Aleksander Salwa
On Mon, 23 Oct 2000, Max Mller Rasmussen wrote: I have a zClass (objectmanger) with a property called "lastID", on a propertysheet called "hidden". I have then written a dtml mehtod that should return the id incremented by 1 and then sets the lastID to this new id. the dtml for the

Re: [Zope] redirect

2000-10-24 Thread Aleksander Salwa
On Tue, 24 Oct 2000, Joaldo Junior wrote: how to for that function REDIRECT understand a variable. ex. dtml-call "RESPONSE.redirect('http://zope.org/index.htm?cod=dtml-var test')" DTML tags can't be nested. Try: dtml-call "RESPONSE.redirect('http://zope.org/index.htm?cod='+test)"

Re: [Zope] acl_users API

2000-11-01 Thread Aleksander Salwa
On Wed, 1 Nov 2000, Harris Peter wrote: Failing that, maybe someone can suggest where to look in the Zope python source to find the methods acl_users exposes. lib/python/AccessControl/User.py Viewing HTML sources of management screens may also help a lot. [EMAIL PROTECTED]

Re: [Zope] Can't access management page.

2000-11-07 Thread Aleksander Salwa
On Tue, 7 Nov 2000, Joel Janosky wrote: Starting today, when I browse to the base /manage page, I get the normal tree display in the left hand pane. The right hand pane, however, displays the base page in its presentation form rather than showing the list of objects in the base folder.

Re: [Zope] SiteAccess2: How do I suppress all when managing?

2000-11-08 Thread Aleksander Salwa
On Tue, 7 Nov 2000, Danny William Adair wrote: How can I suppress the URL generation in the management screens? I've seen the "Z" folder example but it didn't work for me. Everything is fine except the management interface. This example works when you leave blank all properties in your

Re: [Zope] requests for some dtml tags

2000-11-13 Thread Aleksander Salwa
On Mon, 13 Nov 2000, jacintha menezes wrote: Is there any dtml tags for creating a new work space also for locking some page.Locking some page in the sense for second user the operations in that page should not be processed unless the process for first user is completed.If there dtml tags

Re: [Zope] Newbie Install: Solaris/Zeus

2000-11-16 Thread Aleksander Salwa
On Wed, 15 Nov 2000, Lee Hunter wrote: Zope requires Python thread support! You need to recompile Python with thread support turned on. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/

[Zope] Web mail with POP3

2000-11-16 Thread Aleksander Salwa
I need to build a web mail product with pop3 back-end. There is WorldPilot, but AFAIK it has no pop3 support. I'm thinking about taking web inteface/application design from WorldPilot and writing code to talk to pop3 server (probably based on POPMail product). Is this a good approach, or someone

Re: [Zope] Web mail with POP3

2000-11-16 Thread Aleksander Salwa
On Thu, 16 Nov 2000, seb bacon wrote: What do you mean, 'pop3 support'? If you want people to access their mailboxes both through the web and from a pop3 mail client, then all you need to do is use a mail server like UW-imap which speaks both pop3 and imap. Then you can just stick with

Re: [Zope] security problems

2000-11-17 Thread Aleksander Salwa
On Fri, 17 Nov 2000, Bowyer, Alex wrote: I have one method index_html which should be viewable by anonymous. All other methods should only be viewable when a username/password is entered for someone with the role I have called UAAdmin [...] I can only seem to get full access to all pages (if

Re: [Zope] Reasons for Apache?? SSL?? (was Running Mailman CGIunder Zope ZServer)

2000-11-17 Thread Aleksander Salwa
On Fri, 17 Nov 2000, Dario Lopez-Ksten wrote: one of my colleagues configure Apache and Zope using the "Apache ZServer" how to. This works well and Apache serves Zope pretty well and we can even use SSL (there are some issues to be resolved that I suspect are due to misconfiguration on our

Re: [Zope] Passing lists in a get request (ZCatalog Search)

2000-12-02 Thread Aleksander Salwa
On Fri, 1 Dec 2000, Darin Lee wrote: the request would look like: search?meta_type=Publicationtheme=Airtheme=Landtheme=Water I can't figure out how to pass a list in the get request. How do I pass more than one theme to the method as a list? I have discovered through trial and error that

[Zope] security - am I going crazy ?

2000-12-08 Thread Aleksander Salwa
Few days ago I found that on site that I'm currently working on, everybody can add DTMLMethods and Documents (and maybe do more, I haven't checked yet, but I think it's bad enough !) by simply entering URL http://www.mysite.com/manage_addDTMLMethod?id=q1title=qq1file=qqq1 After that Zope sends

Re: [Zope] security - am I going crazy ?

2000-12-08 Thread Aleksander Salwa
On Fri, 8 Dec 2000, Shane Hathaway wrote: You're right. It's because of a "legacy" issue. Here's a quick patch that plugs the hole: [...] This is not perfect, however. I'm working on a better solution. Thanks a lot ! It works for me. [EMAIL PROTECTED]

Re: [Zope] ZClass with images

2000-12-11 Thread Aleksander Salwa
On Sat, 9 Dec 2000, Diego Rodrigo Neufert wrote: Anyone know how to put some images in ZClass? I have done things like putting ZClass with base class OFS:Image but with it I can only assing one Image do the object... I need to assign two or tree images do the object. Try to subclass

Re: [Zope] LocalFS question

2000-12-12 Thread Aleksander Salwa
On Mon, 11 Dec 2000, Leichtman, David J wrote: How do you access an individual object in a LocalFS? By that, I mean: [...] dtml-var "localfs_object.localfs_subobject.bobobase_modification_time", you get the error NameError: localfs_subobject dtml-var

Re: [Zope] Problems with adding tutorial

2000-12-13 Thread Aleksander Salwa
Mandrake 6.0, zope2.3.0a1, Python 2.0, Communicator 4.6. Keep in mind that the latest STABLE version is Zope 2.2.4. Officially supported (by Zope) release of Python is still 1.5.2. Aleksander Salwa ___ Zope maillist

[Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
I used this code in my "logoutForm" to logout user in my old setup (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): dtml-call "AUTHENTICATED_USER.logout()" It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 + Zope 2.2.4. I've found a work-around: dtml-call

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
On Sun, 17 Dec 2000, Chalu Kim wrote: No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do,

Re: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
I used this code in my "logoutForm" to logout user in my old setup (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): dtml-call "AUTHENTICATED_USER.logout()" (I assume this code is correct, as it is included in default logoutForm in LoginManager.) It doesn't work when using

Re: [Zope] adding Mail Host also legacy, broken by Hotfix_2000-12-08

2000-12-18 Thread Aleksander Salwa
On Mon, 18 Dec 2000, Bill Welch wrote: Just for the record. As I grepped through sources, I see that SiteAccess (2.0.0b4) also uses 2-argument legacy mechanism :( Anyway: why it still works ? I have Hotfix_2000-12-08 installed and I still can add new SiteRoots. [EMAIL PROTECTED]

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-19 Thread Aleksander Salwa
On Tue, 19 Dec 2000, Marcin Kasperski wrote: Partial solution: at something like 2:00 AM delete your SiteRoot rule, reindex with ZCatalog and create this rule again. Searching works (although I needed to edit the paths found a bit in the form responsilbe for search results presentation). You

Re: [Zope] New install - no management screen?

2000-12-31 Thread Aleksander Salwa
On Sun, 31 Dec 2000, Glenn Gillis wrote: After installing 2.2.4 on a Windows 2000 workstation to begin learning Zope I'm having trouble getting the management screen to display. When connecting to http://localhost:8080/manage I can log in successfully, created a new user with the "manager"

Re: [Zope] manage_users( ) method

2001-01-02 Thread Aleksander Salwa
On Tue, 2 Jan 2001, Mohan Baro wrote: Where can I get the specifications for acl_users.manage_users()? I know it's not the best answer, but you can read the source: ZOPE_DIR/lib/python/AccessControl/User.py [EMAIL PROTECTED], [EMAIL PROTECTED] /--\ | `long

Re: [Zope] case insensitive search?

2001-01-03 Thread Aleksander Salwa
On Wed, 3 Jan 2001, Robin Becker wrote: Is there an easy way to make the Find tab case insensitive. It seems like a very common need, but I see that FindSupport.py is calling string.find which makes it seem as though this is harder than it should be. You can try my very quick patch,

Re: [Zope] case insensitive search?

2001-01-03 Thread Aleksander Salwa
On Wed, 3 Jan 2001, Robin Becker wrote: Is there an easy way to make the Find tab case insensitive. It seems like a very common need, but I see that FindSupport.py is calling string.find which makes it seem as though this is harder than it should be. Now, I did it better way. No regular

Re: [Zope] reindex when a zclass is edited

2001-01-12 Thread Aleksander Salwa
On Thu, 11 Jan 2001, Tim Hicks wrote: from a builtin edit form as my template. One thing doesn't work now though, and that's making the textarea wider/narrow/etc. Obviously, this is because I have static values put in for the dimensions of the text area, but I'm not sure how to alter this

Re: [Zope] Lines Property and special namespace variable

2001-01-13 Thread Aleksander Salwa
On Sat, 13 Jan 2001, Tom Scheidt wrote: Im trying to changes the contents of a lines property into floating point numbers a la: dtml-in lines dtml-let "_.float(lines)" dtml-if "lines 0"font color="#006600"/dtml-if dtml-var sequence-item /dtml-in The contents of the lines property

Re: [Zope] reindex when a zclass is edited

2001-01-14 Thread Aleksander Salwa
On Sat, 13 Jan 2001, Tim Hicks wrote: Thanks very much for the help Aleksander, but when I drop your code into my method, it doesn't work (it doesn't break either). I simply copied and pasted your code, then edited the final redirect at the bottom. Here is the submission part of my edit

Re: [Zope] exception handling for zclient

2001-01-16 Thread Aleksander Salwa
On Tue, 16 Jan 2001, wade naveja wrote: i'm using zclient as outlined in http://www.zope.org/Members/lstaffor/ZClientMethod to serve pages from another web server as if they were being served form my zope server. how would i write an exception to handle the case of the other web server

Re: [Zope] Curious DTML question

2001-01-16 Thread Aleksander Salwa
On Wed, 17 Jan 2001, Nick McDowell wrote: dtml-with templates dtml-var myHTMLtemplate /dtml-with ...everything works correctly and my HTML page is rendered properly with graphics etc. However I initially tried to execute the method via the following (slightly less keyboard action) -

Re: [Zope] Strange behavior of document_src

2001-01-16 Thread Aleksander Salwa
On Tue, 16 Jan 2001, Sergio Fogel wrote: I want to display the source of a DTML document inside a textarea (as in Zope's DTML editing screen). If I do: dtml-var "doc.document_src()" It works OK, but if I try dtml-var "_['doc'].document_src()" it tries to evaluate doc, and gives me an

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-20 Thread Aleksander Salwa
On Sat, 20 Jan 2001, Oleg Broytmann wrote: Zope now sends all HTML in management screens with meta http-equiv="content-type" content="text/html; charset=iso-8859-1" This is WRONG way of doing! Please stop it and don't do it :) Meanwhile - where I can turn this off? It would be

Re: [Zope] LocalFS and PathHandler

2001-01-22 Thread Aleksander Salwa
On Mon, 22 Jan 2001, Ulrich Wisser wrote: I try to access LocalFS from my own DTML method. (Exactly from my PathHandler method.) I got all directory information in one array like this path_to_handle = ['sub1', 'sub2', 'sub3'] How can a get a directory listining with LocalFS for path

Re: [Zope] zope + img tags + javascript

2001-01-25 Thread Aleksander Salwa
On Thu, 25 Jan 2001, Lee wrote: I *hate* image maps but I'd like to use one so how can I add the details to the dtml-var imageName? I'd also like to add various bits Probably you need dtml-var "imageName.tag(attrib='value', attr2='v2')". ___

Re: [Zope] Instatiate object instances :-)

2001-01-25 Thread Aleksander Salwa
Paths can be treated as "pointers", so methods getPhysicalPath/(un)restrictedTraverse may be what you need. [EMAIL PROTECTED], [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/

Re: [Zope] TinyTable : filter query pb

2001-01-26 Thread Aleksander Salwa
On Fri, 26 Jan 2001, Thierry Pasquier wrote: usagers is a TinyTable this, is ok : dtml-call "REQUEST.set('usager','bruno')" dtml-in "usagers(ident=usager)" ... but, not this : why ? dtml-call "REQUEST.set('usager',AUTHENTICATED_USER)" dtml-in "usagers(ident=usager)" Because 'bruno'