..
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> 3/2
1
>>> 3.0/2
1.5
Python performs integer division when handed integer arguments;
you need::
or equivalent.
Tres.
--
===
Tres Seaver
ut it:
> gopher://gopher.heatdeath.org/00/the%20gopher%20manifesto.txt
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
_
enever they are reloaded.
Globals.PersistentDictionary is a wrapper class which does does
this kind of registration in its '__setitem__' method.
HTH,
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://w
in
> > actual pathnames to get to the methods (mainly so I can edit
> > ZClasses with HTML-Kit). Strangely enough, even with the
> > modifications, I see this same thing.
Tres.
--
===
Tres Seaver
On Fri, 8 Dec 2000, Andreas Jung wrote:
> On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote:
> >
> > Could it be that you don't derive your product class (directly or
> > indirectly) from Acquisition.Implicit? Otherwise, I'm stumped.
> > I use
>modified (some of the security mechanisms are bound to be
> >broken). But it is a start anyway. ;)
>
> Does this let you write the methods back?
I was just able to change a DTML method in a ZClass (after patching
a single indentation error). Adam, you rock!
I am attaching my
way ;-)
For standard GET and PUT requests, WebDAV is indistiguishable from
"normal" HTTP.
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
___
created, and use xdb/gdb to figure out what code was running
when the bug juice squirted?
At a higher level, what add-on products are you using with Zope?
Tres.
--
===
Tres Seaver[EMAIL PROTEC
om Acquisition.Implicit? Otherwise, I'm stumped.
I use just the code you describe inside the PTK, for instance.
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers"
> self.X = 1
> self.Y = 2
>
>
> def testexternal (self,REQUEST,RESPONSE):
> A = AClass()
> return A
>
> Thanks in advance,
> Sean McGrath
Tres.
--
===
Tres Seave
?
>
> Sorry for so many questions, but I haven't found a lot of info
> about using the dtml-tree together with external methods.
>
> Lars
I have a proposal on dev.zope.org for adding CORBA client support
to Zope:
http://dev.zope.org/Wikis/DevSite/Proposals/CorbaClientIntegra
/Local/Business/1114digi.htm
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
___
Zope maillist - [EMAIL PROTECTED]
http://lists.
ting them would require
a relatively small amount of effort; in fact, we are planning to
do that in the relatively near future.
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Deal
ng. I think I
would write a script which walked the hierarchy, calling a method
to index one (or a few) messages at a time. This script might
also need to pack the database at intervals; the catalog is a
bit space inefficient across mutliple index/reindex opera
> The Doctor What <[EMAIL PROTECTED]> wrote:
> * Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]:
> > Chris Withers <[EMAIL PROTECTED]> wrote:
> > 'lambda' is actually a keyword, not a function, and hence works
> > fine in PM0.1.7. 'map()'
re not
permitted in through-the-web code (they would need to be added
to the '_' namespace, like 'str()', et aliae).
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations
> version."
I think we need to distinguish between "support" and "consulting".
DC is primarily a *consulting* company (we build custom software for
our clients), which also sells support contracts for Zope. Because
the PTK is not (yet) a "released product"
AIL PROTECTED] mailing list, which seems
to average 70+ messages per day (2000+ per month).
* 409 subscribe to [EMAIL PROTECTED], which runs around 20 messages
per day / 600 per month.
* The zope.org websites have been averaging 200,000 unique visits
per month.
Tres.
--
> +
> +
>
>
>
The 'portal_catalog' object is actually a wrapper around a
standard ZCatalog instance. I would look at
'ZTopics.Topic._contentsSet()' to see what it is trying to
do with the catalog. I would log also
e place they get support for using Zope: right here on
the lists:
mailto:[EMAIL PROTECTED]
http://lists.zope.org/pipermail/zope-ptk
http://lists.zope.org/mailman/listinfo/zope-ptk
(I watch the PTK tracker, as well).
Tres.
--
cumentation/Developer/Models/ZODB
and, in particular:
http://www.zope.org/Documentation/Developer/Models/ZODB/ZODB_Architecture_Storage_Interface_Info.html
for more than you want to know. :)
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Dig
the list (signing up, archives, etc.):
http://www.zope.org/Products/PTK
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
___
Zope
ic requirement of any system that uses passwords, but if it can't
> be done just admit it. After all, zope is still *quite* good without it. ;-)
See http://www.zope.org/Members/tseaver/user_settable_passwords.
Tres.
--
===
Tres
gt;
>
> also found out that
>
> ZopeTime().strftime('%Y/%m/%d')">
>
> works as well.
This would do a match on the dates themselves:
See $SOFTWARE_HOME/lib/python/DateTime/DateTime.py for more
fun with dates.
Tres.
--
(assuming it has a reasonable index to use,
that is).
Sorting won't work as expected with TextIndexes (but then, what is
"expected" in that case?)
> I'm not sure if I use the right syntax so could someone post an sample code
> here please ?
Here is a working snippet fr
od, the two wrappers are compared for identity (which is bogus).
I recently fixed this in response to a Collector issue:
http://classic.zope.org:8080/Collector/1650/view
You can get the patch from that page, or just wait for Zope 2.3
(RSN, I'm sure).
Tres.
--
===
if the user has not yet authenticated, suppressing
the display of a link which would trigger authentication (if the edit
method is guarded, as it should be, by the same "Edit Foo" permission)
can leave that user in a Catch-22: they aren't authenticated, and they
can't trigger auth
tor is an *ancient* piece of software -- you probably want
Ken Mannheimer's Tracker::
http://www.zope.org/Members/klm/TrackerWiki
Tres.
--
=======
Tres Seaver[EMAIL PROTECTED]
Digital Creations
e. This behavior
is targeted directly at DTML's original purpose, which was to generate
HTML reports against the objects published by Bobo/Zope; the
interoduction
of more powerful programming constructs (the let tag, expression syntax)
have not always jived well with the mor
of calling the sequence-item,
> but they all return the same error. Could anyone suggest how I should
> do this? Thanks in advance...
You were very close -- the trick here is that 'objectValues' returns
real objects, not IDs. Try this (untested
ny interactions
between SiteRoot-style virtual hosting and the catalog; try a
collector search to see what turns up:
http://classic.zope.org:8080/Collector
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers"
barf.
--
=
Tres Seaver [EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.o
Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote:
>
> Bob Barter wrote:
> >
> > Is there a way for an object to be notified that it has been
> > modified?
>
> Use ZPatterns 0.4, it allows you to be notified of events - change,
> add and delete of objects.
I may be confused, but normally the ob
eboard object's Contents tab).
The bad news here is that there are some weirder interactions
possible, as well (several recent Collector issues come to mind);
the good news is that they are almost all related to the UI -- the
underlying object system is pretty sane.
Patches gratefully accept
ce.
>
> Anyone shed any light?
>
> Oh yes, I have applied the imap.py.diff patch to the python library.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations"Zope Dealers"http://www.zope.o
ldn't find it.
Look for a DTML file called "byline" -- I think it is the culprit.
> Also, I've deleted a couple of test members I created but they still
> show in the members listing. How can I reindex to remove them?
--
=
problem in the Windows world; the only
solution is to serialize *all* access to the DB (even concurrent
*reads* can foul each other up -- blech!)
Tres.
--
=
Tres Seaver [EMAIL PROTECTED]
Digital Creations "Zop
can't have a ZClass instance function as the index_html for a folder
out-of-the-box, though.
Tres.
--
=
Tres Seaver [EMAIL PROTECTED]
Digital Creations "Zope Dealers" http://www.zope.org
___
Zop
tag itself, which would solve your
problem nicely. For the details, see:
http://www.zope.org/Members/4am/DTMLWiki/NamedDTMLInLoop
Hope this helps!
Tres.
--
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations"Zope Dealers"http://www.zope.org
___
lFS to 'open()' the
batch files in binary mode, e.g.,
if string.lower( filename[:-4] ) == '.bat':
return open( filename, 'b' )
else:
return open( filename )
Tres.
--
=
Tres Seaver
Erik Enge wrote:
>
> Tres Seaver <[EMAIL PROTECTED]> writes:
>
> > If you fill out the ID and press 'Add', le voilĂ !
>
> Yeah, your right! But that still means I need to do
> some hacking about, and me and my semantics does not
> like that ;-)
>
&
e" kicks in before the
MI gets up to the top of the product, and so the nested "project
team" class is the only one found; again, the MI wires up the
"Add" button directly, with no list.
* If you had more nested classes, you would see a list of them
(but
601 - 642 of 642 matches
Mail list logo