Re: [Zope] dtml question from a newbizzzzz I want to access a dtmlpage under a subfolder subfolder

2000-07-27 Thread Marcel Preda
On Thu, 27 Jul 2000 [EMAIL PROTECTED] wrote: I want to access a dtml page under a subfolder - portal (folder) - index1 (dtml) - reunion (folder) - index2 (dtml) I want to acces the index2 variable in the index1 dtml page. How can I do it ? thks for your answer

Re: [Zope] Date format question urgent!!!

2000-07-27 Thread Marcel Preda
On Thu, 27 Jul 2000, Marko MARKOVIC wrote: hi all, i have a few questions about date formating: I'll skip this, were a lot of threads about DateTime format (fmt) Other time.. Finally, i want formatting a date as 2000/01/01 and then put in my table with a sql method. Any

Re: [Zope] Problems with JavaScript in WinNT + Netscape! Urgent!

2000-07-27 Thread Marcel Preda
I am using JavaScript's in zope and until now I havent experienced any problem. Today something strange happened though.. when editing a JavaScript it suddenly stopped working in WindowsNT with Netscape. It worked however in IE on the same computer and on Netscape running on Linux (RedHat

[Zope] R: [Zope] What's wrong with this snippet?

2000-07-27 Thread Marcel Preda
___ "Will I be using Python today?" and if the answer is "yes" I know that it's going to be a good day. - Original Message - From: Marko MARKOVIC [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 27, 2000 5:12 PM Subject: [Zope] What's wrong

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' }

[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] 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

[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] R: [Zope] dtml-in and maps...

2000-07-11 Thread Marcel Preda
Greetings, This seems like it should be a simple thing but I can't seem to find how to make dtml-in behave with maps. In particular, empty maps. I've tried mapping, i've tried testing _.len(map.keys()), and various other things. But it always fails, telling me Error Type:

[Zope] R: [Zope] Substract Date

2000-07-06 Thread Marcel Preda
- Original Message - From: F.Richter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 7:58 AM Subject: [Zope] Substract Date Hi, I'm a newbi in Zope had a problem. I want substract a date from an other and set the result of this to "DAYOFYEAR". For

[Zope] R: [Zope] Newbie: Date checking?

2000-07-06 Thread Marcel Preda
- Original Message - From: Andy Gates [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 4:06 PM Subject: [Zope] Newbie: Date checking? A quicky for you Zopistas: I have some dates in a database, which govern when a story becomes live and when it expires. I need

Re:[Zope] Newbie: Date checking?

2000-07-06 Thread Marcel Preda
dtml-if "_.DateTime(startdate).isPast() and _.DateTime(expirydate).isFuture()" ... ... /dtml-if This gives: Error Type: TypeError Error Value: __div__ nor __rdiv__ defined for these operands Is better to put some mor lines from Traceback Exception To see the modul and the line The

Re: [Zope] FOR loops?

2000-06-30 Thread Marcel Preda
select dtml-in sequence option value="whatever" for loop=0 to entry-indent-value nbsp; /for entry-string-value /dtml-in /select instead of `for' use : dtml-in "_.range(0,_['entry-indent-value'])" ... /dtml-in PM ___

[Zope] R: [Zope] range with variables

2000-06-27 Thread Marcel Preda
- Original Message - From: Armin Wappenschmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 27, 2000 10:50 AM Subject: [Zope] range with variables Hi all, I've a problem using the following dtml construct: dtml-let start=Variable_from_Formular # -- that's the

Re: [Zope] mod_rewrite rule to close managment screens from outsiders

2000-06-27 Thread Marcel Preda
- Original Message - From: Riku Voipio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 27, 2000 4:05 PM Subject: [Zope] mod_rewrite rule to close managment screens from outsiders I'm trying to deny external access to zope maintainance from elsewhere (just for sure), with

[Zope] R: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Marcel Preda
- Original Message - From: Nestor A. Diaz L. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 26, 2000 7:47 PM Subject: [Zope] How-to Bypass DTML Code? Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags"

[Zope] R: [Zope] Invalid Header (0) error

2000-06-23 Thread Marcel Preda
Does anyone know what an Error Type: Value Error, Error Value:Invalid Header (0) error represents ? It's interesting in the way it shows itself up. I added a dtml-var a_dtml_method to a dtml method and it generates this error. This dtml-var a_dtml_method is nested inside a dtml-if and

[Zope] R: [Zope] DTML-IN Question

2000-06-21 Thread Marcel Preda
- Original Message - From: Tom Scheidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 21, 2000 6:35 PM Subject: [Zope] DTML-IN Question Hi my problem is that Im setting my batch size to 3, yet I keep getting 5 items. As a matter of fact, sometimes I get 4 when asking

[Zope] R: [Zope] manage_delObjects

2000-06-16 Thread Marcel Preda
Hi all :^) I have a problem with manage_delObjects: this is the text of one of my dtml-method: dtml-var standard_html_header dtml-in "PARENTS[0].objectValues(['ObjetBIB'])" sort=key dtml-if "id ==QUERY_STRING" dtml-call "manage_delObjects(_[id],[REQUEST])" dtml-var

[Zope] R: [Zope] dtmll-in variables

2000-06-08 Thread Marcel Preda
dtml-in linescontributed line:dtml-var contentbr dtml-var sequence-lengthbr dtml-if "sequence-length == 10" WHOOP WHOOP /dtml-if /dtml-in There are ten lines returned by this query but zope sees the line: dtml-if "sequence-length == 10" and thinks I am trying to say sequence

[Zope] R: [Zope] escaping with dtml?

2000-06-07 Thread Marcel Preda
- Original Message - From: Riku Voipio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 5:28 PM Subject: [Zope] escaping with dtml? Hello, I'm trying to get some doubleqoutes to the final document, but I've been unsuccesful so far: dtml-let hack="\"app\"

Re:[Zope] zope:change strings on place

2000-06-06 Thread Marcel Preda
- Original Message - From: Vincent Maton [EMAIL PROTECTED] Sent: Tuesday, June 06, 2000 5:12 PM Can you help me ? I have some dates in a DataBase but I receive them in string after a query and it's in international format, I would like transform it in french format. With dtml-var

Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Marcel Preda
- Original Message - From: Timothy Wilson [EMAIL PROTECTED] On Wed, 24 May 2000, Rik Hoekstra wrote: .. Ok.. this is really dumb, but for some reason I can't get this to work. dtml-if "id=='index_html'" I believe this should be dtml-if "_['id']=='index_html'"