Hi,
The case is like this:
dtml-var "some_dtml_method(_.None, _, para='blablabla')"
Works fine.
dtml-call "some_dtml_method(_.None, _, para='blablabla')"
The system complains the para being unknown. How come?
cheers
Dirksen
__
Do You Yahoo!?
Hi,
I just realized I need to split a potentially pretty long textfield
input from a web form into 2000 character chunks, for input into a
database. I see a lot of string functions in DTML, but none that
looks like it will do this..
I'm hoping to use this as a workaround for the seeming
Chris Beaumont wrote:
Hi,
I just realized I need to split a potentially pretty long textfield
input from a web form into 2000 character chunks, for input into a
database. I see a lot of string functions in DTML, but none that
looks like it will do this..
Use a Python Script:
On Fri, Dec 15, 2000 at 08:48:18AM +0100, Jerome Alet wrote:
On Thu, 14 Dec 2000, Evan Simpson wrote:
From: seb bacon [EMAIL PROTECTED]
I imagine the fact that I can make it work by adding index_html is the
most telling point, but it's not telling me anything ;)
Leaving off
Hi
i install Poll-0.7.1 and try to add it.
but i get an erro like this:
Cannot locate object at:
http://192.168.190.238:23456/Test_Folder/manage_addProduct/Poll/manage_addSa
mplePollItem
Traceback (innermost last): File
/dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/Publish.py, line
Hi,
Thank you for your answer.
At 15:19 13-12-00 +0100, Dario Lopez-Kästen wrote:
- Original Message -
From: "Jose Soares" [EMAIL PROTECTED]
Subject: Re: [Zope] multiple selects are not allowed
from ZSQL Methods User's Guide, last row on pag. 22:
"Note that no more than one SQL select
Diny, why do you need to execute multiple selects in one SQL-Method?
Belief me, you don't want to know ;)
I'm building a database application for the drugstore department.
Veterinarians can find medicines by searching on animal, ingredients,
diseases etc. When they've found one medicine
On Thu, 14 Dec 2000 22:10:20 +, seb bacon [EMAIL PROTECTED] wrote:
I'll continue my research by eliminating elements until I've nailed down
exactly the bit that's messing it up. Right now, though, I have to go
to bed. Meanwhile, any comments?
Something very strange is going on.
I am
I have just upgraded to DreamWeaver 4.0. Lo and behold, it has webDav
support.
I can open the site in DreamWeaver and it looks just great. It would be a
really, I mean REALLY, nice management interface for Zope.
Two problems though:
1) I cannot open my dtml methods in Dreamweaver as they
Hi listies,
On a client's server I created a ZCatalog, but when using "Find Items to
ZCatalog" and clicking on "Find" in the form, Zope raises the "list index
out of range" error shown in detail at the end of this e-mail. Then I took
the whole Data.fs, put it on one of our servers, where
Sorry about that - the message re zcatalog and reindexing just sent
itself - unfinished! then crashed and failed to save in sent. v strange,
but to complete ...
If I edit an instannce of my zclass and change a keyword from say europe
to Europe then the search works correctly but the following
I had some reports yesterday of the Core Session Tracking development code
not working against recent Zope 2.2 releases, so I removed dependencies in
the code on the Interface module which were causing the incompatibilities.
CoreSessionTracking 0.1 will work against Zope 2.3a1, but not against
I just realized I need to split a potentially pretty long textfield
input from a web form into 2000 character chunks, for input into a
database. I see a lot of string functions in DTML, but none that
looks like it will do this..
string slices.
somestring[:1999] is the first 2000
On Fri, 15 Dec 2000, Steve Drees wrote:
somestring[:1999] is the first 2000 characters of somestring.
Not to be a poseur but:
somestring[:1999] is the first 1999 characters of somestring, because
in Python indices begin at 0, e.g.:
a="0123"
print a[:3] gives "012" which are the first 3
Manage_addSamplePollItem is a 'legacy' mapped to addItem (see
Poll/__init__.py) and Hotfix_2000-12-8 shuts down the legacy mechanism. I
went into itemAdd.dtml changed it to use addItem directly.
Bill.
On Fri, 15 Dec 2000, Kaeidinejad, Shahram wrote:
Hi
i install Poll-0.7.1 and try to add
The Doctor What wrote:
* Michael Bernstein ([EMAIL PROTECTED]) [001214 01:06]:
I read your access rule, and it seems like you've got it set
up to ignore the gTLD, so that www.gerf.org and www.gerf.com
etc. get routed to the same object automatically. Is that
correct?
Yes. I have
I tried your code and it works fine both ways for me, are you sure that
para exists in the second scenario.
DR
Dirksen wrote:
Hi,
The case is like this:
dtml-var "some_dtml_method(_.None, _, para='blablabla')"
Works fine.
dtml-call "some_dtml_method(_.None, _, para='blablabla')"
The
I'm running Zope on a Windoze 2k machine (no, I'm
not happy about the situation ;P ) and I'm a Perl programmer by training.
Has Perl Scripting support been ported to Win yet and if so could someone
possibly run me through the procedure of installing it (I'm a bit of a newb to
installing
On Fri, Dec 15, 2000 at 11:42:23AM -, Mayers, Philip J wrote:
How would I go about making LoginManager authenticate them on the basis of
the certificate subject?
Apache will validate the certificate for me (by passing a valid CA cert to
it's configuration) and I'm running over PCGI, so
On Fri, Dec 15, 2000 at 12:47:26PM +0100, Max M?ller Rasmussen wrote:
I have just upgraded to DreamWeaver 4.0. Lo and behold, it has webDav
support.
I can open the site in DreamWeaver and it looks just great. It would be a
really, I mean REALLY, nice management interface for Zope.
Two
On Fri, 15 Dec 2000, Mike Kelland wrote:
I've got about 3/4 of my application built in Zope (entirely in dtml
I'm afraid to say) but I'm reaching a point where it's difficult to
continue with only DTML (things like complicated database structures
and validation of input fields) and since I
Hi to all
Finally I compiled the Popy module (the 1.4) and I obtained the
PoPymodule.so file
I copied the module in the [ZopDir]/lib/python directory
I installed the ZPoPyDA.0.7
but When I start Zop this error occour:
Traceback (innermost last):
File
On Fri, Dec 15, 2000 at 12:31:49PM -0500, Brian Lloyd wrote:
FYI - I spent a good part of yesterday fixing a lot of
DAV support issues in Zope.
Yes, I have been updating my server and testing out the clients.
Dreamweaver 4 WebDAV has the following issues (confirmed with their
Technical
THANKS TO ALL for your help But I solved the Probs with the PoPy DA.
Ciao
Paolo
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Hello,
I am a new zope user. I have just uploaded an existing web site into my
zope database.
However, I have been using cgi scripts which run perl programs on my
site to search for data this aspect of the web site does not seem to
be working properly.
I wonder if zope can handle this?
best
Hi Paolo, you should post your solution to the mailing list so that if
others run into your same problem they can find your solution by searching
ht emailing list archives.
Just a thought.
Eric.
// -Original Message-
// From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
I want to take a moment to express my sincere gratitude to those who created
ZWiki.
We are embarking on a significantly large development project.
Communications are always problematic in those situations. However, the
ZWiki tools have improved communications and the global knowledge store by
Dirksen writes:
dtml-call "some_dtml_method(_.None, _, para='blablabla')"
We do this often (Zope 2.1.6) and it works as expected.
Dieter
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
Curtis Maloney writes:
a href="dtml-var " 'adr_change_frm?f_id=%sf_name=%s' % ( id, name ) "
fmt=url_quotec/a
Be careful:
In general, the part after "?" must be quoted differently
from the part before.
After "?", a blank must be coded as '+',
before "?", is must be unchanged.
seb bacon writes:
IE does not get last 11 bytes
- it's always the last 11 bytes that are missing, however large the
page is
- I've sent exact copies of the HTTP headers to the server, using
telnet, and there's no problem there
I made the experience that IE is very
seb bacon writes:
the Content-length is consistently reported as 14 bytes too
short. This is regardless of the actual length of the document.
Why this should have a knockon effect on a small subset of MS
browsers, I don't know. Especially confusingly random is the
Hi everyone,
I would *really* appreciate some advice about a problem with a ZClass I
created. This product is a Job Board that our H.R. department can use to
post openings and the public can view. I began by looking at the very nice
"Build a Searchable Job Board" How-To at
The problem lies in adding an instance of the job board ZClass at which
point Zope reports an "Invalid Date-Time String".
You might have considered this already, but you're not supplying a
default date in the DateTime field of the form. This can cause problems,
because there's a bug in zope
On Fri, 15 Dec 2000, seb bacon wrote:
The problem lies in adding an instance of the job board ZClass at which
point Zope reports an "Invalid Date-Time String".
You might have considered this already, but you're not supplying a
default date in the DateTime field of the form. This can
This is for Jos:
I ran into the same problem today. I had previously used this method,
and it works better than LocalFS for my purposes. Anyway, be absolutly
sure that your form says:
form method=post action=whatever method="multipart/form-data"
...
/form
Then you should be able to access
I would like to generate the necessary DTML Documents and Z SQL Methods to
provide list, add, update, and delete capabilities for each table in a MySQL
database. I know (in principle) how to parse the results of describe table
queires and create reasonable default files with the proper sql and
Jerome Alet wrote:
On Fri, 15 Dec 2000, Steve Drees wrote:
somestring[:1999] is the first 2000 characters of somestring.
Not to be a poseur but:
me either ;^)=
somestring[:1999] is the first 1999 characters of somestring, because
in Python indices begin at 0, e.g.:
Actually, it
The three first are the most recognized brands for content management
software, at least among industry journalists. For anyone previously
involved with content management of a large scale site, Interwoven's,
Broadvision's and Vignette's high-end suites, respectively, are
probably the default
Itai Tavor wrote:
I have the following ZClasses, with matching Specialists:
Product, Graphic, Order, OrderLineItem. When a customer adds a product
to their order, they have to provide a graphic file which will be
printed on the product (imagine buying a lunch box with your cat's photo
Hi Josh,
I use KeywordIndexes a lot.
Just for kicks, I implemented what you describe below in Zope2.3 grabbed
fresh from CVS just now.
I used DTML Documents for the objects to catalog, and I added a lines
property called KW to each one.
I queried the catalog using syntax like
dtml-in
Josh Zeidner wrote:
Hi,
Currently I am wrestling with "keyword" indexes in ZCatalogs. How do I
query the ZCatalog for all records of objects indexed on a particular
keyword. For instance if my index is named MediaKeyword ive tried:
dtml-in "Catalog.searchResults( MediaKeywords =
I had some reports yesterday of the Core Session Tracking development code
not working against recent Zope 2.2 releases, so I removed dependencies in
the code on the Interface module which were causing the incompatibilities.
CoreSessionTracking 0.1 will work against Zope 2.3a1, but not against
From: Itai Tavor [EMAIL PROTECTED]
In Python Methods I could do urllib.quote(...). This doesn't work in
Python Scripts. Is quote considered a security risk?
No, but only the modules available to DTML are importable by default. You
would need to provide security declarations in order to
Chris Withers wrote:
Rik Hoekstra wrote:
Hm, reading this... just a loose comment.
In light of the awkward search interface of ZCatalogs, would it be a good
idea to make a search interface for ZCatalog ZPatterns based? T
I'm starting to feel like a stuck record on this, but lots of
Chris Withers wrote:
Marc Conley wrote:
boolean queries seem not to work. Should boolean queries work using Catalog
or is it
necessary to use ZCatalog instead to get that functionality?
I'm not sure boolean queries work in either. If they do, anyone know
where their syntax is
Chris Withers wrote:
Casey Duncan wrote:
In doing some more digging in UnTextIndex.py there I do see support for
parens and quoted phases, although in practice they do not work. If I
find time I will delve into this further.
Cool, if you document it anywhere, please let us know...
Josh Zeidner writes:
dtml-in "Catalog.searchResults( MediaKeywords = ['ouch'] )"
This should work.
Alternatively: "MediaKeywords = 'ouch'".
dtml-in "Catalog.searchResults( MediaKeywords in ['ouch'] )"
This calls the catalog without any keyword arguments
and with a single positional
Josh Zeidner writes:
This seems like the obvious result: BUT: it depends if you want a AND/OR
type search.
ZCatalog combines several search terms for a single index with
"OR" and search expressions for different indexes with
an "AND".
Dieter
Itai Tavor writes:
In Python Methods I could do urllib.quote(...). This doesn't work in
Python Scripts. Is quote considered a security risk?
"quote" not, but maybe "urllib".
Dieter
___
Zope-Dev maillist - [EMAIL PROTECTED]
seb bacon writes:
the Content-length is consistently reported as 14 bytes too
short. This is regardless of the actual length of the document.
Why this should have a knockon effect on a small subset of MS
browsers, I don't know. Especially confusingly random is the
Evan Simpson wrote:
From: Itai Tavor [EMAIL PROTECTED]
First, when trying to add a Python Script, I sometimes get:
Error Type: AttributeError
Error Value: tx
Thanks! Fixed in CVS.
return container.domains
returns AttributeError.
This does not occur if I try to
51 matches
Mail list logo