Erik Billing escribió:
Ok. Thanx. But why is it like this? I imagine that deleting an object in
a folder where I do not have permission to delete every object, or the
folder itself, is a quite common task. Using the manage_delObjects and a
proxy really feels like I'm fighting the zope securit
En/na [EMAIL PROTECTED] ha escrit:
Suppose I have a variable foo that has value "request/name|nothing".
Is it possible from a Python Script to have this evaluated as a TAL
expression?
AFAIK TALES machinery ($ZOPE_HOME/lib/python/Products/PageTemplates)
can't be accessed from restricted code.
En/na baiewola ha escrit:
I didn't find anything on zwiki.org about this issue, and I tried
Googling with no success. If you have experienced this issue, would you
please tell me how you fixed it?
http://zwiki.org/1269AddingA054ZwikiThroughTheZMIFailsBecauseOfACaseMismatch
HTH
_
En/na kevin7kal ha escrit:
I'm doing some work with Five and have an aquisition related issue.
first, zope is zope 2.9.3
The trouble is with accessing the attributes of objects stored in the
number property in class2.
class2 must inherit from ExtensionClass.Base (or some subclass, like
Acquisi
En/na kevin7kal ha escrit:
Ok, thank you for that.
I can create the list of objects from the __of__(self) attribute without
the wrapper error now,
but I still cannot access that attribute through zope.
Your description is vague. A traceback could be useful.
Maybe the problem is security rela
En/na kevin7kal ha escrit:
Ok, thank you for that.
I can create the list of objects from the __of__(self) attribute without
the wrapper error now,
but I still cannot access that attribute through zope.
Here is my code again, along with my zope content.
Another thing I've missed, class1 isn't
En/na kevin7kal ha escrit:
I've changed my code a bit, adding the docstring, Persistent to all
classes and
__allow_access_to_unprotected_attributes__ = 1 to all classes. Still, I
recieve the same error.
Sorry, my fault, should be __allow_access_to_unprotected_subobjects__.
If it does work th
En/na Alan ha escrit:
Hi!
I need a very simple DB in Zope, a table with 5 columns, less than 100
entries, to write, read and update, nothing else. Is Gadfly a serious
option? Do l loose my database if Zope is restarted? Which other
option, easy to use? A tutorial?
Take a look at PropertyTools:
En/na Jesper Steen Steffensen ha escrit:
This won't work:
Roles are matching
I get an error that says key error - outer_role doesn't exist.
It doesn't matter if I prefix the inner dtml-in as well. (I've read it
isn't necessary though)
Why won't the prefix work fo
En/na beno - ha escrit:
Here is the error it throws as reported through the TTW:
Site Error
An error was encountered while publishing this resource.
*KeyError*
Sorry, a site error occurred.
Traceback (innermost last):
number is defined *only* in the block where you define it and enclosed
En/na [EMAIL PROTECTED] ha escrit:
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
AR - DA - 08
^ octal literal
HTH
___
Zope maillist - Zope@zope.org
http://mail.zope.
En/na Dennis Schulz ha escrit:
I would like to build a tal loop that renders a list of elements
(widgets in my case) in a table.
(for example I have a list of 9 items, then it renders a table: five
rows with 2,2,2,2,1 items)
the table has 2 columns, so i would need to open and close the table ro
En/na michael nt milne ha escrit:
Traceback (most recent call last):
File "", line 1, in ?
File "/opt/Plone-2.5/lib/python/Zope2/__init__.py", line 51, in app
...
File "/opt/Plone-2.5/lib/python/ZODB/lock_file.py", line 42, in lock_file
fcntl.flock(file.fileno(), _flags)
IOError: [Er
k.
HTH
--
(@ @)
oOO(_)OOo--
<> Ojo por ojo y el mundo acabara ciego
/\ Alexis Roda - Universitat Rovira i Virgili - Reus,
xception, 'Invalid file name %s' %
escape(file)
HTH
--
(@ @)
oOO(_)OOo------
<> Ojo por ojo y el mundo acabara ciego
15 matches
Mail list logo