Re: [Zope] dtml-in Tag problem

2000-05-22 Thread Jim Sanford
href="http://dtml-var rs_url"dtml-var rs_name/a/li /dtml-let /dtml-if ... Jim Sanford - Original Message - From: "Tom Scheidt" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 3:58 PM Subject: [Zope] dtml-in Tag problem dtml-if related_stor

Re: [Zope] how do I get field names from a query

2000-05-31 Thread Jim Sanford
You need an external method to get the dictionary object that has the field name to column number Here is the external method: - def doPySQL(self, zQry) : tvar1 = 'res=self.'+zQry exec tvar1 return res._schema.items()

Re: [Zope] Using sql to search in zope

2000-06-02 Thread Jim Sanford
dtml-sqlvar " '%' + _.string.strip(field1_value) + '%'" type=string - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 02, 2000 3:10 AM Subject: [Zope] Using sql to search in zope Hi All, I tried to build a search feature using sql in zope, this is

Re: [Zope] Zope/Apache/NT

2000-06-05 Thread Jim Sanford
The "quickest fix" might be installing Linux on your machine. - Original Message - From: Paul Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 05, 2000 7:15 AM Subject: [Zope] Zope/Apache/NT Has anyone managed/bothered to get Zope working with Apache on NT yet? If

Re: [Zope] detail record editing

2000-06-06 Thread Jim Sanford
dtml-if add do your adding thing dtml-elif modify do your modifying thing dtml-elif delete do your deleting thing dtml-else do your 'Whoa! something ain't right here' thing /dtml-if - Original Message - From: ethan mindlace fremen [EMAIL PROTECTED] To: Robert Del Huerto

Re: [Zope] escaping with dtml?

2000-06-07 Thread Jim Sanford
dtml-let hack="_.chr(34)+'app'+_.chr(34)+' ONCHANGE='+_.chr(39)+'location.href=cookie?app=+this.options[this.selectedIndex].value'+_.chr(39)" will do what you are trying to do - Original Message - From: Riku Voipio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000

Re: [Zope] redirecting from inside a frame

2000-06-09 Thread Jim Sanford
The onlyway I can think off, (which doesn't mean its the only way), is to launch a new window and send a HTML document whose content is JavaScript. It would either rewrite the original frame or the entire window depending on you original input and then close itself. - Original Message

Re: [Zope] Secure storage of credit card info

2000-06-09 Thread Jim Sanford
I use the int value of the datetime of the last transaction multiplied by a random number generated for each day as the key to encrypt the CC data in my RDBMS. Once the customer has identified themselves via a cookie or by entering a customer id I can retrieve the last transaction datetime and

Re: [Zope] Newbie: Listing filesystem objects?

2000-06-13 Thread Jim Sanford
/option /dtml-let /dtml-in /select Jim Sanford - Original Message - From: "Andy Gates" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 13, 2000 7:57 AM Subject: [Zope] Newbie: Listing filesystem objects? NewbieQ of the moment: So there's a folder on my server,

Re: [Zope] Today Date and Tomorow

2000-06-19 Thread Jim Sanford
dtml-var "ZopeTime()" dtml-var "Zopetime()+1" Jim Sanford - Original Message - From: Marcus Mendes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 19, 2000 11:03 AM Subject: [Zope] Today Date and Tomorow Hello, How can I obtain today and tomorow

Re: [Zope] SQL security at row level

2000-06-19 Thread Jim Sanford
We provide access tour database by outside distributors who are only allowed to see "their" records while our company users can see all records. Every data record has an org_id column. Every call to data is wrapped in a sql call to a user database that uses the authenticated_user's id to

Re: [Zope] scared

2000-06-20 Thread Jim Sanford
If I were running any remotely critical application on WIN98 I would be scared too. Because of legacy data issues we run Zope on NT and that just makes me nervous. Jim Sanford - Original Message - From: josh on [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 20, 2000 5:38

Re: [Zope] Re: LocalFS w/ annotation data

2000-06-20 Thread Jim Sanford
to determine that it might be a windows file and strip off the path. On the unlikely occassions it "guesses" wrong the user could change the name before uploading. Jim Sanford - Original Message - From: Dan L. Pierson [EMAIL PROTECTED] To: Jonothan Farr [EMAIL PROTECTED] Cc: Dan L. Pier

Re: [Zope] dtml-sendmail tag that worked in 2.1.6 appears broken in 2.1.7

2000-06-20 Thread Jim Sanford
The error is saying that Zope is seeing localHost (CAPITAL H) where your snippet of code reads localhost (small h). Does your actual code have a typo? Jim - Original Message - From: Shaw, Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 20, 2000 1:39 PM Subject: [Zope]

Re: [Zope] Newbie Question (dropdown menu)

2000-06-21 Thread Jim Sanford
/dtml-in /select dtml-let __________ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROT

[Zope] Re: Zope.org feedback

2000-07-28 Thread Jim Sanford
- From: Loren Stafford [EMAIL PROTECTED] To: Jim Sanford [EMAIL PROTECTED] Sent: Friday, July 28, 2000 5:14 PM Subject: Re: Zope.org feedback URL: http://www.zope.org/Members/lstaffor ZScheduler uses Client.py. Would it be correct to say that if my entire site is only accessible via SSL

[Zope] ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT

2000-08-02 Thread Jim Sanford
on? Thanks __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334

[Zope] 2.2 as a service and Zodbcda

2000-08-03 Thread Jim Sanford
Can you shed any insite? ***Result of testing Z SQL Method with Zope 2.2 running as a service: Z SQL Method at /scripts/Zope.pcgi / testing / test2 Error, sql.error: ('S0002', 173, "[Microsoft][ODBC

Re: [Zope] Zope Server as an NT service

2000-08-08 Thread Jim Sanford
If you picked running Zope as a service in the install got to Start-Settings-Services - Original Message - From: "Vincent" [EMAIL PROTECTED] To: "[Zope Org] (E-mail)" [EMAIL PROTECTED] Sent: Tuesday, August 08, 2000 3:25 AM Subject: [Zope] Zope Server as an NT service Does somebody know

Re: [Zope] Getting single values out of lists

2000-08-08 Thread Jim Sanford
sql_delimiter /dtml-if /dtml-in __________ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 3

Re: [Zope] Python + COM (from external method)

2000-08-11 Thread Jim Sanford
.) __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED] Web: http

Re: [Zope] need some basic help

2000-08-11 Thread Jim Sanford
As superuser add a user and give him the manager role. - Original Message - From: Dan Huston [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 11, 2000 11:09 AM Subject: [Zope] need some basic help Hello Folks, So I downloaded Zope and installed it on my sun box and on my

Re: [Zope] Microsoft SQL Server Access under Linux?

2000-08-24 Thread Jim Sanford
I have tested ODBCSocketServer for queries returning smal sets (20 rows) it seems fine. For larger sets (100+ rows it is slow, my geuss is that the XML encoding is taking the most time. Did not try its MS specific option for returned results but the documentation says that it should be faster.

[Zope] CRC-32 checksum

2000-08-30 Thread Jim Sanford
. __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Jim Sanford
if number_of_stars is 5 then dtml-var " '*' * number_of_stars " will give you * (Multiplication works on strings in python and thus Zope!) Jim Sanford - Original Message - From: "Alex Mendez" [EMAIL PROTECTED] To: "Lista Zope" [EMAIL PROTECTED] Se

Re: [Zope-dev] possible bug in dtml-in

2000-06-22 Thread Jim Sanford
Shouldn't that be "sequence-end" instead of "sequence-last"? - Original Message - From: Federico Di Gregorio [EMAIL PROTECTED] To: Zope Dev [EMAIL PROTECTED] Sent: Thursday, June 22, 2000 12:16 PM Subject: [Zope-dev] possible bug in dtml-in hi *, an external method returns a list of

Re: [Zope-dev] Cache-bug in handling of files

2000-08-11 Thread Jim Sanford
rrent page. __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED]