[Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Curtis Maloney
On Wed, 12 Jul 2000, Jonathan Desp wrote: well if you use that script ? -- meta http-equiv="refresh" content="0 ;URL=http://www.apple.com/enterprise/" It will fix your problem ? I think you've completely missed the point of my post. Firstly: I don't use those meta tags unless i

[Zope] Bizarre error with standard_html_header

2000-07-12 Thread Curtis Maloney
Ok... i dtml-commented out standard_html_header, and it worked fine.. What gets me is the header should work fine. If I understand Acquisition properly, the object should be rendered from within the namespace of the directory it's being called in. So, if i get "/internal/register", and

[Zope] Patch lets use Python expression syntax for attribute 'sort' in dtml-in .. tag. Discussion needed !

2000-07-12 Thread Adam Karpierz
Proposals for python expression syntax for sorting in dtml-in ... tag: Currently is: 0) sort=literal, sort="literal" Proposals: 1) sort=literalsort="expression" , # best, but compatibility problem !!! 2) order=literal order="expression",

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Martijn Pieters
On Wed, Jul 12, 2000 at 04:05:08PM +1000, Curtis Maloney wrote: On Wed, 12 Jul 2000, Jonathan Desp wrote: well if you use that script ? -- meta http-equiv="refresh" content="0 ;URL=http://www.apple.com/enterprise/" It will fix your problem ? I think you've completely missed the

[Zope] clarification neede: postgresDA, SQL method cache and connection pool

2000-07-12 Thread Bak @ kedai
hello again after the bad experience yesterday, i want to scale my site so that i don't face the same problems again. ZEO would do that. but not now. not when i don't know much about zope and zeo. but before that comes, i'd like to store data in a RDB (postgres) and split the frontend into

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Curtis Maloney
On Wed, 12 Jul 2000, Martijn Pieters wrote: You are seeing transactions at work. Your DTML Method _is_ being processed, only an exception caused the publishing process to stop, roll back the transaction, and return the error message to you. DTML is not a linear language like ASP, it is not

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Martijn Pieters
On Wed, Jul 12, 2000 at 05:00:45PM +1000, Curtis Maloney wrote: Fine... so my debuging techniques are less than perfect. I will change them in future. Thanks. That doesn't change my original problem, which everybody has so far decided to ignore. Well, I can't really see what is going

[Zope] Re: Unable to upload images from client to server

2000-07-12 Thread ³¯§D§Ó
Our company, Cyberwork Solution Inc, uses Zope heavily to provide technicle solutions for our clients. Insert/Query image with MySQL was also a BIG problem for us, but now we've found one solution to solve this problem. Here is the solution we found, and hope it will help!! Environment:

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Curtis Maloney
On Wed, 12 Jul 2000, Martijn Pieters wrote: On Wed, Jul 12, 2000 at 05:00:45PM +1000, Curtis Maloney wrote: Fine... so my debuging techniques are less than perfect. I will change them in future. Thanks. That doesn't change my original problem, which everybody has so far decided to

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Martijn Pieters
On Wed, Jul 12, 2000 at 05:14:57PM +1000, Curtis Maloney wrote: At your suggestion, i've wrapped any contentious parts of the internal/standard_html_header in a dtml-try, which has had no effect. Firstly: what would cause Zope to give me that type error? Too many arguments? I'm not

Re: [Zope] dtml-in and maps...

2000-07-12 Thread Marcel Preda
- Original Message - From: Curtis Maloney [EMAIL PROTECTED] I suppose that your var is a dictionary Well.. this is where things start to get fun. (o8 I have a dirty great array along the lines of : [ [ 'string', 0, { 'name':'value' } ], [ 'string', 0, { 'name':'value' }

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Curtis Maloney
Forgot to include: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: too many arguments; expected 2, got 3 Curtis. ___ Zope maillist - [EMAIL

Re: [Zope] Q: Zope meeting in Paris in August?

2000-07-12 Thread Joachim Schmitz
I would be interested to meet you in Paris. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 On Tue, 11 Jul 2000, Paul Everitt wrote: Hello everybody. I'm

Re: [Zope] Newbie:Credit-card question

2000-07-12 Thread Joachim Schmitz
Hi, from your emailadress I guess you are from Germany :-). Here the situation with online-authorisation of creditcard payments is difficult. The wampum product for example, will not do it here, cause you get no merchant account to use it. In his talk about ecommerce with Zope on the Linuxtag

[Zope] An oldnewbie writes (Was [Zope] DTML?)

2000-07-12 Thread Paul Browning
Date: Mon, 10 Jul 2000 17:49:25 -0400 From: Shane Hathaway [EMAIL PROTECTED] Organization: Digital Creations, Inc. To: Chris Withers [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [Zope] DTML? Chris Withers wrote: [snip] I also think having Python Methods ship with Zope would

[Zope] Beta -problem

2000-07-12 Thread brocken22
Hello, while starting Zope this morning I got this message.Yestersday I installed the newest beta. -Traceback (innermost last): File "C:\Programme\Zopista\z2.py", line 554, in ? exec "import "+MODULE in {} File "string", line 1, in ? File

[Zope] Long Data Type

2000-07-12 Thread Ronnie Sengupta
Hi, Can anybody who has succesfully managed to insert text data (greater than 2k or 4k) into Oracle 8i 8.1.6 with DCOracle version 1.3.1 please explain how it is to be done. I have seen several other posts in this mailing list. But nothing fruitful. The same goes for Stored Procedures. Can't

Re: [Zope] Q: Zope meeting in Paris in August?

2000-07-12 Thread Monty Taylor
I'm there, just let me know when and where. Monty Original Message On 7/11/00, 3:40:08 PM, Paul Everitt [EMAIL PROTECTED] wrote regarding [Zope] Q: Zope meeting in Paris in August?: Hello everybody. I'm chatting with someone in Paris about a possible Zope gathering during my vacation

[Zope] Re: Re: [Zope] Problem with _[xyz]

2000-07-12 Thread Jason Byron
In response to: dtml-with "_['top.German.ActualPages']" /dtml-with Martijn Pieters wrote: You want to split this name up at the dots, and ask the namespace for each part individually, like _['top']['German']['ActualPages']. Now, using a variable, this is going to be a bit more

[Zope] Re: LoadSite can create a corrupted data.fs ?

2000-07-12 Thread Steve Alexander
Jonathan, I'd be really really surprised if LoadSite can create a corrupted data.fs. I really do not think this is where the problem lies. LoadSite does not directly interact with the Zope persistence machinery. It really doesn't do that much different than manually uploading loads of files.

[Zope] R: [Zope] dtml-in and maps...

2000-07-12 Thread Marcel Preda
Because, as you seem to keep missing, i want to iterate over all the items in the map, but i won't know what their keys are! By using with, i can bring the map into the name space... SO WHAT? I still don't know what keys were in the map! Get the idea? Ya men... [the `name' is not

[Zope] Passing Variables; How?

2000-07-12 Thread Jonathan
Hi all, I've got the following situation; a ZGDChart object calls a Z SQL method which requires certain query parameters. Since I call the ZGDChart from within DTML and not the Z SQL method, how can I define the variable the SQL method needs? Thnx Jonathan

Re: [Zope] Howto store objects??

2000-07-12 Thread Holger Lehmann
Am Die, 11 Jul 2000 schrieben Sie: On Tue, 11 Jul 2000, Mario Premke wrote: Do I have to import these files as objects and store them within Zope or is it possible to store them on the local filesystem and make a Link via DTML to access these files ??? The latter. Take a look at the

Re: [Zope] Address already in use

2000-07-12 Thread Holger Lehmann
Well there might be a proxy server running on 8080 and maybe something else on 9080. Why not trying something bigger like 10080 or so ? Check your local /etc/services for explanations of what runs where. - Holger Am Die, 11 Jul 2000 schrieben Sie: While trying to install PoPy, I've screwed

Re: [Zope] Manager Screen Authenication

2000-07-12 Thread Holger Lehmann
Check the file called access with your favourite editor. There must be a mimimum of two and a maximum of three colon separated fields: 1. username of the manager 2. encrypted password of the manager 3. (optional) domains from where the manager is allowed to login from delete the last colon and

[Zope] Subfolder problem (acquisition?)

2000-07-12 Thread Oleg Broytmann
Hello! I've got a problem. Site: / index_html (DTML Document) logo.gif(Image) standard_html_footer sub (Folder, empty) Footer: pdtml-var logo.gif/p pa href="dtml-var URL0/view_source"View DTML Source/a/p /BODY/HTML I can see the root index_html, but I can't see

[Zope] Fetching data from external methods

2000-07-12 Thread Jarkko Veijalainen
Hi! I've been trying almost two weeks with this problem. I have read 'tons' on zope documentation and mailing lists. I have this dtml form, which submits two values to external method. External method searches LDAP directory with submitted values and returns an object(class) with 5-30 values.

Re: [Zope] Fetching data from external methods

2000-07-12 Thread Chris Withers
Jarkko Veijalainen wrote: in fact only problem here is how i return values from external method like obj.value1 , obj.value2 into zope and use them in dtml or/and in Zclass instances. in external method: return (obj1, obj2,) in DTML: dtml-in

Re: [Zope] GUF Authentication Problems

2000-07-12 Thread Mario Premke
Maybe, your password is encrypted? NO, it isn't. The problem is, that I cannot access "real_password", because Zope says: 2000-07-12T15:54:46 ERROR(200) GUF http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate raised an exception (('Unauthorized', 'You are not authorized

[Zope] R: [Zope] Fetching data from external methods

2000-07-12 Thread Marcel Preda
- Original Message - From: Jarkko Veijalainen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 12, 2000 2:37 PM Subject: [Zope] Fetching data from external methods I have this dtml form, which submits two values to external method. External method searches LDAP

Re: [Zope] Q: Zope meeting in Paris in August?

2000-07-12 Thread Richard Moon
At 09:40 11/07/00 -0400, you wrote: Hello everybody. I'm chatting with someone in Paris about a possible Zope gathering during my vacation to see my in-laws August 11th-25th. I'll be in Paris for a few days in the beginning and possibly at the end. Is anybody interested in hosting an event?

Re: [Zope] Passing Variables; How?

2000-07-12 Thread Hugo Ramos
- Original Message - From: "Jonathan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 12, 2000 12:45 PM Subject: [Zope] Passing Variables; How? Hi all, I've got the following situation; a ZGDChart object calls a Z SQL method which requires certain query parameters.

Re: [Zope] Subfolder problem (acquisition?)

2000-07-12 Thread Robert Wohlfahrt
Hi, I can see the root index_html, but I can't see sub folder - AttributeError. I think when I view "sub", it acquire index_html from root, but what is the problem with AttributeError? I had the same problem and I solved it by using a DTML-Method for index_html, not a DTML-Document.

Re: [Zope] LoadSite can create a corrupted data.fs ?

2000-07-12 Thread Tino Wildenhain
Hi Jonathan, Jonathan Desp wrote: Hi, Do you have any tools for analyse a data.fs ? (not tranalyser) I'm still getting that problem: http://lists.zope.org/pipermail/zope/2000-July/028950.html If I don't fint out why my data.fs is corrupted, I'll lost one week of work for my

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Martijn Pieters
On Wed, Jul 12, 2000 at 05:36:26PM +1000, Curtis Maloney wrote: The traceback was in my original message. I will give you a new one this time, since i have managed to move along a _tiny_ ammount, but still get the same error. Found it now. There were two copies of your message, and I found

Re: [Zope] Q: Zope meeting in Paris in August?

2000-07-12 Thread bruno . mattarollo
Hello ... Hello everybody. I'm chatting with someone in Paris about a possible Zope gathering during my vacation to see my in-laws August 11th-25th. I'll be in Paris for a few days in the beginning and possibly at the end. Is anybody interested in hosting an event? I would also be glad to

RE: [Zope] Beta -problem

2000-07-12 Thread Brian Lloyd
while starting Zope this morning I got this message.Yestersday I installed the newest beta. -Traceback (innermost last): snip import sys, ExtensionClass, TimeStamp, cPersistence, Persistence ImportError: No module named ExtensionClass Are you using a source or binary release? If you

RE: [Zope] Fetching data from external methods

2000-07-12 Thread Jarkko Veijalainen
sorry but your example did'nt work: in external method: return (obj1, obj2,) in DTML: dtml-in external_method(your,params) dtml-var value1 dtml-var value2 /dtml-in here is my submit forms code to explain my case form action="LDAPsearch" method=POST ENCTYPE="multipart/form-data"

Re: [Zope] Subfolder problem (acquisition?)

2000-07-12 Thread Oleg Broytmann
On Wed, 12 Jul 2000, Robert Wohlfahrt wrote: I can see the root index_html, but I can't see sub folder - AttributeError. I think when I view "sub", it acquire index_html from root, but what is the problem with AttributeError? I had the same problem and I solved it by using a

[Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Skip Montanaro
Does anyone have a patch for Zope (any version = 2.0) to enable it to run reliably under the latest versions of CVS in the SourceForge repository? The decision was made to tighten up both the multi-arg append and multi-arg connect items. I was hoping someone else had already gone through the

RE: [Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Brian Lloyd
Does anyone have a patch for Zope (any version = 2.0) to enable it to run reliably under the latest versions of CVS in the SourceForge repository? The decision was made to tighten up both the multi-arg append and multi-arg connect items. I was hoping someone else had already gone

Re: [Zope] Subfolder problem (acquisition?)

2000-07-12 Thread Oleg Broytmann
The strangest thing here is: If I dtml-var logo.gif in footer: http://phd.russ.ru/pcgi/TEST2/TEST2/index_html, I cannot view source: the same AttributeError: http://phd.russ.ru/pcgi/TEST2/TEST2/index_html/view_source But when I remove logo.gif from footer, all things are working as

[Zope] Re: howto_wrapper: probs with PUT and manage_main - IDs are already in use

2000-07-12 Thread T.J. Mannos
Marcus, REF: http://www.zope.org/Members/unfo/howto_wrapper I may have left out a step. If you try to add the methods to the Control Panel / Products / HTMLDocument folder, it will fail. You have to go one more level down, into the HTMLDocument ZClass (It will say "Z Class at /Control_Panel /

[Zope] MySQL LIKE operator

2000-07-12 Thread Aaron Williamson
Hello, I'm writing a search query to a MySQL database. I want to keep people from screwing around with my database by running searches like "; delete from ... yada yada. So I should use dtml-sqlvar, right? But what if I want to use LIKE? If I say: WHERE goo LIKE "%dtml-sqlvar name=bar

RE: [Zope] Fetching data from external methods

2000-07-12 Thread Jarkko Veijalainen
FINALY, your code sould look like: In externalMethod: return res #ENTIRE obj DTML code: dtml-let resDTML="LDAPsearch('66','*',REQUEST)" dtml-var "resDTML.cn" dtml-var "resDTML.otherAttributes" /dtml-let yeah, thanks a lot, it works, but i have still a liitle problem

Re: [Zope] Fetching data from external methods

2000-07-12 Thread Chris Withers
Jarkko Veijalainen wrote: My method outputs are: res = (contains search result using forms input values) sn = res.sn (one of the values in res-object) return sn ^ that should be 'return res' ...then the following will work:

[Zope] R: [Zope] Fetching data from external methods

2000-07-12 Thread Marcel Preda
how i can dtml-res with input values like this dtml-let resDTML="LDAPsearch(myinput,myinput2,REQUEST)" myinput is data that i can type like search criteria in my search-form should i make somekind on handler-DTML? which picks up submitted data from my submitted form and puts them in

[Zope] ZSQL-ERROR

2000-07-12 Thread Mario Premke
Hi, I have installed Openticket an the appropiate database .. when I now go into Openticket and select the "sqlGenTicketId" - ZSQL-method for testing the database-connection I get: Error, exceptions.KeyError: unhandled SQL used: select max(ticket_id)+1 as new_ticket_id from tickets In the

[Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Tina Goyne (TT) wrote: click on the folder I created--it opens the folder, but it is as if the folder is empty. If I view the file, it opens Adobe Reader--but the page is If the folder appears empty, how do you view the file? When viewing the file, the fact that it opens

[Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Tina Goyne (TT) wrote: we have actually narrowed the problem down a little more. If we use Netscape--there are no problems. The problem seems to be with IE--have you heard of a resolution? BTW - I can view the file on the network server. No, I hadn't heard about

Re: [Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Adam Karpierz
I would suggest trying 2.2 beta 4. I think that all of the multi-arg append()'s are out of that Not quite. I currently found 3 events. I will send apropriate patches to Collector today. I promise that will check all of Zope sources for append() incompatibility (without non-standard Products of

[Zope] I want to assign the values of parameters in a form to another parameter in the same form?

2000-07-12 Thread Sean G Richards
Dear Zope list, I want to cat the values of parameters, all strings, in a form to another parameter in the same form. How would I go about doing this using dtml? -- Sean G. Richards : Web Technician/Treasurer PLUG Purdue University : Engineering Computing Network [EMAIL PROTECTED] :

RE: [Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread Mabe, Brad
Check IE's security settings for the zone you are downloading the PDF from. The following is taken from Adobe's support site: -- If you're using Internet Explorer 5.0, make sure that its security options recognize the Acrobat Control: Note: This procedure changes Internet Explorer's security

[Zope] SQL returning zero rows hangs ... but not with Gadfly !

2000-07-12 Thread Nigel Head
(CVS version 11/July, Linux, Postgres 7) In summary, I have tried this with both the PoPy and ZPyGres flavours of PostGres adapter and with GadFly; these are the only d'bases I have available easily. Any SELECT query which returns no rows (a where something impossible... condition) seems to

RE: [Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Brian Lloyd
I would suggest trying 2.2 beta 4. I think that all of the multi-arg append()'s are out of that Not quite. I currently found 3 events. I will send apropriate patches to Collector today. I promise that will check all of Zope sources for append() incompatibility (without non-standard

[Zope] .dtml files

2000-07-12 Thread Daniel Rusch
I've been digging into to the inner workings of Zope trying to gleen as much Zen as possible, before I implement a write of our existing framework. During this process I have noticed that Zope's dtml pages are stored on the file system as .dtml files (i.e. roleEdit.dtml) The question then is how

RE: [Zope] MySQL LIKE operator

2000-07-12 Thread Ron Bickers
You should be able to use something like this (untested): dtml-var bar sql_quote That way you get the SQL quoting without the surrounding quotes. ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[Zope] Aligning Images With Text

2000-07-12 Thread Terry Babbey
Here is my code: dtml-if "_[ProgCode + 'PIC']" dtml-var "_[ProgCode + 'PIC']" /dtml-if What I would like to do is align the picture to the right of my web page. If I was programming html I would do it like this: img src=T043PIC align=right Any help? Terry --

Re: [Zope] .dtml files

2000-07-12 Thread Jonothan Farr
I have found function calls such as: manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates an HTML document template from the named file. But, what is the mechanism that calls/displays mange_roleForm? The class heirarchy looks something like this: Globals.HTMLFile

[Zope] How to uninstall a product such as PTK or KnowledgeKit

2000-07-12 Thread Meeting Maker Webmaster
Hello, I'm getting somewhat crazy with this one. I've upgraded my test server to 2.2.0b4 (from 2.2.0b3), i.e. transferred all the products I installed previously and the /var directory. Everything works fine with 2.2.0b4 until there. At that point, I realize that I have installed many

Re: [Zope] Zope patches or update for Python 2.0?

2000-07-12 Thread Adam Karpierz
Great - if you hunt 'em down, I'll make sure the fixes get in for 2.2 final. thanks! I have done. Both list.append() and socket.connect(). All things in Collector. Regards -- Adam Karpierz [EMAIL PROTECTED] ___ Zope maillist - [EMAIL

Re: [Zope] .dtml files

2000-07-12 Thread Patrick Lewis
The object has a method named manage_roleForm. In your example, an object which is (or inherets from) Role will have a manage_roleForm, and can be accessed just like any other method, assuming adequate permissions. Using an example I am more familiar with, if you have a DTML Document index_html

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Gregory Haley
Terry Babbey wrote: Here is my code: dtml-if "_[ProgCode + 'PIC']" dtml-var "_[ProgCode + 'PIC']" /dtml-if You might create a dtml variable with a dtml call, e.g., dtml-call "REQUEST.set('image1', _[ProgCode + 'PIC']" Then use your image html tag as img src="dtml-var

Re: [Zope] How to uninstall a product such as PTK or KnowledgeKit

2000-07-12 Thread R. David Murray
I'm not saying this will fix it, but did you try restarting Zope? --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Terry Babbey
I get an error message when I try your code. Expression (Python) Syntax error: unexpected EOF while parsing , for tag dtml-call "REQUEST.set('image1', _[ProgCode + 'PIC']", on line 32 of display_html Gregory Haley wrote: Terry Babbey wrote: Here is my code: dtml-if "_[ProgCode +

Re: [Zope] .dtml files

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Daniel Rusch wrote: I have found function calls such as: manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates an HTML document template from the named file. But, what is the mechanism that calls/displays mange_roleForm? Actually, it creates a

Re: [Zope] How to uninstall a product such as PTK or KnowledgeKit

2000-07-12 Thread Meeting Maker Webmaster
Hello, At 19:49 12.07.2000 +, R. David Murray wrote: I'm not saying this will fix it, but did you try restarting Zope? Yes I did. Sorry I forgot to mention it ;-) Best regards, Gérard Métrailler Jr. Meeting Maker Inc. ... the intelligent choice for collaborative scheduling Email: [EMAIL

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Terry Babbey wrote: Here is my code: dtml-if "_[ProgCode + 'PIC']" dtml-var "_[ProgCode + 'PIC']" /dtml-if What I would like to do is align the picture to the right of my web page. If I was programming html I would do it like this: img src=T043PIC align=right

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Terry Babbey
This worked. Now if only I could get my dtml-if statement working. Thanks, Terry "R. David Murray" wrote: On Wed, 12 Jul 2000, Terry Babbey wrote: Here is my code: dtml-if "_[ProgCode + 'PIC']" dtml-var "_[ProgCode + 'PIC']" /dtml-if What I would like to do is align the picture to

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Peter Be
I posted a similar question, but unfortunatly no response on that one. I haven't done it yet, but I guess you could simply change the Image product so that it can handle another parameter. If you use .tag you can only control ALT, HEIGHT, WIDTH and BORDER Look for these things in the Image module

[Zope] Squid and SSL

2000-07-12 Thread Ragnar Beer
Howdy! Has anybody already successfully tried squid-2.4-DEVEL2 with the SSL patch from squid.sourceforge.net to make Squid an SSL-frontend for Zope? browser --https- squid --http- zserver internet localhost --Ragnar

re: [Zope] .dtml files

2000-07-12 Thread Steve Alexander
Daniel wrote: During this process I have noticed that Zope's dtml pages are stored on the file system as .dtml files (i.e. roleEdit.dtml) The question then is how does Zope display this pages?? The pages are usually accessed as attributes Python objects. They are wrapped in a HTMLFile

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Loren Stafford
Image objects have a tag method for setting all the HTML tags: Try something like (untested): dtml-var "yourimageID.tag(align='right')" ... or tested (from one of my sites): dtml-var "ClearDot.tag(width='25')" -- HTH -- Loren - Original Message - From: "Terry Babbey" [EMAIL

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Terry Babbey wrote: Now if only I could get my dtml-if statement working. dtml-if "_[ProgCode + 'PIC']" I believe this should work (mostly tested): dtml-if "_.has_key(ProgCode + 'PIC')" Note that this will be true if the id exists anywhere in the acquisition path.

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Peter Be wrote: If you use .tag you can only control ALT, HEIGHT, WIDTH and BORDER Look for these things in the Image module and see if you can add ALIGN. As far as I can see from the source, tag should handle arbitrary arguments. The comments certainly say that it does.

Re: [Zope] Aligning Images With Text

2000-07-12 Thread Terry Babbey
Thanks again. Works! "R. David Murray" wrote: On Wed, 12 Jul 2000, Terry Babbey wrote: Now if only I could get my dtml-if statement working. dtml-if "_[ProgCode + 'PIC']" I believe this should work (mostly tested): dtml-if "_.has_key(ProgCode + 'PIC')" Note that this will be true

[Zope] Re: SQL returning zero rows hangs ... but not with Gadfly !

2000-07-12 Thread Nigel Head
OK -- I updated to the latest CVS version, ran Zope in DEBUG mode and ... 1) ZPyGres now works as expected. 2) PopY produces an error message : PQgetlength: ERROR! tuple number 0 is out of range 0..-1 If I don't run in debug mode then Zope just silently restarts with PoPy So -

[Zope] Washington DC area company looking for help with zope online database...

2000-07-12 Thread Geoff Williams
My company, E.J. Krause Associates, Inc., is looking for a company with expertise in Zope, Python and PostreSQL to help us maintain an Online Database Project. We currently have our site, The Sports Business Directory Online, up and running at http://directory.sportsummit.com. This site is

[Zope] cant see ZmySQLDA-2.0.0

2000-07-12 Thread Mario Premke
Hi, I upgraded from ZMySQL-1.1.3-nonbin.tar.gz (worked) to ZMySQLDA-2.0.0a1.tar.gz with MySQLdb-0.2.1.tar.gz. There is no ZMySQLDA.patch any more, right? But after I installed MySQLdb-0.2.1, expanded ZMySQLDA-2.0.0 and restartet Zope all my Database-Connection are broken and in the Available

RE: [Zope] Squid and SSL

2000-07-12 Thread Baker, Dennis [sjmr]
No, But I do have Apache with ProxyPass and SSL running just great, I'm actually running RedHat's SecureSite Server but I've heard it runs very well in conjunction with the Open SSL Modules. Sorry a bit off topic. -Original Message- From: Ragnar Beer [mailto:[EMAIL PROTECTED]] Sent:

[Zope] Zope + DocBook HTML

2000-07-12 Thread Timothy Wilson
Hi everyone, I've been doing some work with DocBook lately, and I'd like to convert my work to HTML using the DSSSL stylesheet and put it online. Has anyone done that? I'd be interested to hear about any strategies or pitfalls. -Tim -- Tim Wilson | Visit Sibley online: | Check

[Zope] how to check if the ResultSet is null?

2000-07-12 Thread Sa
Hi, I stuck on a problem: I am creating a registration form. I need to check if the person info has already in database. I created a Z SQL method which I used select usr_email from info(table name) where usr_email = dtml-sqlvar usr_email type=string I want to call this method from my dtml

[Zope] catalog.getpath --search results as links

2000-07-12 Thread sean
I am trying to follow along with the zcatalog tutorial, but when I get to the instructions where you can make your zope object results links to the actual object the following instructions are used: In the source of report, find the following line:: tr!--#var title--/tr Replace it

RE: [Zope] LoadSite can create a corrupted data.fs ?

2000-07-12 Thread Jonathan Desp
Hi, How I can make a regular backup ? How I can restore it ? I cannot log in. it's 100% corrupted. Hi Jonathan, Jonathan Desp wrote: Hi, Do you have any tools for analyse a data.fs ? (not tranalyser) I'm still getting that problem:

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread Chris Withers
[EMAIL PROTECTED] wrote: Replace it with this: tr a href="!--#var "catalog.getpath(data_record_id_)"--" !--#var title-- /a /tr What is the id of your catalog object? replace 'catalog' with that id. I'm guessing you should

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread sean
On 12 Jul 2000, at 23:35, Chris Withers wrote: [EMAIL PROTECTED] wrote: Replace it with this: tr a href="!--#var "catalog.getpath(data_record_id_)"--" !--#var title-- /a /tr What is the id of your catalog object?

[Zope] Zope Resources ;-)

2000-07-12 Thread Chris Withers
Jonathan Desp wrote: How I can make a regular backup ? make a copy of data.fs _before_ it gets corrupted. How I can restore it ? copy your backed up data.fs over your corrupted data.fs it's 100% corrupted. I doubt that very much. Do you have any tools for analyse a data.fs ? (not

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread Chris Withers
[EMAIL PROTECTED] wrote: my catalog ID is full_site, but I already tried this and got another error. What was this error? (please include the full traceback..) When I leave out the link syntax changes, I get the search results (w/o them as active links)...so the catalog term must be

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread sean
Here is the traceback after changing the DTML VAR syntax and changing the catalog.getpath to full_site.getpath (my catalog ID) Error: Error Type: KeyError Error Value: PrincipiaSearchSource Traceback (innermost last): File

Re: [Zope] Re: Document Title

2000-07-12 Thread ethan mindlace fremen
Terry Babbey wrote: Here is my next problem ... I have a variable called ProgCode. That is where I store the College Program I want to look up information on (eg. T043). Now all the dtml documents associated with program T043 have T043 as the base of their name and then the names have extra

Re: [Zope] hard dtml syntax problem

2000-07-12 Thread ethan mindlace fremen
Jerome Alet wrote: Hi want to call ZopeFind to find all folders in the current folder which doesn't have got any subfolder. the following query works but returns all folders, even those which have got subfolders: dtml-let myresult="ZopeFind(this(), obj_metatypes=['Folder'],

Re: [Zope] Current Year

2000-07-12 Thread ethan mindlace fremen
Aaron Williamson wrote: I hate to sound like such a newbie, but I am having the darndest time trying to figure out how to get the current year. I know that the current time is ZopeTime, but I have tried every way I can think of to get the year() function to work with it, and at last have

[Zope] 2.2b4 and ZEO not happy together

2000-07-12 Thread Bill Anderson
When running Zeo 0.2.1 and 2.2.0b4, Several products don't show up. Including PythonMethods, which makes Membership/LoginManager unhappy as well. Bill -- "Linux: the operating system with a CLUE... Command Line User Environment". seen in a posting on comp.software.testing

Re: [Zope] simple instructions for site search

2000-07-12 Thread ethan mindlace fremen
Sean Kelley wrote: I am a new Zope user- Can anyone tell me if there is documented anywhere, simple instructions for creating a full site search by keyword? I have a simple site with squishdot and zope chat. Thanks You want the ZCatalog Howto:

Re: [Zope] GUF Problem

2000-07-12 Thread Richard Moon
I don't think GUF works in its current release, or maybe the set-up instructions are incomplete. I used it before and it was ok but I tried the latest release and had the same problem as you. I reported it to GUF's author but didn't get a reply. I've reverted back to standard ACL folders for

Re: [Zope] RE: Bizarre error with standard_html_header

2000-07-12 Thread Curtis Maloney
On Wed, 12 Jul 2000, Martijn Pieters wrote: register will look in internal for objects, but only if it can't find them first in the mysite (root) object. Read Jim's acquisition algebra texts: http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/ So we have: mysite/

Re: [Zope] R: [Zope] dtml-in and maps...

2000-07-12 Thread Curtis Maloney
On Wed, 12 Jul 2000, Marcel Preda wrote: So, you have to do something like this: HTML BODY dtml-call "REQUEST.set('superList',[['string1',0,{'name1':'value1'}],['string2',1,{'n ame2' :'value2'}]])" dtml-in superList dtml-let temp_sequence_item="_['sequence-item']" dtml-in

[Zope] LocalFS Documentation

2000-07-12 Thread Kelvin Cheong
Hi, Anybody know where I can find out more about LocalFS, I've already read jfarr's How-to's and Product Information. But I still need more on how it works. Might aswell post up my problem since I'm already at it. Well, I have this dtml method that tries to add images: !--#var

Re: [Zope] Customising the calling of the _add method for a product

2000-07-12 Thread icottee
Due to lack of response (wise people) I removed everything and started again. Of course the way that I previously thought it should work but didn't now works fine. Just used dtml-var TimeSheet_Add and all was fine. Hey ho --- Original Message I have a TimeSheet product which is currently

[Zope] Acquisition problems?

2000-07-12 Thread Curtis Maloney
Ok... I'm going try this again. I am having an odd problem with my Zope site. It seems that Acquisition is not working as excpected. (Gee. Where have we heard this before? :) At the suggestion of Martijn Pieters, I read through the Acquisition Algebra tutorial. Interesting stuff. Well,

  1   2   >