Am Dienstag, den 25.10.2005, 14:43 -0400 schrieb Jonathan Cyr:
Hello,
Does a FileUpload object have a get_size() method?
I'd like to limit the size of an uploaded file before commiting it to
the ZODB. I've been Googling for a while. Is it handled differently on
a FileUpload object.
Am Dienstag, den 25.10.2005, 16:42 -0400 schrieb Jonathan Cyr:
I think I get it, except...
What's the meaning of 120, I'm not familar with that operator. How
would I adjust it for different sizes?
Well, you could (and should!) study the python documentation.
But this one is only an
...
i don't want him to be able to directly access (read/write) the
database i am using. *AFAIK*, ZSQLMethods won't do for this.
Then put constraints in on your database, or make the whole connection
read-only.
I want to have full access rights on the database through the external
Krzysztof Kubacki schrieb:
On 24 Oct 2005, at 14:03, Krzysztof Kubacki wrote:
How to change it?
I would like to have variables in the same order as I put them into
internet form.
You can't. REQUEST.form is a dictionary. They are, by definition,
unordered.
Why do you need them ordered? What
Vangelis Mihalopoulos schrieb:
Hi,
I want an external method to access a mysql database on each call. For
now, i open up a new connection on every call, but this probably won't
scale much either on performance (new connection on each call is quite
an overhead) or availability (the number of
Thomas G. Apostolou schrieb:
I have an External Method CharSetConv that get a
String_To_Be_Converted, its encoding and the encoding to convert it
to.
I call it like this:
dtml-in sequence-item
tddtml-var expr=CharSetConv(_, 'String_To_Be_Converted',
'ISO-8859-7', 'UTF-8') /td
Thomas G. Apostolou schrieb:
Αρχικό μήνυμα από Tino Wildenhain [EMAIL PROTECTED]:
Thomas G. Apostolou schrieb:
I have an External Method CharSetConv that get a
String_To_Be_Converted, its encoding and the encoding to convert
it
to.
I call it like this:
dtml-in sequence-item
...
which is the quick dirty variant, or:
dtml-var expr=(_['sequence-item'] or
).decode('iso-8859-7').encode('utf-8')
Which uses a boolean trick.
HTH
Tino
PS: get used to python scripts where this is a lot better
to write
I agree with you and i would write this in python script (if
Thomas G. Apostolou schrieb:
Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]:
Thomas Apostolou wrote:
i saw that from within a DTML Method one is able to
call a fuction of a python module in the file system.
I don't think so...
Well, you are right. I do not directly call the
the scripts/ZPTs directly
to find out whats going on)
HTH
Tino Wildenhain
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope
Fred Drake schrieb:
On 10/12/05, Alan Milligan [EMAIL PROTECTED] wrote:
I discovered this a couple of years ago wondering why RedHat's up2date
XML-RPC client didn't wrap download files in base64 tags. They've
actually done some strange stuff in this client to use normal http calls
to download
Nicolas Georgakopoulos schrieb:
Hello all, I'm developing using ZPT and I need to create a file (CSV
format) but I'm having some problems:
* 1. *I only know how to create files with python but I get an
*Error Type: NameError*
*Error Value: global name 'file' is not defined.
While I
Andreas Jung schrieb:
Hello,
a security issue with the Docutils package coming with Zope 2.6 or
higher has been discovered. Sites that expose reStructuredText
functionality to
untrusted users (typically portal sites allowing registered users to
edit content) are possibly affected.
Download
Am Samstag, den 08.10.2005, 19:15 +0100 schrieb Chris Withers:
Hi All,
I'd like to backport the change I made to fix:
http://www.zope.org/Collectors/Zope/1490
...to the 2.8 branch, would anyone have any objections to this?
Surely not, but what fix? :-)
Nice to see some movement on this
Am Freitag, den 07.10.2005, 09:03 -0700 schrieb Dennis Allison:
Depends upon what you want to do and how much access you have. For
debugging purposes I often use an external procedure
def debugWindow( data ):
fd = open('/tmp/debugWindow,'a')
fd.write( str(data))
fd.close()
Greg Fischer schrieb:
This is totally unimportant, but I was just curious to know if anyone is
running Mysql 5 on Zope right now.
why should one? :)
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or
Am Samstag, den 01.10.2005, 15:15 +0200 schrieb [EMAIL PROTECTED]:
Hi
Yes, I actually try to deinstall the latter apt-get version that I
installed via source. But your solution does not work. After reading the
pakets, it is always said that the system could not find the paket
Am Mittwoch, den 28.09.2005, 20:49 -0400 schrieb Jeff Kowalczyk:
Most references I find (google, The Plone Book - McKay, Building Websites
W/ Plone - Cooper) on virtual hosting Zope behind Apache recommend
starting with sfm's SiteAccess enhanced Virtual Host Monster product:
Am Mittwoch, den 28.09.2005, 16:32 +1000 schrieb Julian Yap:
--- Chris Withers [EMAIL PROTECTED] wrote:
...
Now, if you really can't stop your sql returning more than one
row
(LIMIT 1 anyone?) then how about:
tr tal:define=customers container/getCustomerLicences;
Am Mittwoch, den 28.09.2005, 19:43 +0200 schrieb Benmania Guin:
...
I distinguish them by ports - the normal 80 PORT for Zope (for all HTTP
requests) and Apache using all other ports (using it as a mailserver and
stuff).
You use Apache as mailserver? Now thats interesting :-)
Am Samstag, den 24.09.2005, 00:29 -0300 schrieb David Pratt:
Hi Tino. Over HTTP is not the problem. It is more on normally https you
are rewriting your requests to port 443 with apache proxy and your
usual webdav server is port 1980 that is not secure.
Ah so. I use webdav over the standard
Am Samstag, den 24.09.2005, 13:39 +0200 schrieb Sascha Ottolski:
Am Samstag, 24. September 2005 01:08 schrieb David Bear:
I run zope in back of apache, and let apache handle tls/ssl.
In all the searching on zope.org http://zope.org though I haven't found
any documents on how to let apache
Am Freitag, den 23.09.2005, 16:08 -0700 schrieb David Bear:
I run zope in back of apache, and let apache handle tls/ssl.
In all the searching on zope.org though I haven't found any documents
on how to let apache handle securing webdav for zope as well.
Anyone see/written such?
webdav
Am Mittwoch, den 14.09.2005, 13:37 -0700 schrieb akonsu:
thank you. my question was how to do it from zope. namely, how to set
request headers/contents, etc. from another list i found this link
that has some image generating code:
http://cvs.bluedynamics.org/viewcvs/BlueTexima/. hope this will
Am Mittwoch, den 14.09.2005, 13:48 -0700 schrieb akonsu:
could you explain how one can use CSS to generate images during
request processing? or am i missing something?
No it cant - you cannot use it to obfuscate text
like your captcha product seems to do.
But some people are using
Am Montag, den 12.09.2005, 17:08 +0200 schrieb Nicholas Wieland:
I'm trying to use VHM to rewrite a pair of urls.
What I want is to have a normal Zope on localhost:8080/, and an
instance of a Product on localhost:8080/myProduct.
The problem I'm having is that VHM locks me out from the root
Am Montag, den 12.09.2005, 21:52 -0700 schrieb [EMAIL PROTECTED]:
To move old zope instance home to new one can i just
1. make new zope instance home
2. copy over Data.fs?
zope plone barfed on python2.4...
must i downgrade to 2.3?
Yes. See doc/INSTALL.txt :-)
One of the points is you
Am Donnerstag, den 08.09.2005, 08:40 +0300 schrieb Mikko Koivunen:
Hello all,
I'm trying to install a ZEO server. I already have Zope working, the
ZEO-clients installed and testing ZEO with zeoctl fg actually works fine -
but zeoctl start gives me this error:
...
opensocket
Paul Sue schrieb:
Hi,
Our server crashed and wouldn't boot up. Fortunately, we had backups of of Data.fs on another server .. so I installed Zope 2./7.4/Plone 2.0.5 on another server and used repozo to try to restore Data.fs:
./repozo.py -Rv -r /temp/recover -o Data.fs
However, when I
Am Montag, den 29.08.2005, 14:08 +1000 schrieb michael:
Thanks thats it! Why is it like that?
...
On 8/28/05, michael [EMAIL PROTECTED] wrote:
What am I doing wrong here?
dtml-var last -- this prints out the variable sent from last
(referring) page fine
dtml-var id -- this
Dominik Wezel schrieb:
Tino,
apt-get install python2.3-imaging
ready.
Thanks anyway, but you probably didn't read the last section of my mail.
Unfortunately, I *have* to find a way to do it manually.
FYI: It has to do with the way I set up Zope and various other stuff
around it.
Tino Wildenhain schrieb:
Dominik Wezel schrieb:
Tino,
apt-get install python2.3-imaging
ready.
Thanks anyway, but you probably didn't read the last section of my
mail. Unfortunately, I *have* to find a way to do it manually.
FYI: It has to do with the way I set up Zope and various
Am Mittwoch, den 17.08.2005, 22:09 +0200 schrieb Dieter Maurer:
Gabriel Genellina wrote at 2005-8-17 11:34 -0300:
I need to execute something each time Zope starts, is there any place where
i could put such things? (apart from modifying Zope.Startup.__init__.py)
An incredibly long time ago,
Jaroslav Lukesh schrieb:
Dear zopistas,
few times ago I was few times wrote to ZC webmaster about limited query to
Zope Products search results (see attached picture) - in any case it does not
find more than 200 results. Nothing to do. If somebody has enough power to
initiate zope.org
beno schrieb:
I still do not have a solution to get my VHM working. My programmer is
on vacation and I don't know how he's got things configured. I copied,
pasted and edited an entry in our httpd.conf file thus:
VirtualHost *
ServerAdmin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
ServerName
Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
Hi;
It's been years since I've posted here. I've been spoiled by having a
full-time programmer :) But he's on vacation and I'm screwed :(
I need to get this site posting to the web but I'm having trouble with
VHM. I copied, pasted and
Am Sonntag, den 14.08.2005, 06:32 -0400 schrieb beno:
Tino Wildenhain wrote:
Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
...
VirtualHost *
ServerAdmin [EMAIL PROTECTED]
ServerName centurionsecurityvi.com
ServerAlias *.centurionsecurityvi.com
ErrorDocument 401 /errors/401
Am Sonntag, den 14.08.2005, 10:05 -0400 schrieb beno:
Tino Wildenhain wrote:
Am Sonntag, den 14.08.2005, 06:32 -0400 schrieb beno:
Tino Wildenhain wrote:
Am Samstag, den 13.08.2005, 22:34 -0400 schrieb beno:
...
VirtualHost *
ServerAdmin [EMAIL PROTECTED
Simon ALEXANDRE schrieb:
Hi,
I’m searching for benchmark comparing ZODB to some RDBMS like Mysql. I
know that both technologies are different but I’d like to know if we
should expect some performance problem with ZODB used to store millions
of objects.
I'd suggest to actually store your
Am Donnerstag, den 04.08.2005, 11:33 +0100 schrieb Thomas Apostolou:
Hello everybody,
Im using Zope 2.7.0 on Windows XP Pro.
I pass some parameters from a form to a DTML method.
Inside that method i try to get the parameters with
dtml-var sSQL ( sSQL is the name of the submiting
form's
' object
has no attribute 'id').
Does anyone know what am i doing wrong?
I would apreciate it if you could help me.
See also:
http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx
--
Tino Wildenhain [EMAIL PROTECTED]
___
Zope maillist
Am Mittwoch, den 03.08.2005, 21:01 -0300 schrieb Leonardo Rochael
Almeida:
Hi,
I've started the lra-userid_username_separation-branch (from
Zope-2_8-branch to start from a stable point) in order to implement
proper userid/username separation in Zope.
I don't intend to change the default
Am Sonntag, den 24.07.2005, 19:50 -0300 schrieb David Pratt:
Hi Chris. I believe the purpose of ZTUtils are utility functions for
page templating. That said, the Iterator class could be more useful by
exposing its values based on its state - the point I had made.
Versatility is the
Am Samstag, den 23.07.2005, 19:17 -0700 schrieb Allen Huang:
I want to post a update date that will change when any of the objects
in a folder has been updated.
So far, I only know the command bobobase_modification_time, but it
only works again the object I I enter the command with..
This
installation
are the docstrings None.
Yan you please quote the code lines around line 236 in
/Programs/Zope/2.7.6/lib/python/Products/ZCatalog/IZCatalog.py
?
--
Tino Wildenhain [EMAIL PROTECTED]
___
Zope maillist - Zope@zope.org
http://mail.zope.org
mailinglist
to further discuss this issue?
--
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://mail.zope.org/mailman
Am Dienstag, den 19.07.2005, 00:35 -0700 schrieb David H:
...
Your idea is what I thought of at first - but my Interbase Adapter
doesn't like COMMIT statements (!) and I didn't test it out. But it
seems that would not solve the problem because both ZSQL methods are
embedded in the *same*
Am Sonntag, den 17.07.2005, 12:42 +0200 schrieb Jens Vagelpohl:
Hi guys,
I noticed that right now the SVN repositories on svn.zope.org can
only be accessed using the svn and svn+ssh protocols. It occurred
to me that by enabling http and https and going away from svn
and svn+ssh a big
Am Donnerstag, den 14.07.2005, 12:46 -0300 schrieb David Pratt:
I am looking at using the ExUserFolder with Postgres. Any users of
this combination that could share feedback (positive or negative) on
how this solution is working for them. Many thanks.
I use it but in a very hacked up form
Am Freitag, den 15.07.2005, 16:25 +1000 schrieb Andrew Milton:
+---[ Tino Wildenhain ]--
| Am Donnerstag, den 14.07.2005, 12:46 -0300 schrieb David Pratt:
| I am looking at using the ExUserFolder with Postgres. Any users of
| this combination that could share
Am Donnerstag, den 14.07.2005, 16:00 -0400 schrieb Asad Habib:
Is it possible to replace more than 1 type of character in a string
simultaneously? If so, what is the correct syntax for this? I am currently
using the following:
dtml-var _.string.replace(testString, _.chr(10), 'br /')
For
Am Montag, den 04.07.2005, 22:53 +0200 schrieb Negroup -:
Is there some way to pass an object from template A to template B via
HTML forms?
A
form name=a action=b method=post
input type=hidden name=obj tal:attributes=value here /
input type=submit value=Press /
/form
B
b
Am Dienstag, den 05.07.2005, 11:05 +0200 schrieb Negroup -:
2005/7/5, Tino Wildenhain [EMAIL PROTECTED]:
[cut]
So best option I see is to not pass the object but rather
pass the reference to the object. You can resolve
it via restrictedTraverse('/path/from/form')
I think I can't apply
Am Dienstag, den 05.07.2005, 16:47 +0200 schrieb Negroup -:
2005/7/4, Negroup - [EMAIL PROTECTED]:
Is there some way to pass an object from template A to template B via
HTML forms?
[cut]
Thanks a lot for the replies.
I have considered all the solutions and at the end I have decided to
Am Sonntag, den 19.06.2005, 06:08 +0200 schrieb Andy Kim:
No, I am not using the user system here.
It is just a simple use.
All I want is to put a session-conditional call for a dtml method within a
simple page with this method.
if not REQUEST.SESSION.get(marker,):
yourcall()
Am Samstag, den 18.06.2005, 18:16 +0200 schrieb Andy Kim:
Hi,
I'm a beginner.
I'd like allow a dtml method call e.g. dtml-call method for one session
only.
how do I do this with dtml?
could anyone help me?
How often are you going to ask this? :)
pick up parm1 parm2?
Not at all. You could either have tried
it out ;) Or looked at the DTML documentation
in the Zope book *wink* ;)
dtml-var expr=somemethod(parm1=value1,parm2=value2)
If you are learning anyway, why not skip the DTML
part for now and go strait python-scripts and ZPT?
--
Tino
Am Freitag, den 17.06.2005, 19:09 +0200 schrieb Dieter Maurer:
Tino Wildenhain wrote at 2005-6-17 10:57 +0200:
...
Not at all. You could either have tried
it out ;) Or looked at the DTML documentation
in the Zope book *wink* ;)
dtml-var expr=somemethod(parm1=value1,parm2=value2
, for example
Z2.log - which gives you numbers based on URL
(Not that in a publishing process not only the object
on the specific URL is used but also a lot parent objects,
user, etc.
I guess it highly depends on what you really want to do.
--
Tino Wildenhain [EMAIL PROTECTED
Am Mittwoch, den 15.06.2005, 11:27 -0400 schrieb David Ayres:
I've been working around this issue for literally years and finally have the
time to seek a real solution. :) I can't find much information, so I'm
assuming I'm just taking the wrong approach.
Whenever a form is posted, the text
Am Dienstag, den 14.06.2005, 00:09 -0700 schrieb jlegris:
Hello All,
I need to transfer Plone/Zope settings from a test instance to a live
instance of the Zope server. Aside from transferring the entire
Data.fs file or manually copying scripts and replicating configuration
settings, is
Am Montag, den 13.06.2005, 12:26 +0200 schrieb Bernd Dorn:
Pascal Peregrina wrote:
Hi,
I am trying to migrate from Zope 2.7.6 to 2.8.0
In some product I did, I need to monkey patch some OFS and CMF classes (I do
this in product init).
I get this error whenever I try to do
Am Montag, den 06.06.2005, 15:14 -0700 schrieb Dennis Allison:
Zope 2.7.6, ZEO,
Python 2.4.1 (yes, I know it is not yet official but ...
^^^ if you use it, you are on your own to fix or at least
_file_ bugs.
ZEO runs on the same machine but is accessed through an internal network
Am Dienstag, den 07.06.2005, 12:03 +0100 schrieb Joe Bezier:
Hi there,
By any chance are you trying to test a ZSQL method that doesn't
(shouldn't) need any query parameters? For some reason (and I'm not the
guy who can tell you why...) these types of tests always break - try
adding
Am Montag, den 06.06.2005, 20:51 -0700 schrieb Jason Leach:
hi,
I have a site developed with CSS. We just translated the site to
German. The problem I have is with some embedded graphics. For
example:
#rightcolumn h1 {
background: transparent url(i/news_title.jpg) no-repeat top
Am Sonntag, den 05.06.2005, 00:05 -0500 schrieb Edward Huixquic:
Thanks Dieter for your kind reply,
Here is a complete (a bit long, sorry for that) example of what is
happening, here are some code pieces that shows this behavior:
DTML:
Am Sonntag, den 05.06.2005, 16:39 -0400 schrieb Leticia Larrosa:
Hi:
I installed the PyXml package, and appear in the c:\Python24\Lib
\site-packages folder and i want to import a module of that library
from an external method:
import xml.dom.ext
But i can't import from an external method
Am Sonntag, den 05.06.2005, 17:33 -0400 schrieb Leticia Larrosa:
Thanks to Tino Wildenhain.
Tino Wildenhain wrote:
Zope on windows is packaged with own and right version
of python, which is 2.3 for all current Zopes.
Zope on Debian (for example) too?
of course :-) Also on netbsd
Am Freitag, den 03.06.2005, 13:38 -0700 schrieb Varun Parange:
hi,
which are some POP3 servers i can download for free, which are
interfaceable with Zope
There arent. Neither commercial nor free. Dont think pop3 is
interesting anyway. I think I saw some IMAP code but I dont know
where.
Am Freitag, den 03.06.2005, 22:52 +0200 schrieb Dieter Maurer:
...
What you almost surely want is:
ModuleSecurityInfo('email.Encoders').declarePublic('encode_base64')
This part is currently not documented in great detail.
Thanks for finding and pointing out.
Am Freitag, den 03.06.2005, 16:58 -0400 schrieb Paul Winkler:
...
Thats funny. I do the same and it works.
What zope versions are you guys running?
Just now I saw something that *may* be related,
some imports that were fine on zope 2.7.3 are giving me
trouble on 2.7.6, but this is a
Am Samstag, den 04.06.2005, 20:10 +0200 schrieb Dieter Maurer:
Varun Parange wrote at 2005-6-3 13:38 -0700:
which are some POP3 servers i can download for free, which are interfaceable
with Zope
For Linux (almost surely *nix in general), there
is imap: IMAP4, POP2 and POP3 mail server.
Am Freitag, den 03.06.2005, 11:09 -0600 schrieb Nikko Wolf:
Brian Sullivan wrote:
how do i upload a file in Zope using a python script??
http://www.zopelabs.com/cookbook/1006887320
is probably a place to start.
On that topic: I've got my file upload working properly (it
Am Donnerstag, den 02.06.2005, 10:34 -0700 schrieb Varun Parange:
hi,
i am having problems importing encode_base64
i have created a product in which i have specified:
'''
from AccessControl import allow_module, allow_class, allow_type
from AccessControl import ModuleSecurityInfo,
Am Mittwoch, den 01.06.2005, 22:15 -0300 schrieb Fernando Lujan:
Hi,
I need a Calendar or WebDav product wich runs with Zope, allow me to
share my calendar with others users using mozilla Calendar, Sunbird.
evolution, outlook and so on...Something like OpenGroupware. Do
someone have a good
data in your script using 'data' property:
fileData = container.myFile.data
...
beside the fact its a not really public attribute, it isnt
even garantied to be s simple string. Most of the time
its a Pdata object chain.
And yes, file/image really lack file semantics.
--
Tino Wildenhain [EMAIL
-get remove --purge zope
first to get rid of all debian traces and then remove
the zope where you installed it. (Should really be just one
directory for the zope and one per instance depending how
you installed it.)
--
Tino Wildenhain [EMAIL PROTECTED
Am Dienstag, den 31.05.2005, 15:34 -0400 schrieb Kate Legere:
I may be asking this in the wrong place but I have a tal page where I want
to use python to display only the most recent addition to a folder of files.
I can sort the folder and return all the files easily with:
return
Am Dienstag, den 31.05.2005, 15:38 -0400 schrieb Jim Abramson:
sort() on a sequence does not return anything. It operates on the
[mutable] sequence in place.
sequence is a module in Zope. So she indeed was right.
___
Zope maillist - Zope@zope.org
Am Montag, den 30.05.2005, 13:05 +0800 schrieb Ismet Dere:
I also like DTML a lot, found it way too easy to understand and simple to use.
I wonder how DTML is more easy then an equally simple
python expression in a script?
Lazy people should love ZPT since it saves a lot of typing
compared to
Am Samstag, den 28.05.2005, 06:47 -0700 schrieb Varun Parange:
hi,
is it possible to send mails with attachments using Zope MailHost??
if so,...how do u achieve it?
If you have a simple product like this:
EmailTools/__init__.py
--- contents
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...
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
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
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
(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
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
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
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
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
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
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__
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
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
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
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
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
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
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
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
301 - 400 of 522 matches
Mail list logo