This is something that I still don't quite understand.
I have a set of (python, Folder derived) objects, which are children of
a Folder derived python class. Each of these in turn has another,
related python object.
/
a
ab1
ab2
ab3
I realize you've already worked around this problem, but I've seen this
on some installations of IE. The solution I've found is to delete all
cookies from the client.
-Randy
-Original Message-
From: Glenn Gillis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 31, 2000 8:57 AM
To:
Try this:
_properties = (
{'id':'classdays', 'type':'multiple selection','mode':'w',
'select_variable': 'days'},
...)
days = (
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday'
)
-Randy
-Original Message-
From: Ronald L. Roeber
From: Ron Bickers [mailto:[EMAIL PROTECTED]]
If this is true, it explains clearly Zope's behavior. It's really a
browser
"feature" and not a Zope issue at all.
Yes, that's the problem.
My solution is to use a custom UserFolder, which sets a temporary cookie
when a normal HTTP login is
You can't use DTML tags inside an expr="" attribute; the value of expr
is python code.
To access the sequence-item variable from python, you need:
_['sequence-item']
So, try something like this (untested):
dtml-in expr="REQUEST.form.items()"
dtml-in expr="testSQL(text=_['sequence-key']
dtml-in ...
dtml-if sequence-even
bgcolor is white
...
dtml-else
bgcolor is grey
...
/dtml-if
/dtml-in
If you really need the "resultset number", you can use sequence-number.
As for dtml-sendmail and news, it only sends mail via SMTP, so it
can't be used to post
You will get 0 rows if you use max_rows=0.
-Randy
-Original Message-
From: Ron Bickers [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 10:05 AM
To: Ron Bickers; Andy Dustman; Randall F. Kern
Cc: [EMAIL PROTECTED]
Subject: RE: [Zope] ZMySQLDA problems after upgrade
I've been porting my product from my own private session manager to use
CoreSessionTracking 0.6, and am having a problem with lots of conflict
errors.
I've got a session_id_mgr in the root, configured as per defaults, and a
session_data_mgr also in the root, using the RAM base container.
Then I
Are you starting zope with ./start, or otherwise including -D when z2.py
is executed?
That will cause Zope to try to write to the terminal when an FTP
connection is made. Since the terminal is gone, Zope dies.
-Randy
-Original Message-
From: Pablo Bleyer Kocik [mailto:[EMAIL
What's wrong with AbstractCatalogBrain.getObject()? Doesn't that work?
-Randy
-Original Message-
From: Casey Duncan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 3:45 PM
To: R. David Murray; [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Calling Catalog from python
Sorry if these have already been fixed in 2.3.1, I haven't had time to
upgrade yet.
I fixed a small bug in SecurityInfo that made
SecurityInfo.setPermissionDefault() impossible to use:
191c191
self.roles[permission_name] = rdict.keys()
---
self.roles[permission_name] = rdict
I had that problem a while back but forgot to report it to Mr.
Transparent Folders (sorry...)
Anyway, this patch to TransparentFoldersPatch.py should fix you right
up:
def _getattr(self, name):
# This is the new ObjectManager.__getattr__(). If an object by
the
# given ID is
I haven't worked with this code closely in a few months, but as I recall
permissions that are acquired are stored as a list, and those that
aren't are stored as a tuple.
if type(self._View_Permission) == type(()):
# done, this permission isn't acquired above this point
Furthermore, I
Try adding something like this in your render method (haven't tried
this, but from a poking around the code in the DocumentTemplate
directory in the past this seems about right):
import VSEval
expr = VSEval.Eval(variable_you_want_to_evaluate)
value = expr.eval(md)
-Randy
-Original
I may just be missing something obvious here, but it seems like there is
a hole in ZODB.Transaction.Transaction.commit and Shared.DC.ZRDB.TM.TM,
that can cause external transactions (those that use the TM mixin class,
like psycopg) to be abandoned (never get committed or rolled back).
Let's say
_.SecurityGetUser()
-Randy
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
The documentation is in lib/python/AccessControl/DTML.py :)
From: Chris Withers [mailto:[EMAIL PROTECTED]]
dtml-var _.SecurityGetUser().getUserName()
as for simplifying _.SecurityGetUser().getUserName(), BasicUser defines
__str__ to return getUserName(), so dtml-var SecurityGetUser should
If I understand your scenario, you are trying to run two instances of
Zope on a single machine, talking to a ZEO server?
That won't work :)
Neither Unix nor Windows knows what to do with two processes trying to
open the same port for listen. I'm surprised the second Zope instance
even starts.
I was just reading the Zope 2.4.0 plan on dev.zope.org, and I have two
questions:
1. Will Unicode be supported (UTF-8 encoding) for results, posted data,
marshaled arguments, etc?
2. Will the BDB storage be standard with 2.4? Transactional Undo sounds
_very_ nice.
Thanks,
-Randy
19 matches
Mail list logo