Re: [Zope] DTML Document size limit?

2000-05-23 Thread Tino Wildenhain
is for. Regards Tino Wildenhain Andrew Diller wrote: I can't get a DTML Document to be bigger than about 105k. Is there a size limit to a DTML Document, and if so, how big? 105k isn't that large. -andy diller ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] SQL-Query works with MySQL-monitor but not with ZMySQLDA

2000-05-29 Thread Tino Wildenhain
Hi Andy, Andy Pahne wrote: Hi, there, if I use my mysq-monitor to execute the following query, everything works fine: SELECT YEAR(START_DATE) FROM EVENT; but it doesn't work via the ZMySQLDA!?! Here's the traceback: Error, exceptions.KeyError: unhandled Please try:

Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Tino Wildenhain
tside HTML/HTML and additionally makes it impossible to get error-messages to picky browsers, such as WAP-devices. Is it ok if we remove these lines? Do I have to copy this message to the collector and wait for a couple of months or can we do it instantly? ;-) Regards Tino

Re: [Zope] zodbc performance question

2000-06-09 Thread Tino Wildenhain
Hi Julio, we tested exactly this approach but run into some deadlock-situations. Since it did not improve performance we now use only one connection-object per database. Regards Tino Wildenhain julio dinis wrote: Hi all, Using zodbc, supose we have the following situation. One

Re: [Zope] Extended characterset

2000-06-09 Thread Tino Wildenhain
Hi Ivan, you may want to try out the modifier url_quote eg: dtml-var arbitrary_greek_text url_quote HTH Tino Wildenhain Ivan Mackintosh wrote: Hi, What I want to do is to allow users to be able to enter greek/mathematical symbols into a textbox. I have managed to do this but get

Re: [Zope] zodbc performance question

2000-06-09 Thread Tino Wildenhain
. It will however "commit" the write when the document is fully generated. connection2-object will block therefore. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

Re: [Zope] Dynamically Picking which object to display

2000-06-09 Thread Tino Wildenhain
, the session-management (a dtml-method) sends a redirect to the login-page. I can give a more detailed description on request. But at least: yes, you can do it; yes, it makes sense HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] YA newbie question

2000-06-09 Thread Tino Wildenhain
dtml-var "modules.leftbuttons(_,_.None)" (or such like - have to look again over some documentation or the list for this) HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] logout

2000-06-10 Thread Tino Wildenhain
with the new user like this: http://newuser@site/... logs you out and in as the new user. But this behavior is not defined as in rfc. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Re: dtml-tree with data from multiple tables

2000-06-10 Thread Tino Wildenhain
table with removing the offset first and adding the next offset to the results. I can provide an example, if you wish. Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML en

Re: [Zope] problem with PTK and LoginManager

2000-06-15 Thread Tino Wildenhain
your zope) Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org

Re: [Zope] Expressing expressions

2000-06-20 Thread Tino Wildenhain
Hi RC, RC Compaan wrote: Simple addition seems a bit tricky in zope dtml-var expr="counter=counter+value" --// Here i tried to Try dtml-call "REQUEST.set('counter',counter+value)" HTH Tino Wildenhain ___ Zope

Re: [Zope] Change Notification

2000-06-20 Thread Tino Wildenhain
the relation links if the destination folder is moved. if it is in aqisition path, dtml-var object url may help. It would give you the URL of the object whereever it is at the moment. May be, you could use ZCatalog otherwise. HTH Tino Wildenhain ___ Zope

Re: [Zope] Using Zope DB connection from a Python class

2000-06-21 Thread Tino Wildenhain
Hi Ivan, 3. Zope 2.1.7 Z ODBC DA 3.0.3 Solid dev kit 2.3 RedHat Linux 6.1 on i386 How to use Z ODBC DA on Linux? I only found a windows binary. Tino ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] image inclusion: empty ALT not the same as no ALT

2000-06-23 Thread Tino Wildenhain
g like that: if alt: ... So an empty string is considered also false. You can work around with dtml-var "some_image.tag(border='0',alt=' ')" Since a space is not seen but also not false. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PR

Re: [Zope] Multiple Languages

2000-06-29 Thread Tino Wildenhain
of the page is appropriate with given browser-configuration (language-preferences) and availability. We have now to make a product to hold the different versions of documents for each language. Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] Re: ZClass in ZClass problem

2000-07-02 Thread Tino Wildenhain
ysheets/methods/RandomZItem_add%20/manage_workspace". I found that not only my ZClassess do this way. I imported SiteSummary - and got the problem. Something broken in my installation? %20 is the urlencoded representation of an extraneous space at the end of your methods ids.

Re: [Zope] Rewrite rules

2000-07-03 Thread Tino Wildenhain
is documented here: http://www.apache.org/docs/mod/mod_rewrite.html We need more information of what you want to help you more. HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Lists and external methods

2000-07-05 Thread Tino Wildenhain
def values(self): return(self.data.values()) if you use generic_datarecord(column1=value1,coulumn2=value2) for each row, you can alterate over a list of such datarecord_objects with dtml-in using dtml-var column1 and dtml-var column2 HTH Tino Wildenhain PS: __len__() is optional, bu

Re: [Zope] How do I specify a list element?

2000-07-05 Thread Tino Wildenhain
the 1st element of MyList" or the second or third. I've tried dtml-var "REQUEST['MyList'][0]" but I get this error: actually it is dtml-var "MyList[0]" you were pretty close :-) Tino Wildenhain ___ Zope maillist - [EMAIL

Re: [Zope] just html, help, help, help !!!

2000-07-11 Thread Tino Wildenhain
, you would take an extra submit button (or image) to open a new part of the page to input the needed information. HTH Tino Wildenhain Marcel Preda wrote: - Original Message - From: Vincent Maton [EMAIL PROTECTED] To: Zope [EMAIL PROTECTED] Sent: Monday, July 10, 2000 11:10 AM Subject

Re: [Zope] DTML?

2000-07-11 Thread Tino Wildenhain
replacing (or at least aliasing) these - variables to _ ? sequence-item, sequence-index etc. comes to mind. I would do it in some minutes if one wants it... Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/lis

Re: [Zope] Adding comments to documents like in ACS ...

2000-07-11 Thread Tino Wildenhain
's the kind of functionality I think these objects should provide. Yes. And I often wonder where my notes to sessions walk to. For the meantime, at least for docuements and methods, we can heavyly use dtml-comment Regards Tino Wildenhain ___ Zope

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

2000-07-12 Thread Tino Wildenhain
company. Why dont you simply restore your Data.fs from a regular backup? Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] space in variable returned by queries

2000-07-13 Thread Tino Wildenhain
uot;REQUEST.set('var_without_space_at_the_end',_.strip(var_with_space))" HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://li

Re: [Zope] zope crawls - the day after

2000-07-14 Thread Tino Wildenhain
eaders too but no HTML inside. So you should set headers with RESPONSE.setHeader() hth Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://list

Re: [Zope] Case sensitivity

2000-07-17 Thread Tino Wildenhain
. So where is the problem? You only have to type your links carefully, what is somewhat simplyer with dtml-var object url Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] zeo and rdb backend

2000-08-14 Thread Tino Wildenhain
cts and some folders with database-connections and such) Imagine a situation where different instances of zope, connected via zeo have to use different database-connections (odbc for windows, any other for unix). Regards Tino Wildenhain ___ Zope maillist - [E

Re: [Zope] tree plus/minus url

2000-08-14 Thread Tino Wildenhain
it works fine! Would you mind including an alias for tree-item-clickurl which reads tree_item_clickurl before posting it to the collector? I hope we can make all this ugly hypenation variables go away someday... Regards Tino Wildenhain _[_['sequence-item']] avoidance taskforce. __

Re: [Zope] Help!! RE:mutilple select forms and ZSQL Method

2000-08-14 Thread Tino Wildenhain
tween the values in the statement') ... But note, there might be anything inside the variable which would not be properly sql-quotet this way. Can be very securety riscy. Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/ma

Re: [Zope] how to generate a Vcard ?

2000-08-15 Thread Tino Wildenhain
... (The plain message of course) HTH Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Tino Wildenhain
else agree? No, I disagree. Why do you want bad dtml even inside comments? dtml-comment is a tag like all the other tags. It does not control the parser. One advantage is, you may nest comment-tags. Regards Tino Wildenhain ___ Zope maillist - [EMAIL

Re: [Zope] Changing a Z object's __class__ dynamically

2000-08-20 Thread Tino Wildenhain
in the Z Object's memory-cached version. When I remember correcly, DC's setattr does not change attributes with leading underscore in a persistence way. These attributes are considered to be local. Regards Tino Wildenhain ___ Zope maillist - [EMAIL

Re: [Zope] tree plus/minus url

2000-08-21 Thread Tino Wildenhain
tor? I hope we can make all this ugly hypenation variables go away someday... Regards Tino Wildenhain _[_['sequence-item']] avoidance taskforce. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

Re: [Zope] Month number as string as variable

2000-08-22 Thread Tino Wildenhain
Hi, "Williamson, Aaron" wrote: Peter, Try this bit of mojo here: dtml-let monthnr="_.DateTime().mm()" # actually, it schould be: dtml-let monthPoll="'month_%02d' % monthnr" # to produce 'month_01' to 'month_12' dtml-var monthPoll /dtm

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

2000-08-25 Thread Tino Wildenhain
Hi Darin, Darin Lee wrote: Zopistas, Is it possible to access an ODBC data source through Zope running under Linux? I have perused the literature, and it appears the Zope DA's for ODBC only run under the Win32 environment. I would very much like to setup ZAP (for many reasons), but

Re: [Zope] Linux and ODBC

2000-08-26 Thread Tino Wildenhain
of the distribution into different places. When I fully succeed ( I had plain mxODBC running already!) I will make an how-to of it. So please stay tuned ;) Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

Re: [Zope] Copying a dtml method when creating a ZClass instance

2000-09-01 Thread Tino Wildenhain
Hi Kamon, kamon ayeva wrote: Hi, I need some help. I have a DTML method at the root of Zope called 'Template'. How can I make the constructor of a ZClass (folderish) to copy this method to each of its instances ? Can someone provide me with a complete snippet to add in the ZClass

Re: [Zope] Socket.Error

2000-09-02 Thread Tino Wildenhain
its ip-address again. It asks first for the name to the ip-address. Then it asks for the ip-address to this name. The question is, where did you change the name? In DNS you have to change it in both databases. Regards Tino Wildenhain ___ Zope maillist

Re: [Zope] SQL Methods

2000-09-02 Thread Tino Wildenhain
in the security mechanism on 2.2.x. The default policy is now: disallow everything as log as its not explicitely permittet. I would suggest to look for the patch on sql-methods or simply upgrade to the latest 2.2.1 where this (and much more) has already been fixed. Regards Tino Wildenhain

Re: [Zope] Copying a dtml method when creating a ZClass instance

2000-09-02 Thread Tino Wildenhain
Hi, kamon ayeva wrote: I have several reasons whay I need to attach a template to each ZClass. Among them are: 1/ cases like high level folders where I might want to customize the page's rendering and/or skin, 2/ cases like contained objects which uses a generic skin (but you can still

Re: [Zope] Underscore Caracter

2000-09-05 Thread Tino Wildenhain
Hi Chris, Chris McDonough wrote: Hi Marcus, This is untested. Turn "asd asd" into "asd_asd" and output: dtml-var "_.string.join(_.string.split('asd asd'), '_')" Turn "asd_asd" into "asd asd" and output: dtml-var "_.string.join(_.string.split('asd_asd', '_'))" I've seen this

[Zope] ANN: want to localize your pages and/or zope?

2000-09-06 Thread Tino Wildenhain
in the night ;-) Unfortunately zope.org has not installed the product already, so I was not able to give the readme in different languages .-)) Best regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] re module through the web security

2000-09-06 Thread Tino Wildenhain
Hi, Chris Withers wrote: Chris McDonough wrote: There's the perception at DC that 're' isn't appropriate for through-the-web usage because it's possible to write and use regex that sends the Python interpreter thread it's operating within into a neverending loop. Sorry. Am I the

Re: [Zope] Whitespace in lines property

2000-09-06 Thread Tino Wildenhain
Hi Tim, Tim Cook wrote: Can anyone tell me why when I edit a lines property I get leading whitespace inserted? The first line gets seven each one after that gets 10 spaces. I tried stripping it out but this didn't seem to have any effect. ... textarea name="alt_names:lines"

Re: [Zope] Whitespace in lines property

2000-09-07 Thread Tino Wildenhain
Hi Tim, Tim Cook wrote: Tino Wildenhain wrote: Hi Tim, Tim Cook wrote: Can anyone tell me why when I edit a lines property I get leading whitespace inserted? The first line gets seven each one after that gets 10 spaces. I tried stripping it out but this didn't seem

Re: [Zope] Using Chinese Characters

2000-09-07 Thread Tino Wildenhain
Hi Kelvin, Kelvin Cheong wrote: i was wondering how i can use chinese characters with Zpe on Linux. does anyone know how? According to my "mild" research so far, i found out that Big5is a 2-byte code and is a part of ISO-10646/Unicode. It also seems to be the de-facto for traditional

[Zope] Import from file via management-interface

2000-09-08 Thread Tino Wildenhain
Hi all, I found it very disturbing having to get my .zexp exports into the subdirectory 'import' of the server and then using the management-interface to do the actual import. So I patched ObjectManager and the compaining dtml-file. Please check them out (included in the mail, sorry for the

Re: [Zope] Import from file via management-interface

2000-09-09 Thread Tino Wildenhain
Hi Bill, Bill Anderson wrote: How about just the patch next time, as opposed ot the whole patched filed? Ah yes, sure. On the other hand its more convient for the windows people, without a patch at hand... regards Tino ___ Zope maillist - [EMAIL

Re: [Zope] Import from file via management-interface

2000-09-09 Thread Tino Wildenhain
Hi Terry, Terry Kerr wrote: you can write anything destructive, whether it is an external method, a DTML Method, or basically anything. At least if the only way you can import .zexp's is from the import directory, then only people with access to the zope file structure can import

Re: [Zope] Import from file via management-interface

2000-09-09 Thread Tino Wildenhain
Hi, Martijn Pieters wrote: On Sat, Sep 09, 2000 at 09:39:33AM +0200, Tino Wildenhain wrote: Terry Kerr wrote: you can write anything destructive, whether it is an external method, a DTML Method, or basically anything. At least if the only way you can import .zexp's is from

[Zope] Re: Modification Posts to the list (was: [Zope] Import from file viamanagement-interface)management-interface)

2000-09-10 Thread Tino Wildenhain
Hi Dieter, Dieter Maurer wrote: Hi Tino (and other potential patch posters), if possibly, you should not post complete source modules to the list. Instead, you should use either context or uniform differences to the source. Such a difference file is called a patch. Yes. I know that ;-)

Re: [Zope] Zope not starting after VaryTag install

2000-09-18 Thread Tino Wildenhain
Hi Didier, so it looks like the vary Tag may be not compliant to older ( 2.2.x) releases of Zope? I have to check this. You should probably check if you really need an ancient version of Zope ;-) I'm really wondering how the tag can cause such a behavior. Its almost an extract of the mime-tag

[Zope] Re(2): [Zope] Zope not starting after VaryTag install

2000-09-18 Thread Tino Wildenhain
Re again, I just checked with 2.1.6 (winNT) and it worked without problems. Can anybody else confirm this? Regards Tino Didier Georgieff wrote: Hello, Just after installing VaryTag, Zope (2-1-6) restart fine, but when i try to connect to my zope adress, i got an error (traceback

Re: [Zope] Favorites

2000-09-26 Thread Tino Wildenhain
Hi rishi, rishi wrote: ... The following tihng is going on; they are uploading the bookmark file manualy, by exporting from IE or NS. There is a util called "ImportExportFavorites", a javascript syntax that gets the bookmarks and post them to the server. One has to have a glance at it to

Re: [Zope] Guess Who . . .

2000-09-26 Thread Tino Wildenhain
Hi, nice :-) "Spicklemire, Jerry" wrote: . . . has a opening posted on their Web Site for a C/C++ programmer with Zope / Python experience? http://www-3.ibm.com/employment/us/empl/jofK23137.html ... Experience Required Six years work related experience they must be from a

Re: [Zope] HTML-Code in variables (addition)

2000-10-07 Thread Tino Wildenhain
Hi Lars, Lars Heber wrote: Sorry, I mixed something up. Normal html is no problem at all. The problem is how to use quotes or such things. Of course I get an error by typing: dtml-let text="my html text with a link to a href="http://www.yahoo.com"Yahoo!/a" I tried typing quot;

Re: [Zope] Socket.error problem

2000-10-08 Thread Tino Wildenhain
LISTEN I suspect this line to be the offending one. IIRC the number "98" isnt actually a port number but a error number of the socket-lib. Your zope-ftp-server probably tries to bind 8021 which is not possible. HTH Tino Wildenhain

Re: [Zope] Can you specify user/group to run Zope as during install

2000-10-08 Thread Tino Wildenhain
Hi Yusuf, Yusuf Goolamabbas wrote: I would like to run Zope not as user 'nobody' but as something else. Is this possible somehow, also is it possible to install the Zope tree in a location other than that untarred into [something like ./configure --prefix=/usr/local/site/Zope] Regards,

Re: [Zope] expr=id 'index_html issue

2000-10-09 Thread Tino Wildenhain
hi, as usual, if such things happen, "id" is a method. it gets called by zope if you just use dtml-var on it. So either use id() or better, look for title and if not set (dont set a title on html_index then) dont display it. Regards Tino [EMAIL PROTECTED] wrote: Okay, this is my second

Re: [Zope] Zope/Posgresql/RedHat Linux

2000-11-02 Thread Tino Wildenhain
Hi, "Bak @ kedai" schrieb: is a suitable combination. I have attempted to configure this combination but run into trouble compiling PoPy-1.4.1 on RedHat Postgresql - and have not been able to resolve the problems via RedHat or Mixadlive - hence my question. Regards, Chris Marshall

Re: [Zope] CMS/publishing system

2000-11-02 Thread Tino Wildenhain
would be most appreciated... We are currently implementing a light CMS. So stay tuned... ;) Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] Patch to avoid hypenation variables and more

2000-12-04 Thread Tino Wildenhain
Hi there, finally I want to release my patch for the in-tag. I hope it finds its way into the source-tree. I was sick writing such ugly constructs as _[_['sequence-item']] and so on, so I patched DT_In.py and DT_InSV.py (in lib/python/DocumentTemplate) to use sequence_item as well. All

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-04 Thread Tino Wildenhain
Hi Chris, Chris Withers schrieb: Tino Wildenhain wrote: finally I want to release my patch for the in-tag. I hope it finds its way into the source-tree. Looks very cool :-) Is it in the collector yet? I've put it on the collector, but I'm not very sure I did it the right way

Re: [Zope] How to specify to z sql methods, the connection object to use at runtime...time...

2000-12-05 Thread Tino Wildenhain
Hi Frederic, Frederic Quin schrieb: Hi all, I have the same querry to execute on different servers. I don't want to create as many z sql methods as servers I have. I would like to specify to my z sql method, the connection object to use at run time. Do I have to patch the files of z sql

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-07 Thread Tino Wildenhain
Michel Pelletier schrieb: The second problem is if you put one in-tag into another. You have to use dtml-let oder REQUEST.set() with variables of the outher in-tag to be able to reference them in the inner loop. The code becomes very ugly this way. So my idea was to give the in-tag

Re: [Zope] newbie question -- database list/report with sort bycolumn header

2000-12-09 Thread Tino Wildenhain
Hi, Chris Gray schrieb: Here's a fragment from a table that allows sorting by clicking the header in a dtml method named 'displayTable': table tr tha href="displayTable?sort_key=ID+desc"ID/a/th tha href="displayTable?sort_key=product"Product/a /tr dtml-in

Re: [Zope] Random choice in dtml-in?

2000-12-10 Thread Tino Wildenhain
Hi J, "J. Atwood" schrieb: I think dtml-with "_.whrandom.choice(folder_name.objectValues())" /dtml-with should do what you want. HTH Tino Wildenhain Ok.. so I can get a random item out of a folder with. dtml-var expr="_.whrandom.choice(folder_name.obje

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-11 Thread Tino Wildenhain
Hi again, anybody had time to test this? Chances for next zope release? Any remarks? Alternatively, btw. would be a name attribut, which defaults to "sequence". Regards Tino Tino Wildenhain schrieb: Michel Pelletier schrieb: The second problem is if you put one in-tag in

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-11 Thread Tino Wildenhain
dtml-output or dtml-out ? Just for the ones that lern zope. Since I often see the missunderstood meaning of dtml-var in such constructs like: dtml-var "somelist[dtml-var indexvar]" you know what I mean? I think it would be more obvious, if the tag would usually be called dtml-out or s

Re: [Zope] More on DB Transactions

2000-12-16 Thread Tino Wildenhain
in this current state. But I will do so soon. On request, I can give what I have now. Regards Tino Wildenhain Rik Hoekstra schrieb: Paolo Quaglia wrote: Reading the [EMAIL PROTECTED] archive I found one message with an interesting sentence: [Message] I am currently considering

Re: [Zope] standard_error_message woes!

2000-12-24 Thread Tino Wildenhain
Hi Chris, Chris Withers wrote: *snip* PS: almost related, have you noticed how there's no way you can prevent Zope (other than hacking the source) from tacking the error message on the end of the HTML stream, even in production mode? Not only does this produce badly formed HTML, but it

Re: [Zope] HTTPSConnection Python 2.3.4

2005-04-01 Thread Tino Wildenhain
Hi, Am Freitag, den 01.04.2005, 14:35 -0500 schrieb Paul Winkler: On Fri, Apr 01, 2005 at 08:29:39AM +0100, Chris Withers wrote: Paul Winkler wrote: I have a somewhat similar issue; an in-house Zope product is retrieving some information from a remote URL. If I hit the same URL from the

Re: [Zope] Set MIME type using ZPT

2005-04-05 Thread Tino Wildenhain
Am Dienstag, den 05.04.2005, 13:11 -0700 schrieb srikanth: Hi, I am using an external method to load an Image from the harddrive. The external method is as follows: from email.MIMEImage import MIMEImage ##parameters=filename def getDocument(filename): fname = '/mnt/'+filename;

Re: [Zope] how to store ZSQL query results in a python var

2005-04-07 Thread Tino Wildenhain
Am Donnerstag, den 07.04.2005, 04:10 -0700 schrieb prabuddha ray: from a newbie, i've this ZSQLmethod returning me a string only. how do i store it a var in my python script. eg., userlevel = container.getUserLevel(uname=user) when i print it using html_quote as : print (%s) %

Re: [Zope] DTML namespace problem (was: dtml-tree issue)

2005-04-11 Thread Tino Wildenhain
Hi, Am Montag, den 11.04.2005, 14:08 +0300 schrieb Vangelis Mihalopoulos: Andreas Jung wrote: You should *not* define classes inside PythonScripts. PythonScripts are stricted and don't provide the full functionality. Either use filesystem based code (Zope Product) or use simple

Re: [Zope] Subfolders of Extensions folder

2005-04-15 Thread Tino Wildenhain
Am Freitag, den 15.04.2005, 13:40 +0300 schrieb Vital Lobachevsky: Hi, all! Can I use the folders in Zope's Extensions folder to keep the External Methods in more logical way? iirc you can just create a directory in Products and put your methods there. You can then import it from here. try

Re: [Zope] Re: Subfolders of Extensions folder

2005-04-15 Thread Tino Wildenhain
Am Freitag, den 15.04.2005, 10:41 -0400 schrieb Tres Seaver: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tino Wildenhain wrote: Am Freitag, den 15.04.2005, 13:40 +0300 schrieb Vital Lobachevsky: Hi, all! Can I use the folders in Zope's Extensions folder to keep the External

Re: [Zope] ZPsycopgDA dropping connections?

2005-04-19 Thread Tino Wildenhain
Hi, Am Mittwoch, den 20.04.2005, 15:23 +1000 schrieb Richard Jones: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has anyone else seen ZPsycopgDA just lose its connection? I've got two ZEO clients set up to use it, and every now and then one of them (the primary) just up and loses its

Re: [Zope] Charset

2005-04-28 Thread Tino Wildenhain
storing unicode - only utf-8 as you want to display it. Regards Tino -- Tino Wildenhain [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Charset

2005-05-02 Thread Tino Wildenhain
Am Montag, den 02.05.2005, 09:43 +0200 schrieb [EMAIL PROTECTED]: Hello everybody, I change the file manage.dtml in ..\python\app\dtml. This is the change I've done: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; html head meta

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-06 Thread Tino Wildenhain
Am Freitag, den 06.05.2005, 19:26 +0100 schrieb mark hellewell: On 5/6/05, Dieter Maurer [EMAIL PROTECTED] wrote: WebDAV uses basic HTTP authentication which should use whatever UserFolder you have installed. Thanks.. So, I think I should be able to modify the authentication plugin of

Re: [Zope] utf-8 vs. unicode question(s)

2005-05-06 Thread Tino Wildenhain
Am Freitag, den 06.05.2005, 19:40 +0200 schrieb Jürgen Herrmann: hi out there! there's been some discussion about utf-8 vs. unicode strings on the list lately. i'd like to ask if my gained understandings are correct und thus possibly make it clear to others also. i have set my python

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread Tino Wildenhain
Am Samstag, den 07.05.2005, 12:04 -0400 schrieb Chris McDonough: Web Folders pass cookies around too, FWIW, so it's probably not strictly necessary to use http basic auth. But without using http basic auth, there is no way to log in unless you have them go to the web interface first, then

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

2005-05-14 Thread Tino Wildenhain
Am Freitag, den 13.05.2005, 23:42 -0700 schrieb Greg Fischer: http://dev.mysql.com/doc/mysql/en/numeric-type-overview.html That's it right there! Before 5.0.3, they were unpacked, meaning saved like a char. Now they are packed, fixed point numbers. This is screwing up the python functions

Re: [Zope] Float object not callable (newbie question)

2005-05-14 Thread Tino Wildenhain
Am Freitag, den 13.05.2005, 16:06 +0100 schrieb Paul Hendrick: hi all, I'm trying to write a simple app which takes a name, bank balance, interest rate and returns the balance once 1 years interest has been added. I'm getting the error that float object is not callable. i can't figure out

Re: [Zope] Postgres stored procedures and views support in Zope

2005-05-17 Thread Tino Wildenhain
Am Mittwoch, den 18.05.2005, 00:20 -0300 schrieb David Pratt: Can someone tell me whether/how zope supports views and stored procedures with zope. Do I need any other product besides the psycopg adapter? Any links to references appreciated. There is no special support... needed. views are

RE: [Zope] How to make a ZPT-based form that calls itself? (Part II)

2005-05-19 Thread Tino Wildenhain
the place since you prepare all the data in your script. Complex data structures can be passed in (nested) dictionaries. HTH Tino Wildenhain ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] how to accumulate data using ZPT

2005-05-20 Thread Tino Wildenhain
context.yourPageTemplate(results=results, count=len(results), total=total) -- Tino Wildenhain [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] how to accumulate data using ZPT

2005-05-20 Thread Tino Wildenhain
Am Freitag, den 20.05.2005, 10:36 +0100 schrieb Hugo Ramos: On 5/20/05, Tino Wildenhain [EMAIL PROTECTED] wrote: Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos: Yellow, What DBMS are you using??? MySQL??? If so just have a sql method do this: == SELECT

Re: [Zope] Re: how to accumulate data using ZPT

2005-05-20 Thread Tino Wildenhain
the value repeatedly in the sum var. No, you definitively dont want that type of algorithm implement in ZPT. Thats better done in python scripts. The skeleton again in my mail. Forget about the count() for a moment. Regards Tino -- Tino Wildenhain [EMAIL PROTECTED

RE: [Zope] Modifying __bases__

2005-05-20 Thread Tino Wildenhain
Am Freitag, den 20.05.2005, 13:48 -0400 schrieb Dan Pozmanter: Well, when I run it, I am able to do the following: class A: pass class B(A): pass b = B() B.__bases__ = () print B.__bases__

Re: [Zope] SQL Database Connections

2005-05-20 Thread Tino Wildenhain
Am Freitag, den 20.05.2005, 18:28 +0200 schrieb Andreas Jung: --On Freitag, 20. Mai 2005 9:18 Uhr -0700 Jonathan Daugherty [EMAIL PROTECTED] wrote: # Depends on the underlaying DAso which one are you using? In # general a DA should reconnect automatically. I'm using the

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

2005-05-22 Thread Tino Wildenhain
Am Montag, den 23.05.2005, 00:01 +0200 schrieb KLEIN Stéphane: Hello, What is the equivalent in DTML of ZPT context variable ? Its more or less the underscore: _ _ == context this() == template (or somethimes context if its a dtmlmethod I believe) The main problem with DTML is its lax

Re: [Zope] Still. Zope date datatype and TimeZone formatting problems.

2005-05-23 Thread Tino Wildenhain
Am Sonntag, den 22.05.2005, 13:01 -0500 schrieb Felipe Barousse Boue: Zopistas: I am experiencing the same problem you described by Mr. Hong Yuan in his post a few from last March. I have Zope 2.7.4, python 2.3.4 and PostgreSQL 8.0 and psycopg as DB adapter. All my dates stores in

Re: [Zope] How can I get context property in DTML ? (example)

2005-05-23 Thread Tino Wildenhain
(And god knows where the bar come from ;) dtml-var expr=getProperty('bar') could work too and would be more explicit. -- Tino Wildenhain [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] UnicodeDecodeError

2005-05-23 Thread Tino Wildenhain
Am Montag, den 23.05.2005, 10:35 +0200 schrieb Joern Wallstabe: Hello, i would like to feed a zpt form with data from a python dictionary via a python script zpt snippet: textarea name=title:record:ulines rows=3 cols=65 tal:span content=python:context.printDict(here.dict)/ This is

Re: [Zope] Re: how to accumulate data using ZPT

2005-05-24 Thread Tino Wildenhain
Am Dienstag, den 24.05.2005, 04:09 -0700 schrieb prabuddha ray: sorry, i missed the xplanaition. i think this'll explain... div tal:define= penalty python:context.getPenalty(group_code=gcode,item_code=icode); penaltylen python:test(len(penalty)==0) so not:penaltylen ensures

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

2005-05-27 Thread Tino Wildenhain
Am Freitag, den 27.05.2005, 00:20 +0200 schrieb Jaroslav Lukesh: ... I absolutelly agree with you, it is like my words. But separation of logic and presentation could be done successfully in DTML too. ZPT, which have separation argument is not as easy to make totally This is even somewhat

Re: [Zope] Receiving mails

2005-05-28 Thread Tino Wildenhain
Am Freitag, den 27.05.2005, 11:41 -0700 schrieb Varun Parange: 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...

  1   2   3   4   5   6   >