Hello,
I have a custom product that has a ZFile as its base class. I tried importing
the file on the upgraded platform, but I got the "Operation not supported"
error. I have a ton of these objects that show up as "broken". Question: I
still have my old Zope server running, is it possible to e
get to the dtml method. Jonathan - Original Message - From: AlricAneronTo: zope@zope.orgSent: Monday, June 19, 2006 2:46 PM Subject: [Zope] dictionary fromsequence-item Hello,I am looping through a list of dictionary objectsusing and within the dtm
Hello,I am looping through a list of dictionary objects using and within the dtml-in body I have:Some of the dictionaries in the list don't have 'titled' key so it should replace it with the word "none", but it gives me an errorError Type: KeyError Error Value: 'titled' I don't understand. A
over both of them.Is there a way?Thanks in advance guys!Andreas Jung <[EMAIL PROTECTED]> wrote: --On 19. Juni 2006 09:16:23 -0700 Alric Aneron
<[EMAIL PROTECTED]> wrote:> Hello,> I have a dictionary object and a result set object (that was returned> from a ZSQL method). Is th
Hello,I have a dictionary object and a result set object (that was returned from a ZSQL method). Is there any way I can merge them into one variable and use them in a dtml-in statement?Thanks in advance.
Yahoo! Sports Fantasy Football 06 - Go with the leader.
Start your league today! _
Hello,
I have a ZSQL Method, which is called by my python
script.
However, I am curious as to what type of object is
returned when that call is made.
It's some sort of a recordset (or resultset) object
that behaves like a list...it doesn't seem to be a
dictionary object though, but I can't find any
This will 'pass' control and the REQUEST space from A to B. Is this is not what you are looking for, then provide some more info as to your use case. Jonathan-Original Message -----From:AlricAneron
Message ----- From:AlricAneronTo: zope@zope.orgSent: Thursday, June 08, 2006 4:22PM Subject: [Zope] dtml forwardingrequest Hello,Is there a way in Zope to forward a request from onepage to another. When I say "forward" a request, I want to retain allthe
Hello,Is there a way in Zope to forward a request from one page to another. When I say "forward" a request, I want to retain all the GET and POST request parameters. So similar to but response.redirect loses all the request parameters.I've been looking around and couldn't find it.Any ideas?Thank
Hi guys, HOW HOW HOW HOW!!! Do I get at the last_insert_id() function, this is driving me absolutely crazy!! Zope docs say use "select last_insert_id()" but it doesn't work, gives me an error about bad SQL syntax around "LIMIT 1000". I tried googling it, I tried searching through other docs. And
thanks guys, I'll tryAndreas Jung <[EMAIL PROTECTED]> wrote: --On 28. Februar 2006 20:26:13 -0500 Jonathan <[EMAIL PROTECTED]> wrote:>> python has a command called 'commands' which can be used for executing> bash commands.talk about modules, not commands.-aj
Yahoo! Mail
Bring photos to life! New
Hello,I see I can only execute python functions in external methods. Is there any way to execute the whole file, not just a certain function? In linux I created a python script, and it doesn't have functions. I just want to execute the whole file. I tried using "self" or "init" for function name
Hello, I was wondering if there is a way to store a global variable on the server, and have such variable be easily retrieved in Zope dtml/python methods. I want to make my own login system with sessions. And store session ID on the server and cookie to identify logged in users. Is there an easy w
thats exactly what I need, thank you!David H <[EMAIL PROTECTED]> wrote: 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
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 loop encounters. absolute_url
Thank you sir! Sorry, I am very new to python. It's quite unlike other languages. Happy new year! AlDavid H <[EMAIL PROTECTED]> wrote: 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
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 explained what i've done if
thanks you all!! This helped a lot!Tino Wildenhain <[EMAIL PROTECTED]> wrote: J Cameron Cooper schrieb:> Alric Aneron wrote:> >> Hello, I am new to Zope and DTML.>> I am trying to use a python script to call a Z SQL method. The python>> script also has a list tha
Hello, I am new to Zope and DTML. I am trying to use a python script to call a Z SQL method. The python script also has a list that -python script words = ['one', 'two'] context.REQUEST.set('wordlist', wordlist) rs = context.myzsqlmethod() return rs[0,2] -z sql script: SELECT * FROM tabl
19 matches
Mail list logo