OK, so the TextIndex of a ZCatalog says that it "stems and stops" the
words before indexing them and, one would hope, before searching
for them.
I always thought that "stem" meant "derive the stem of the word" (so
as to make the index smaller). I just peeked at the Splitter.c
source code for
On Wed, Aug 16, 2000 at 05:31:29PM +0100, Carlos Neves wrote:
You directly change a nonpersistence participant object.
As stated in
http://www.python.org/workshops/2000-01/proceedings/papers/fulton/zodb3.html :
[...]
but mainly... RTFM ;-)
Well, thanks, but too bad the only FM I've been able
Evan Simpson wrote:
- never expose a "bare" object, or even one with an incomplete context
Why? You can get at it through aq_base anyway, surely?
Only from unrestricted code. DTML and (CVS) Python Methods only let you
access aq_parent. This only applies to objects that are part of
Chris Withers wrote:
How should I got about petitioning
for
dtml-var anobject aq_context to become valid syntax?
There's one little (okay, big) problem with this idea: aq_context
strips the security context. In fact, it could be used to confuse the
security machinery.
Let's say I'm Joe
Hi,
A quick question. How do I compare folder instances ?(or any instances
as a matter of fact).
Here is a simple code showing what I tried:
dtml-in "objectValues(['Folder'])"
dtml-var "_.getitem('sequence-item')"
dtml-var "images"
dtml-var
Carl Robitaille wrote:
dtml-var "_.getitem('sequence-item')"
dtml-var "images"
dtml-var "_.getitem('sequence-item')==images"
Folder instance at 85cf958
Folder instance at 85cf958
Congratulations, you've just been bitten by the thing that confused me
for half a day...
You see, while they
Hi Criss,
Thanks a lot for your quick response!! Since I'm a new Zope user, I
guess I'll just cut-paste the line you suggest without trying to
understand for the moment ;-)
Carl
Carl Robitaille wrote:
dtml-var "_.getitem('sequence-item')"
dtml-var "images"
dtml-var
Carl Robitaille wrote:
Hi Criss,
Thanks a lot for your quick response!! Since I'm a new Zope user, I
guess I'll just cut-paste the line you suggest without trying to
understand for the moment ;-)
Nih!
Welcome to the deep end ;-)
cheers,
Chris
Steve Alexander wrote:
I can't think of a nice alternative to mean dtml-/foo/bar/baz; "from
the root, traverse as follows".
dtml-.foo.bar.baz;
not nice, btu I can't think of anything better :(
cheers,
Chris
___
Zope-Dev maillist - [EMAIL
Chris Withers has suggested extending the DTML Entity syntax to include
traversal information.
For example: dtml-foo/bar/baz;
I just checked the XML standard. This isn't allowed in XML entities.
http://www.w3.org/TR/1998/REC-xml-19980210#NT-Nmtoken
EntityRef ::= '' Name ';'
NameChar
Hi,
Just for the record, Criss' suggestion didn't work for me. I don't
quite get why though Here's the code again, where images is a
Folder:
dtml-in "objectValues(['Folder'])"
dtml-if
-, that;s a hyphen to you
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Shane Hathaway" [EMAIL PROTECTED]
Cc: "Jonothan Farr" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 17, 2000 9:57 PM
Subject: [Zope-dev] Aaargh, no safe seperators :S
Shane
Shane Hathaway wrote:
That would probably work, but isn't kind of ugly? Now we'd be forcing
people to realize that colons can be path separators. Only Mac users
know this. :-)
Well,
/ and \ are bad XML
; is bad XML, and _really_ ugly
. confuses when there's .'s in ids
Any other
This patch changes lib/python/DocumentTemplate/DT_HTML.py so that you
can use paths for traversal in DTML entity syntax. The delimiter is ':',
as it is valid as part of an XML entity, but not valid as part of a Zope
object id.
You can use dtml-:foo:bar; to ensure that traversal occurs from the
Phil Harris wrote:
-, that;s a hyphen to you
and that can appear in ids ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
How about
as in
dtml-pathtofileobjectwotsit;
nah, looks really ugl
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Phil Harris" [EMAIL PROTECTED]
Cc: "Shane Hathaway" [EMAIL PROTECTED]; "Jonothan Farr" [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday,
Phil Harris wrote:
How about
as in
dtml-pathtofileobjectwotsit;
nah, looks really ugl
And I'm damn sure that's bad XML ;-)
Looks like the colon it is then, there's even a patch now ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL
From: Chris Withers [EMAIL PROTECTED]
Ah, okay... so really, prettymuch all Zope objects should be wrapped
with only one or two exceptions, most of which aren't actually objects
as such but simple data types?
Yes.
Also, there is a
very limited range of "natural" ways to construct the
On Thu, 17 Aug 2000, Andre Schubert wrote:
My Questions are: is there a way to delete the last transaction from
One answer: use tranalyzer to find the offset of the start of the
last transaction and truncate the file there.
Data.fs, and can i backup the Data.fs when Zope is running. Is the
On Thu, 17 Aug 2000, Martijn Pieters wrote:
No clues as to where you'll find the stopword code, but the Persistence
thingy is caused by the magic that ZODB performs: it initializes the
correct Persistence module when it itself is imported. This way Jim
managed to have ZODB3 and BoboPOS2 exist
From: "Chris Withers" [EMAIL PROTECTED]
Looks like the colon it is then, there's even a patch now ;-)
There a patch sitting around waiting for DTML syntaxgeddon which allows
slash-separated paths in object names everywhere, not just in entity syntax.
That could easily be extended to also allow
The couldn't load state errors are probably from a product not getting
initialized properly. If you set up your STUPID_LOG_FILE environment
variable and point it at a file before starting Zope (if you haven't
already), you may be able to see a failed product init before the state
errors, which
Yeah, it's running 2.2.1b1 and it's still hosed. :-( When Ethan gets
back from LinuxWorld, I'm going to try to have him update to the latest
CVS and see if we can pin the problem down.
I added logging code to the catalog that was *supposed* to make it
easier to track down why these keyerrors
I forgot to mention:
The ProxyPass works ok. After some work in the management folder, Apache
sends me the error message:
"The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Could not connect to remote machine:
I use Zope with Apache 1.3.12 via ProxyPass. This is a nice workaround,
because I don't have to struggle with the Rewrite stuff.
My httpd.conf settings are the following:
VirtualHost 1.2.3.4
ServerName www.leimental.net
ProxyPass / http://1.2.3.4:8080/leimental.net/
Where can i download older versions of Zope. I need Zope 2.1.6. on solaris.
I previously did my project on RH6.2 / Zope 2.1.6 and i have this week to
get my project work on Zope 2.2.0 with solaris. It doesn't work (it doesn't
pass authentication, when i try post data to another dtml document)
Hello all,
I'm new to Zope - extreme apologies if this question has already
been answered, but I'm simply at wits end here...
Linux 2.2.14
Python 1.5.2
Zope 2.2.0 from source wo_pcgi
Zserver
I simply cannot for the life of me log in as non-superuser.
I've installed and
On Thu, Aug 17, 2000 at 01:58:04AM -0700, Corey wrote:
Hello all,
I'm new to Zope - extreme apologies if this question has already
been answered, but I'm simply at wits end here...
Linux 2.2.14
Python 1.5.2
Zope 2.2.0 from source wo_pcgi
Zserver
I simply cannot for
Hello,
I'm doing a method for getting vCards from a directory.
It works fine, until i want to put some dtml-var with the x-vCard
MIME type
1 - If i only put hard coded text it works fine. I get the usual vCard
page on Netscape.
Content-type:text/x-vCard
And upon Thursday of August 17, the illustrious Jarkko Veijalainen spake thusly...
Where can i download older versions of Zope.
snip
http://www.zope.org/Products/Zope/
___
Zope maillist - [EMAIL PROTECTED]
And upon Thursday of August 17, the illustrious Martijn Pieters spake thusly...
On Thu, Aug 17, 2000 at 01:58:04AM -0700, Corey wrote:
Hello all,
I'm new to Zope - extreme apologies if this question has already
been answered, but I'm simply at wits end here...
snip
I simply
Unfortunately I am getting an "Invalid Date-Time String" error when
calling the manage_editProperties. I tried some possible solutions from the
mailing lists but failed so far, e.g. using ZopeTime or ZopeTime().DateTime()
Any help?
...
dtml-let
Hi all
I'm trying out jcNTUserFolder-0.0.7.zip now. It's looking great,
but it looks like I've run across some gotchas.
1. I copied the entire installation from one computer to another::
robocopy \\corpcomms\ZopeCorpComms \\jean\programs\ZopeCorpComms /MIR
(which under W2K does an
Will Zope.org implement OQL?
FR
Martijn Pieters wrote:
See http://www.zope.org/Products/Zope
I agree there should be a link from the Products page.
I'm just wondering what '2.0.0-donotuseme' was? ;-)
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
Hi,
How can I open a database connection from dtml?
Thanks in advance,
Tom.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Le 17 Aug 00, à 11:31, [EMAIL PROTECTED] a écrit :
I'm doing a method for getting vCards from a directory.
It works fine, until i want to put some dtml-var with the x-vCard
MIME type
I respond to my own post.
It seems that vCard doesn't like a line WITH propertyname AND
WITHOUT
albert boulanger wrote:
If I have an existing squishdot instance and want to gain the plain
text feature, is there a recipie for doing so? Is it simply replacing
the squisdot product or do I need to modify the existing one after
adding the new product version?
whoops, sorry, forgot to
Hi,
sorry, found it by myself somewhere in the zope directory:
for the people who are interesed:
manage_open_connection
manage_close_connection
Regards, Tom.
At 14:46 17/08/2000 +0200, Tom Deprez wrote:
Hi,
How can I open a database connection from dtml?
Thanks in advance,
Tom.
From: "Nicholas Lo" [EMAIL PROTECTED]
I just wonder if Xron works with ZSQL Methods.
I know that ZSQL Methods only works with the request thread.
Thanks.
I can think of no reason Xron would not work with ZSQL Methods; but I
haven't tried it, because I have no SQL in my applications. Xron's
Vincent wrote:
Is it possible to access Python function within a ZClass ?
If yes, how should I do that ?
Two methods
1) create External Method (python code in separate file placed in
Extensions directory + information which file should be called in Zope
management interface)
2) create
Stephan Goeldi wrote:
I forgot to mention:
The ProxyPass works ok. After some work in the management folder, Apache
sends me the error message:
If the proxy rules are all working fine to start with, then there
shouldn't be any reason for them to suddenly stop working.
"The proxy server
Hi,
This is my first message to the list...
I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The
system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz...
The Zope is running with Apache, using the ProxyCache and SiteAccess to
convert all requests from port 8080 to
Hi all
Owww, now I understand nothing anymore.
There's an NTUserFolder in '/' with user zopeman (on the local machine)
with Manager and Debugger roles (Debugger doesn't have any permissions,
it's just used to trigger the output of debugging information).
'standard_html_header' contains:
On Thu, 17 Aug 2000 15:42:17 +0200, Marcin Kasperski
[EMAIL PROTECTED] wrote:
Vincent wrote:
Is it possible to access Python function within a ZClass ?
If yes, how should I do that ?
Two methods
1) create External Method (python code in separate file placed in
Extensions directory +
Forgive me for this stupid question:
How to assing a string value to a variable in DTML?
for example:
dtml-let a='a'
b='b'
dtml-var "a+b"
/dtml-let
it causes error, not what I expected:
given a="", b="", and eval a+b to ""
Thanks
iap
dtml-let a="'a'"
b="'b'"
dtml-var "a+b"
/dtml-let
Notice the quotes. See the How to on Let tags:
http://www.zope.org/Members/michel/HowTos/LetTagHow-To
DR
"iap_y2fun.com" wrote:
Forgive me for this stupid question:
How to assing a string value to a variable in DTML?
for example:
Hi Christiano (nice first message... :) )
First of all, lets define slow. What does slow mean? Have you tested it with
AB (apachebench)? You sure it is not your connection? Watched it in TOP? My
guess is that with 2.1.6 (straight) on that system you should be able to get
about 200 requests per
Thanks for the input. I ended up putting the info I needed into the url
dtml-var "someurl?a=blah"
I put it in a method that is usuble from a couple of forms and it seems to
work.
Thanks again.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kapil
Hi,
When I create a ZClass instance from an external Method I create by default
the instance in the same place where is located my external method (see the
code below).
How to select a different place in my script where will be create the ZClass ?
Code
def addZClass(self,id,data):
Thanks for the input.
-Original Message-
From: Curtis Maloney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 5:59 PM
To: Stuart Foster; Zope List
Subject: Re: [Zope] How to use RESPONSE.redirect ?
On Wed, 16 Aug 2000, Stuart Foster wrote:
I want to use redirect to call
I've been trying out mysqlUserFolder lately, but have had quite a major
problem with it.
Basically, everything works fine - for a while - then it starts to
intermittently fail as the load to the server increases, until it is
completley broken, with the system error below.
Has anyone else come
I'm trying to search a zCatalog to find all the objects containing a certain
type of sub-object.
Right now, I use a dtml-if inside the result loop, but the result count is
obviously wrong.
There must be a better way to do this, right?
Jean-François Ménard
Intranet DPAS
Pratiques d'affaires
Hey all,
Say I have a fully functional (and more importantly, working) Product
will call A.
I want to extend this Product's capabilities so I wish to derive another
class from it, call it B.
No problem,
class B(A):
.
The question is, (I think the answer is no) is there a way to
Tony McDonald wrote:
I'd suggest using UserDB. It's been pretty good for us. I looked at
mysqlUserFolder (seemed overly complex), GUF (couldn't get it to
work) and even LoginManager (too much Zen needed) and came back to
UserDB.
One of the reasons I was trying to get mysqlUserFolder to
Yep Site Access is the product to go for, it includes help on how to use
with Apache if I recall.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming for the People
- Original Message -
From: "William JOYE" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
At 7:22 pm +0200 16/8/00, [EMAIL PROTECTED] wrote:
Hello Tony, sure I would come for such a pint offered, but for now, I am in
just the same situation - without access to this tab of any ZSQL method. So,
please, should you get an answer (I mean, a solution) could you be so kind
to share it with
At 4:12 pm +0100 17/8/00, Stephen Harrison wrote:
I've been trying out mysqlUserFolder lately, but have had quite a major
problem with it.
Basically, everything works fine - for a while - then it starts to
intermittently fail as the load to the server increases, until it is
completley broken,
On Thu, Aug 17, 2000 at 05:01:01PM +0300, Jarkko Veijalainen wrote:
problem is that it don't allow ANY of my users (including managers and
superuser) to pass Authentication when i'm trying to POST data to another
dtml document, which calls external method?
How i manage this? I'm
Are there restrictions or problems to use SiteAccess ?
-Message d'origine-
De : Andy McKay [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 17 août 2000 17:53
À : William JOYE; [EMAIL PROTECTED]
Objet : Re: [Zope] Zope and VirtualHost
Yep Site Access is the product to go for, it
Well by inheritance B has all the methods, properties etc you have in A. So
the answer is yes, if A has the foobar method then B will have a foobar
method.
Or do I misunderstand your question?
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming for the
I'm running Zope 2.2.0 over NT Server 4.
I installed Python 1.5.2 and the latest Win32 Extensions, then unzipped
NTUserFolder1.3.zip into C:\Program Files\ZopeServer\NTUserFolder, then ran
both the init.py and NTUserFolder.py files after entering my Domain and PDC
info into NTUserFolder.py
I
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has something
else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of
dual processors.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Get a handle to the object where you wish to create the object then create
the object.
For example: newobj = getattr(self, 'folderA')
will give you folderA in self. The new object will be created in folderA.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Good job Chris.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming for the People
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 17, 2000 5:36 AM
Subject: [Zope]
After re-installing zope on NT box, I noticed that I am now running two instances of
the Zope service. I was able to disable one instance but how can I permanatly remove
the service and how do I know which Zope service is running?
I am pretty sure (61%) that in the original release of 2.2.0 there was
something about a speed increase. One talked about on single processor
(20-40%) and the other was dual processor (60-80%). It partly has to do with
that "one line of magic code" in the z2.py.
Ethan? Paul? DC? Care to shed
Hi Toby
In the source of NTUserFolder from end of last year I see:
## Experimental support for authenticating from a domain
## (rather than the local computer) Use this at your own
## risk. If you do, please let me know how you get on. I will
## only include a user interface for these
From: William JOYE [EMAIL PROTECTED]
Date: Thu, 17 Aug 2000 18:06:08 +0200
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: RE: [Zope] Zope and VirtualHost
Are there restrictions or problems to use SiteAccess ?
I have been using it for a couple of different sites (2 served off of one
On Thu, 17 Aug 2000, Andy McKay wrote:
Get a handle to the object where you wish to create the object then create
the object.
For example: newobj = getattr(self, 'folderA')
will give you folderA in self. The new object will be created in folderA.
Isn't it actually that he wants to do the
Hi list
I've seen others having problems with this as well ..
I made a ZClass, not consciously touching anything about
PTK. Now when I export it ('ccDoc.zexp') and import it into
another Zope, I get::
Error Type: ImportError
Error Value: No module named PTKDemo.PersistentUserSource
I am pretty sure (61%) that in the original release of 2.2.0 there was
something about a speed increase. One talked about on single processor
(20-40%) and the other was dual processor (60-80%). It partly
has to do with
that "one line of magic code" in the z2.py.
Ethan? Paul? DC? Care to
On Mon, 14 Aug 2000, William BC Crandall wrote:
Andy Dustman's documentation for what seems like a nice
MySQL interface puts it clearly:
PWindows is EMnot/EM a supported platform.
Yeah, that's just me. I don't support Windows in any way. However, MySQLdb
does work there, so I am
I have limited experience with ProxyPass. I have many Zope installations
(2.1.4, 2.1.6, 2.2.0b2, 2.2.0) on all sorts of different hardware
configurations (all RH Linux) and non of them are slow. Most are running
just plain ZServer but one (and the most hit) is running behind Apache with
Zope.cgi.
(man this is coming up a lot today)
It is not ZServer vs Apache but ZServer alone or behind Apache. Either way
you are using ZServer.
ZServer will do all of your http requests and as a stand alone server it
will work just fine. It is faster than putting Apache in front of it and is
certainly
Christiano Anderson wrote:
The TOP result is:
Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIMECPU COMMAND
8035 nobody11 310 13M 13M cpu0 174:10 29.70% python
30% seems qutie high to me.
What are
Hi J,
Thanks a lot for replying my message! :)
Do you have any example of the best Apache and ProxyCache configuration to
running zope?
My configuration looks like this:
IfModule mod_proxy.c
ProxyRequests On
#ProxyReceiveBufferSize 65536
ProxyReceiveBufferSize 0
CacheRoot "/www/proxycache"
Corey wrote:
I keep seeming to notice that the docs are constantly referring
to Zserver as the recomended choice for the http backend. Why
is this? Should I not attempt to integrate our Apache server
with Zope, and simply use Zserver instead?
Well, ZServer seems to be the best way to go.
Hello Everyone,
We just release Version 0.9.1 of our Interbase Database Adapter. This
release fixes a memory leak when fething BLOB data and also dramtically
improves performance when fetching BLOB data. Thank you and the code is
at http://www.zope.org/Members/RETierney/gvibDA
Regards,
Bob
How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000
instead of Thursday 17 August 2000. I hope someone can solve this problem.
Michel Houben.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
The 1.0 version of EventLogManager (a configurable logging facility
product) depended on code that only existed inside of the CVS version of
Zope. It would not install cleanly as a result on Zope 2.2.1b1 and
previous. A new release (1.1) is available at
- Original Message -
From: "Andy McKay" [EMAIL PROTECTED]
To: "Daniel Rusch" [EMAIL PROTECTED]
Sent: Thursday, August 17, 2000 11:21 AM
Subject: Re: [Zope] Product inhetitance question
Ah... ok sorry you are right, stuff outside the class doesnt get
inherited.
What I did for this was
Say I have a fully functional (and more importantly, working) Product
will call A.
I want to extend this Product's capabilities so I wish to derive another
class from it, call it B.
No problem,
class B(A):
.
now in class B I want to add a new property.
Is the a way of getting
class A:
_properties = [ {'a':'A', 'aa':'AA'}, ]
class B(A):
_properties = [ {'b':'B', 'bb':'BB'}, ]
_properties = _properties + A._properties
b = B()
print b._properties
Works for me.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming
30% is not bad... depends on what it is doing and for how much time. My
experience is that it can pop up to as much as 90% (on a slower CPU like 166
Mhz) but only for a split second. At idle (no one doing anything) it should
be using no CPU.
PID USER PRI NI TSIZE SIZE SWAP RSS SHARE STAT
Stephen Harrison writes:
Error Type: SystemError
Error Value: Failed to import class ImplicitAcquirerWrapper from module
Acquisition
Traceback (innermost last):
File /usr/local/zope/2-1-6/lib/python/ZODB/Connection.py, line 396, in
setstate
SystemError: (see above)
Francois-Regis CHALAOUX writes:
Hi,
When I create a ZClass instance from an external Method I create by default
the instance in the same place where is located my external method (see the
code below).
How to select a different place in my script where will be create the ZClass ?
(Post #2)
I'm trying to search a zCatalog to find all the objects containing a certain
type of sub-object.
Right now, I use a dtml-if inside the result loop, but the result count is
obviously wrong.
There must be a better way to do this, right?
Jean-François Ménard
Intranet DPAS
Pratiques
R. David Murray writes:
This:
b!--#var eggs --/b
dtml-call "manage_changeProperties({'eggs': 'blue'})"
p!--#var eggs --
results in:
bgreen/b
pgreen
did i miss something?
Hmm. That should have worked. You could try
ZCatalog doesn't do well on hierarchical searches like this. The way
you're doing it (without some sort of change to your objects'
structures) is pretty much the only way. There's a "ZTopics" product
floating around that is supposed to provide functionality like this, but
1) I don't know if
This worked for me, what a hack
_ properties=[]
for i in range(0,len(A._properties)):
_properties.append(A._properties[i])
_properties.append({'id':'RenderStandardHeader', 'type':'int','mode':'w'})
tuple(_properties)
Andy McKay wrote:
Hmm i just tested it in Zope
I can't believe it, but I didn't have the last comma ({'b':'B', 'bb':'BB'}, )
and that's what was killing me .agh
BTW, I noticed you are using lists of dictionaries instead of the "standard"
tuple of dictionaries. I don't know if there are any consequences to doing
this. Anyway, since
Aargh isnt that annoying.
Gosh you are right im using lists of dictionaries... my Zope code is
correct, but that example is wrong. The example still works though...
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming for the People
- Original
What if an object id contains a period?
--jfarr
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
To: Steve Alexander [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 17, 2000 11:59 AM
Subject: [Zope-dev] Cool, we like the . :-)
Steve Alexander wrote:
I
Jonothan Farr wrote:
What if an object id contains a period?
Yeah, Steve noticed that too :S
What about dtml-:folder:object;
?
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts
Hallo,
der Zugriff auf den Mootcourt-Server von den Rechnern im HiWi-Raum funkt. nach
Lokalisierung des Firewallproblems
seit heute wieder.
Die User tom und bernhard koennen wieder uneingeschraenkt arbeiten.
Gruesse
Marcus
__
(0 Marcus Schopen
So far so good,
Next hurdle, at least the problems have been cut down to hurdles from walls.
I have a folderish product say myFolder, in the manage_addMyFolder function I
want to create an object of my product B. so I do this:
def manage_addmyFolder(self, id, title='',
Chris Withers wrote:
Jonothan Farr wrote:
What if an object id contains a period?
Yeah, Steve noticed that too :S
What about dtml-:folder:object;
?
That would probably work, but isn't kind of ugly? Now we'd be forcing
people to realize that colons can be path separators. Only
Jonothan Farr wrote:
What if an object id contains a period?
Yeah, Steve noticed that too :S
What about dtml-:folder:object;
How about dtml-zope.foo.bar; or dtml-app.foo.bar;
//Johan Carlsson
___
Zope maillist - [EMAIL PROTECTED]
Not to sure there Im afraid. The obvious answer is the manage_addB doesnt
exist whereas manage_addDTMLDocument does.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming for the People
- Original Message -
From: "Daniel Rusch" [EMAIL PROTECTED]
1 - 100 of 109 matches
Mail list logo