Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread David H
Andreas Jung wrote: --On Freitag, 1. April 2005 16:52 Uhr -0500 Jake <[EMAIL PROTECTED]> wrote: want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? To avoid that people use ZClasses in the future :-) -aj ---

[Zope] SESSION invalidate method

2005-04-03 Thread David H
Hi List, I am curious about the SESSION.invalidate() method. This code sets a SESSION key and value and then calls SESSION.invalidate(): before invalidate after invalidate() Produces this output: before invalidate id: 11125588150079827980, token: 95966850A1xaz-gQYlU, contents: [('Dodgers',

Re: [Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread David H
Dan E wrote: Hi, Has anyone found a way to get a list of boolean values from dynamically created checkboxes. I have created a bunch of checkboxes within a repeat loop like this: but when I access the cb_array from my python script, I only get the checked values (and I can no longer mat

[Zope] Re: SESSION invalidate method

2005-04-03 Thread David H
Sune B. Woeller wrote: hi David, I had the same problem, see this thread with a workaround, and this bug report: http://www.zope.org/Collectors/Zope/1594 regards, Sune B. Woeller David H wrote: Hi List, I am curious about the SESSION.invalidate() method. This code sets a SESSION key and value and

[Zope] Multiple Browser Id Managers question

2005-04-05 Thread David H
Hi Zope List, The current SESSION Chapter in the Zope Book 2.7 says the following: " ... once you've instantiated one browser id manager or if you keep the default browser id manager, you will not be able to instantiate another browser id manager in a place where the new browser id manager can a

Re: [Zope] Does anyone care whether we deprecate

2005-04-06 Thread David H
Andrew Milton wrote: I think people on this list need to realize that eventually, the direction of any significantly large Open Source project is hijacked by the relatively small number of people actually doing the work. The reasons for this are many-fold, but, normally come down to a lack of commu

[Zope] Windows compile Zope 2.8?

2005-04-08 Thread David H
Hi List, I notice that the latest Zope does not have a Windows binary release yet (zope 2.80 alpha 2). I found an old Visual C 6.0 (still in the box!) and wonder if there are instructions somewhere that I can follow to create my own binary on Windows XP? Thanks, David ps - Maybe I'm having a b

Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread David H
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David H wrote: Hi List, I notice that the latest Zope does not have a Windows binary release yet (zope 2.80 alpha 2). I found an old Visual C 6.0 (still in the box!) and wonder if there are instructions somewhere

Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread David H
Tim Peters wrote: [David H] Thanks for responding. I tried the suggestion: C:\Zope-2.8.0a2> python.exe setup.py build_ext --inplace and the thing runs for a while (good sign, as visual c 6.0 is compiling things) then I get this: build

Re: [Zope] Dynamic hyperlink with parameter

2005-04-09 Thread David H
srikanth wrote: Hi, I am trying to execute something like: href="eachrecordresult.html?fname='recordset/fname'"> First Name Last Name Everything works fine but the hyperlink. What I want it to look in the hyperlink is something like: eachrecordresult.ht

Re: [Zope] Dynamic hyperlink with parameter

2005-04-09 Thread David H
srikanth wrote: Hi, I am trying to execute something like: href="eachrecordresult.html?fname='recordset/fname'"> First Name Last Name Everything works fine but the hyperlink. What I want it to look in the hyperlink is something like: eachrecordresult.ht

[Zope] cvs (versus) svn

2005-04-10 Thread David H
Hi List, What is the status of cvs and svn in terms of which to use to get what software. I found some messages indicating that Zope went to svn about a year ago. Thanks, David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] object creation in a specific folder...

2005-04-10 Thread David H
Rushabh Mehta wrote: hello all, this is my first zope app... i am trying to figure out how to create an object in a particular folder via script, when my current object may not be in the right tree... I tried to do a 'change folder' via restrictedTraverse (eg context.getRestrictedTraverse('/myapp/

Re: [Zope] ZPT list is dead... zpt nav question

2005-04-13 Thread David H
Norbert Ray-Goldman wrote: so I am posting this here. I would like my zpt to list only folders in a director - essentially filtering out all other meta_type(s)... can you tell me where I am going wrong with the filtering here ? The title T

Re: [Zope] ZPT list is dead... zpt nav question

2005-04-13 Thread David H
David H wrote: Norbert Ray-Goldman wrote: so I am posting this here. I would like my zpt to list only folders in a director - essentially filtering out all other meta_type(s)... can you tell me where I am going wrong with the filtering here

Re: [Zope] how to save page content to a word file.

2005-04-20 Thread David H
prabuddha ray wrote: this again is a simple problem which got tricky for me. I've full page template taking parameters to generate a printable report. Another button on this page is for saving the report to a doc file. How can i do this in a ZPT? prabuddha, If you are using Windows then check o

Re: [Zope] index.html in Python Script?

2005-04-21 Thread David H
Erik Myllymaki wrote: How do address a ZPT with a name like index.html in a Python Script? The following: request = container.REQUEST RESPONSE = request.RESPONSE if not request.has_key('next_state'): return container.index.html(context, request) returns: Error Type: AttributeError Error Value: i

Re: [Zope] Sequence sorting module from a Python script

2005-04-24 Thread David H
Leticia Larrosa wrote: Hi all:   I want to order a sequence using the Sequence sorting module from a Python script. I have the following code: " seq = [['Bruzon', 'CUB'], ['Anand', 'IND'], ['Kasparov', 'RUS']] def test(oneElem, twoElem):     if oneElem[0] == twoElem[0]:     ret

Re: [Zope] upload into a ZObject

2005-05-01 Thread David H
u1207440 wrote: >Does anyone know how to upload a file or an image into a ZObject? > >I have created a simple ZClass that makes ZObjects to simulate book >information like title, author, etc. I have selected to upload images and >files into the ZObject, but I don't have a clue what dtml codes I

Re: [Zope] Sending mail with attachments via Python

2005-05-03 Thread David H
Kirk Strauser wrote: On Tuesday 03 May 2005 15:30, J Cameron Cooper wrote: Look at the Python 'email' package: http://python.org/doc/lib/module-email.html You'll need to use External Methods to use this module, or allow access to it so that you can use Python Scripts.

Re: [Zope] i am completely new to zope

2005-05-05 Thread David H
Paul Winkler wrote: On Thu, May 05, 2005 at 09:27:41AM -0700, Lukman Salifu Nayendi wrote: i am a new user of zope, i really want to learn alot about it and know more please help. http://zopewiki.org/ZopeWiki http://www.plope.com/Books/2_7Edition Also, get some good

Re: [Zope] Hiding HTML URL

2005-05-09 Thread David H
Allen Huang wrote: I just want to show my root URL address whenever people browse into other pages of my site. How do  I do this in dtml or python script or external method?? Allen, You can use index_html as a "call dispatcher".  Each ZPT, DTML, etc form's action should = "." or "ind

Re: [Zope] Hiding HTML URL

2005-05-09 Thread David H
Jens Vagelpohl wrote: On May 10, 2005, at 00:48, J Cameron Cooper wrote: But please note, this is very hostile web design. I would suggest you re-think your need for such a "feature". "Hostile" is an excellent word for that kind of behavior. It certainly breaks quite a few rules in the "user f

Re: [Zope] dollars-and-cents display fails

2005-05-14 Thread David H
Greg Fischer wrote: I guess my quick fix wont work. Well, it fixes the fmt for decimals, but there's more to the issue. Statistical summaries, total, sum dont work either. In my dtml-in I might have this: or These dont work with Mysql 5.0.4. So, what do we have to change in the Mysql DA or may

Re: [Zope] Hiding HTML URL

2005-05-19 Thread David H
Florent Guillaume wrote: David H <[EMAIL PROTECTED]> wrote: If I might disagree, keeping a stable URL is not, by itself, "user-defeating". For example, user's do not like browser history clutter with subfolders and objects - all from

Re: [Zope] Answer's Time

2005-05-19 Thread David H
Chris McDonough wrote: You may want to use a tool like wget or curl to examine the response from the server for the clicked URL. This could be many things. - C On Thu, 2005-05-19 at 18:37 -0300, Fernando Lujan wrote: I'm having the following problem and wanna know whether it can be associated w

Re: [Zope] response.redirect not working

2005-05-20 Thread David H
ArtÅras wrote: Hello, I have a web page, a form on it, and on form submit action (to the same page) I do some database actions (update some record, to be correct). The exact code looks like this (filename edit_html): . (1) (2) Saved. (3) . On #1 line I check if form variab

Re: [Zope] Equivalent of "context" ZPT variable in DTML ?

2005-05-22 Thread David H
KLEIN Stéphane wrote: Hello, What is the equivalent in DTML of ZPT "context" variable ? Thanks for your help, -- Stéphane ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Re

[Zope] DTML in Zope 2 vs Zope 3

2005-05-22 Thread David H
Hi, I understand that DTML will be in Zope 3. My question is, do "namespaces" and "context" also migrate to Zope 3? If not, could break existing code? David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cro

Re: [Zope] Hiding HTML URL

2005-05-23 Thread David H
Chris Withers wrote: I wish I could impose my ideas on users. I respond to specs. Yes, I will fight the good fight when a spec is silly. If this is coming from a spec, it's very silly, and a total waste of your time... I've even turned down gigs because the client was stubborn and what

Re: [Zope] Hiding HTML URL

2005-05-23 Thread David H
Chris, I didn't address any of the points you made, but I've decided to address two: (1) When I asked what was inherently defective about a "stable URL" you answered: a) "It's grim to debug" Chris, do you really depend on their users to report URLS to support when things go wrong? I use exce

Re: [Zope] Create a list using DTML.

2005-05-24 Thread David H
Fernando Lujan wrote: Hi, I have a array data type in my DB wich have the following format : {1,2,3} ( ids_test ). Now in my web application, I have a multiple select wich options must be marked as selected if the number is in the array described above. How can I make the above format be conve

Re: [Zope] Create a list using DTML.

2005-05-24 Thread David H
Fernando Lujan wrote: I think you are close. Change to ? It's working like IN over a string, e.g. the [5,61] will make selected the number 5,6 and 61. Where id_test is the result of the database query wich return in this format: {1,2,3}. I modify it to a (1,2,3) and fi

Re: [Zope] DTML in Zope 2 vs Zope 3

2005-05-26 Thread David H
Hugo Ramos wrote: Yellow, I think because of lazy people like me that prefer to use DTML in a fast way than go into a deep Python level to get the job done... I know that, eventually, one of these days I'll have to move on to Python only but until that day comes... DTML and a little bit of Pyth

Re: [Zope] DTML in Zope 2 vs Zope 3

2005-05-26 Thread David H
ure the employers out there are that kind allowing everybody to take time making the move. Regards Hugo On 5/26/05, David H <[EMAIL PROTECTED]> wrote: Hugo Ramos wrote: Yellow, I think because of lazy people like me that prefer to use DTML in a fast way than go into a deep

Re: [Zope] Receiving mails

2005-05-27 Thread David H
Varun Parange wrote: hi, i have downloaded an SMTP server and using it i can send mails with the help of Zope MailHost however i would also like to recieve mails how do i do this. which additional products do i need to download... regards, varun Varun, I wrote a spam f

Re: [Zope] DTML in Zope 2 vs Zope 3

2005-05-28 Thread David H
Andrew Milton wrote: +---[ Jonathan Cyr ]-- | Damn users, using all this imperfect software. These Kids Today! ;-) | | Easy Big Fella, Whooa. | You must be new here We've all learnt to ignore Chris... He gets easily confused... or maybe he doesn't take his medi

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread David H
Andreas Jung wrote: --On 5. Juni 2005 11:33:42 +0100 John Poltorak <[EMAIL PROTECTED]> wrote: I need some advice on how to format a page and am not sure how to explain what I want to do but hope someone will figure out what I want to do... Basically I have a home page consisting of a st

Re: [Zope] Working with CSS'

2005-06-06 Thread David H
Jason Leach wrote: hi, I have a site developed with CSS. We just translated the site to German. The problem I have is with some embedded graphics. For example: #rightcolumn h1 { background: transparent url("i/news_title.jpg") no-repeat top left; height: 38px; width: 1

Re: [Zope] Working with CSS'

2005-06-06 Thread David H
David H wrote: Jason Leach wrote: hi, I have a site developed with CSS. We just translated the site to German. The problem I have is with some embedded graphics. For example: #rightcolumn h1 { background: transparent url("i/news_title.jpg") no-repeat top left; he

Re: [Zope] Working with CSS'

2005-06-06 Thread David H
Tino Wildenhain wrote: Am Montag, den 06.06.2005, 20:51 -0700 schrieb Jason Leach: hi, I have a site developed with CSS. We just translated the site to German. The problem I have is with some embedded graphics. For example: #rightcolumn h1 { background: transparent url("i/news

Re: [Zope] Exiting a Loop

2005-06-15 Thread David H
Asad, You want to break out of a DTML loop but there is no loop breaking DTML syntax.  Here is another candidate DTML work-around:       whatever you do in the loop   That way, you can avoid processing past a certain point, just that the loop will run until the sequence reached the

Re: [Zope] ZPT tutorial

2005-06-20 Thread David H
Everyone, I think the ZPT tutorials are excellent.  Both "Using Page Templates" and "Advanced Page Templates" are worth reading more than once.  David Andreas Jung wrote: --On 20. Juni 2005 23:45:34 +0100 John Poltorak <[EMAIL PROTECTED]> wrote: Does a ZPT tutorial exist anywh

Re: [Zope] ZPT tutorial

2005-06-21 Thread David H
John Poltorak wrote: On Tue, Jun 21, 2005 at 01:24:18AM +0200, Andreas Pakulat wrote: On 20.Jun 2005 - 23:45:34, John Poltorak wrote: Does a ZPT tutorial exist anywhere? How about the 2 chapters in the Zope book? I just don't find this boo

Re: [Zope] ZPT tutorial

2005-06-21 Thread David H
John, If you spent more time just *learning* Zope and HTML, etc and less time rationalizing your lack of progress everyone would be happy. David John Poltorak wrote: On Tue, Jun 21, 2005 at 03:15:33PM -0400, Paul Winkler wrote: On Tue, Jun 21, 2005 at 07:29:20PM +0100, John P

Re: [Zope] Batch folder creation

2005-06-22 Thread David H
John Poltorak wrote: Is there any way to create folders in batch? I need to create around 50 but don't fancy doing this manually. John, Put this in a python script and test. for n in range(10): container.manage_addFolder(id= str(n)) David

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

2005-06-23 Thread David H
Jim, It can be done, eg loop thru source.acl_users for each user object stuff REQUEST with name,password,confirm (password again) and roles, eg REQUEST.set('name',username), etc context.Destination.acl_users.manage_users('Add',REQUEST,RESPONSE) David In DTML: (via goog

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

2005-06-23 Thread David H
Jim, David H didn't think thru his answer.   I do not think you can acquire *passwords* the way I indicated. If so my suggestion will not work.  The approach will work otherwise. Maybe someone  that knows about this will pitch in.  I'm reviewing User.py now... David .  Dav

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

2005-06-23 Thread David H
user = users[k]   print k,user['password'],user['name'],user['roles']  # to test   Hope this helps you reach the "tipping point"  if you've not already gotten there. David Jim, David H didn't think thru his answer.   I do not think you can

Re: [Zope] Batch folder creation

2005-06-23 Thread David H
om an external File where each line contains the name and title, separated by a comma. Guess I need to find out how to get python to read lines from a Zope File object On Wed, Jun 22, 2005 at 10:49:07AM -0700, David H wrote: John Poltorak wrote: Is there any way to c

Re: [Zope] TAL and Javascript

2005-06-29 Thread David H
Rob, As others have pointed out the approach you indicate will not work. To summarize - Write python script to dynamically create JAVASCRIPT code (you can format javascript arrays of data from your db this way). Then, using TAL load it in, eg javascript here Which is then callable from the

[Zope] numeric formatting

2005-07-16 Thread David H
Hi List, I will have to format numbers based on country and currency types. I understand the locale module can do this. I've done some googling on this but cant seem to get anything definitive. I've read that the local module is not thread-safe but I do not know how this would impact my Zop

[Zope] Forcing Zope transaction commit

2005-07-18 Thread David H
Hi list, At times (it seems) necessary to force a Zope transaction commit. This might occur between two zSQL calls where the second depends on the first's *SQL* transaction's availability but the first has not yet been commited because the *Zope* transaction that includes both zSQL calls ha

Re: [Zope] Forcing Zope transaction commit

2005-07-19 Thread David H
Bakhtiar A Hamid wrote: On 7/19/05, David H <[EMAIL PROTECTED]> wrote: Hi list, At times (it seems) necessary to force a Zope transaction commit. This might occur between two zSQL calls where the second depends on the first's *SQL* transaction's availability b

Re: [Zope] strange getPhysicalRoot behaviour

2005-07-28 Thread David H
Robert-Reinder Nederhoed wrote: Solved. Thanks for the reactions. It works! My current code looks like this now: #force function in '/root/functions' far = context.restrictedTraverse('/').functions.far x = foo() print far(value=x) Of course, it is stupid to make "getPhysicalRoot" private w

[Zope] Pluggable Brains

2005-08-06 Thread David H
Hi Zope, I've been using "pluggable brains" in some zSQL classes. I have some questions! a) It seems if I initialize a variable in the __init__ method that variable, say self.callCount = 1 is not retained across calls, eg #python mod res = context.sql.brainySQL() for rec in res: rec.get

Re: [Zope] Using Structured Text and HTML-quote together for RSS 2.0

2005-09-09 Thread David H
Does this affect Chris's chances in the annual "Zope Cogeniality Awards"?  BTW DTML does not suck.  I too have written lots of code w/it.  I do find ZPT to be preferable - but it does take effort (brain re-wiring) and if your up to your elbows in alligators its just not the time to convert.

Re: [Zope] SQL query in ZSQLMethod

2005-09-24 Thread David H
How do you want to change this notation? What is it you want to do?  Please spend as much time writing a question as someone may in answering it! You do not want logic in your zsql methods. I tend to use python scripts for branching logic, eg # python script request = context.REQUEST if reque

Re: [Zope] Presentations Available

2005-10-03 Thread David H
Chris Withers wrote: Hi All, I finally got around to putting all my presentations online from the conferences over the last few years. The can now all be found at: http://www.simplistix.co.uk/presentations Have fun and let me know what you think! cheers, Chris Chris, I notice your pre

Re: [Zope] Presentations Available

2005-10-03 Thread David H
google and download new apps just to be able to read them? All best, David Bill Campbell wrote: On Mon, Oct 03, 2005, David H wrote: Chris Withers wrote: Hi All, I finally got around to putting all my presentations online from the conferences over the last few years

Re: [Zope] selected in select lists

2005-10-14 Thread David H
Garry Saddington wrote: Tino Wildenhain wrote: Am Freitag, den 14.10.2005, 20:03 +0100 schrieb Garry Saddington: Chris Withers wrote: Garry Saddington wrote: DTML: expr="groupabbrev==_.str(thisgroupabbrev)"> selected > And just for comparison, here's the ZPT:

[Zope] Linux/unix preferences question

2005-10-22 Thread David H
Hi List, I want to soon move from Windox XP to Linux or Unix (intel/amd) for my Zope projects. Just wondering if users experienced with these can recommend versions (freeBSD?, SuSe?, Red Hat? etc) that plays well with Zope and those to avoid. Thanks, David __

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread David H
Gary wrote: On 10/27/05, Chris Withers <[EMAIL PROTECTED]> wrote: Gary wrote: > How do I stop acquisition at the root of my website? > If I have two websites in zope, and I set the virtual host mapping to > www.sitea.com/websites/SiteA > www.siteb

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread David H
Thomas Wolf wrote: Hi, I'm trying to build Zope-2.7.4-0 from source (I can't use a different version because of the releas of Plone we're using.) I ran ./configure --with-python=/usr/local/zope/python/bin/python --prefix=/usr/local/zope" and that reported no issues. BTW, I'm using pyt

Re: [Zope] Zope 2.8.4 compilation error

2005-11-15 Thread David H
Gusti Gonzalez wrote: Hi, I am having the following error when compiling Zope: --- "/usr/bin/python" "/infra/portal/Zope-2.8.4-final/setup.py" \ build --build-base="/infra/portal/Zope-2.8.4-final/build-base/python-2.3" --bui

Re: [Zope] Install Zope

2005-12-07 Thread David H
Harry Forster wrote: I would like to install Zope 2.8.4 on a Suse 9.0 system. Has anyone done this and how did you do it? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Relat

Re: [Zope] ZSQL batching with dtml-in

2005-12-08 Thread David H
Ed Colmar wrote: Do ZSQL methods communicate with the dtml-in call and understand the "size" attribute? for example, in this dtml-in statement: Will the database be queried for all results, and only have 20 displayed, or will the database just return the 20 that are needed? Thanks for th

Re: [Zope] Simple User Folder Setup

2005-12-09 Thread David H
Infor Gates wrote:  Dear zopist I am having problems in setting up Simple User Folder. Error Message: Error Type: UnconfiguredException Error Value: Addition of users has not been configured I have googled around for an answer. However, there is very little info on it. My Config

Re: [Zope] Re: live dtml updating?

2005-12-11 Thread David H
Jonathan wrote: This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right direction. Jonathan

Re: [Zope] Re: live dtml updating?

2005-12-11 Thread David H
David H wrote: Jonathan wrote: This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in

Re: [Zope] Simple User Folder Setup

2005-12-12 Thread David H
Infor Gates wrote: Chris Thanks for your email. There is another person I wish to thank. However, I lost his email contact by accident - his advice points me to where to check for the errors. Let me Simple User Folder works. As I googled for some time on this, I noticed there are ot

Re: [Zope] List within a list - how to use in a page template

2005-12-13 Thread David H
Paul Winkler wrote: On Wed, Dec 14, 2005 at 06:06:21PM +1300, Cameron Beattie wrote: I am trying to get my head around representing a list in a page template. Assume the following list: m [[61282125371L, 1, 6,

Re: [Zope] List within a list - how to use in a page template

2005-12-14 Thread David H
David H wrote: Paul Winkler wrote: On Wed, Dec 14, 2005 at 06:06:21PM +1300, Cameron Beattie wrote: I am trying to get my head around representing a list in a page template. Assume the following list: m

Re: [Zope] sessions in the presence of conflicts

2005-12-14 Thread David H
Dennis Allison wrote: Zope 2.8.4, ZODB 3.4.2 I am still trying to resolve a "session variables in the presence of conflicts" problem. The observed symptom is that suddenly either some session variables disappear or all session variables disappear. In both cases, Zope has raised a KeyError exc

Re: [Zope] Unauthorized exception when trying to access a list item

2005-12-14 Thread David H
Cameron Beattie wrote: I am trying to access a value in a list. The script getDIDS_list is passed a list called listoflists: list = listoflists ret = [] tup = (0,1,2) factortup = (1,2) factor = 2 for i in range(len(list)): # 1 == 1 if i in tup: if i in factortup: x = list[i] * facto

[Zope] zyncer 0.7.0?

2005-12-17 Thread David H
Hi List, I downloaded zsyncer-0.7.0 and am having problems. Its not working for me and it no longer displays prompts for destination password and user name when clicking its tab. Anyone else seeing this? More importantly, as a fall-back is there a version (0.6.1?) others recommend? A

Re: [Zope] zyncer 0.7.0?

2005-12-17 Thread David H
Alan Milligan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David H wrote: Hi List, I downloaded zsyncer-0.7.0 and am having problems. Its not working for me and it no longer displays prompts for destination password and user name when clicking its tab. Anyone else

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Dennis Allison wrote: Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in acce

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Doing session variable initialization in a Script(Python) object has a downside because one cannot set a _p_changed attribute and so must rely on the assignment paradigm. Perhaps the interface should be in a Product or External Method which is less constrained. Anyhow, David, thanks for the assist.

Re: [Zope] Change ZSQLMethod connection id

2005-12-23 Thread David H
Andreas Jung wrote: --On 23. Dezember 2005 13:33:08 +0100 Fabio <[EMAIL PROTECTED]> wrote: Hi! in my zope application I call ZSQLMethods from python script. Is it possible to set "connection id" property of a ZSQLMethod before call it? How? ZSQLMethod.propertyItems() return only ('titl

[Zope] Javascript obfuscator and Zope

2005-12-29 Thread David H
Hi list, I am wondering if anyone is obfuscating JavaScript using a python script or product. I did some googling but nothing cropped up. Seems like a nice idea unless the realities of javascript obfuscation make the exercise pointless. Any thoughts? David _

Re: [Zope] Javascript obfuscator and Zope

2005-12-29 Thread David H
Jens Vagelpohl wrote: On 29 Dec 2005, at 23:45, David H wrote: Hi list, I am wondering if anyone is obfuscating JavaScript using a python script or product. I did some googling but nothing cropped up. Seems like a nice idea unless the realities of javascript obfuscation make the

Re: [Zope] Help with Zope Python result object please!

2005-12-30 Thread David H
Alric Aneron wrote: hello, I have a python code that recieves two result objects from two different ZSQL methods.  I need to join them (sort of like UNION). I can't do result1+result2, otherwise it raises an exception that the + operator isn't supported. When I try to do this (read below, I exp

Re: [Zope] Java vs Zope

2006-01-03 Thread David H
Asad Habib wrote: From my experience, Java development has been a lot faster when applications have middle to high level complexity. Since Java is inherently object-oriented, reusability is much easier to achieve then when using Zope. Also, Java has mature development and debugging environm

Re: [Zope] Javascript obfuscator and Zope

2006-01-04 Thread David H
Jean-Marc Orliaguet wrote: Peter Bengtsson wrote: It's not a Zope product but at least it's python. http://www.issuetrackerproduct.com/Download#slimmer It's basically a javascript whitespace optimiser Compare http://real.issuetrackerproduct.com/tw-sack.js with the original: http://www.issuetr

Re: [Zope] Change object/role permissions w/ python?

2006-01-05 Thread David H
John Toews wrote: Hi all, I have a need to restrict anonymous access to an object until after a specific action occurs. For example, the View permission by default is restricted to owner and manager, but after a 'release' flag is checked, it is viewable to anyone. I can't seem to find a way

Re: [Zope] Cookie Crumbler

2006-01-06 Thread David H
Dieter Maurer wrote: Infor Gates wrote at 2006-1-4 20:14 -0800: I have a trying time using Cookie Crumbler 1.2 with Zope2.8.4 (windows version). I could NOT figure out how to log out a user. I have simplified to the orginal logged_out form to this: The "Cookie Crumber"

Re: [Zope] Zope 2.8.5 install

2006-01-06 Thread David H
Robert Conner wrote: Hi, I'm trying to install 2.8.5 on my windows machine. I do not have Visual C++ or .NET. Is there any way to compile are install Zope with any sort of free software available? Thanks, Rob Conner Robert, This is just an alternate solution ... I got Ubuntu

Re: [Zope] Leave the ivory tower now!

2006-01-08 Thread David H
Jonathan wrote: To pour fuel on the flames...   +1 DTML -1 ZPT   Why...   1) For 'quick and dirty' demos and rapid application prototyping DTML does the trick (yes, even including ZClasses), it is fast, easy, reasonably robust and it works!   2) For 'heavy lifting'

Re: [Zope] Help me!

2006-01-09 Thread David H
Bruno Grampa wrote: Hello, i'm building a site to sell images (this is the concept, the reality is different...). All the images are in a directory mapped through LocalFS product. For every image i have a record in a SQL table with all the basic informations: author, name of the file, cost. Wha

[Zope] CPU architecture and Zope

2006-01-09 Thread David H
Hi list, Im just wondering what the wisdom is about Zope performance and various CPU types. I'm running Zope on Linux (Ubuntu). I notice that Dell is selling a "dual-core" Pentium unit. But I have no idea if something like "dual core" is advantegous to Zope, python execution or one's favo

Re: [Zope] newbie dtml-in question objectValues

2006-01-10 Thread David H
Alric Aneron wrote:  Hello, I am trying to find how to get the relative path of an object.  If i do:    URLPATH0 does not give me the relative path of the objects interated, but rather the path of the object doing the iterating (my method). I want the path of every DTML Document the lo

Re: [Zope] How to do this trick..

2006-03-27 Thread David H
Jason C. Leach wrote: Hi, I'm wondering how I can do this little trick (sp_info is a globaly devide var, it's a dictionary obj): tal:attributes="onmouseover string:doTooltip(event, '${sp_info/${group}/common_name}')" onmouseout="hideTi

Re: [Zope] Re: Question about Zope and security

2006-03-29 Thread David H
Cyrille Bonnet wrote: Hi Terry, thanks for your comment. Stock Zope doesn't use cookie authentication, so you're actually talking about an alternate user folder product (which you don't specify and I don't know that many of them, so I can't really comment much -- except that SimpleUserFolde

Re: [Zope] single sign-on

2006-04-02 Thread David H
robert rottermann wrote: Fernando Martins wrote: Hi, I'm doing single sign-on using Apache+mod_ntlm+FastCGI. Since the last is deprecated, is there any alternative? TIA, Fernando Martins ___ Zope maillist - Zope@zope.org http://mail.zope.org/m

Re: [Zope] how to include a local html file

2006-04-07 Thread David H
Chris Purves wrote: Hello, How can I include an html file on my local filesystem into a DTML method? Chris, You have asked a two part question. a) how to access your local file system http://sourceforge.net/projects/localfs and b) how to access it in a DTML method Dont know cause I ha

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-13 Thread David H
Dieter Maurer wrote: manuel spuhler wrote at 2006-4-12 21:40 +0200: ... File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ? from persistent import TimeStamp File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ? from cPersistence import Persistent,

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread David H
Gaute Amundsen wrote: On Thursday 20 April 2006 15:46, Tino Wildenhain wrote: Gaute Amundsen schrieb: ... The order of the form elements that goes into mail headers is ofcourse irelevant. I'ts the rest of the form, you know name, adress, street, etc. that are the p

Re: [Zope] Process uploaded text file.

2006-04-26 Thread David H
Jason C. Leach wrote: Hi, Does anyone have an example (URL is fine) on how to processes a text file via a Python script that has been uploaded from a web form? Thanks, Jason. - Jason, Maybe this will help: http://www.zopelabs.com/cookbook/1006887320 David _

Re: [Zope] cooked body??

2006-05-10 Thread David H
lly generated JavaScript - maybe it will work fo you in this case. David H ___ 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/list

  1   2   >