Andreas Jung wrote:
--On 14. Dezember 2005 12:54:56 -0700 Nikko Wolf
[EMAIL PROTECTED] wrote:
So you could try this instead:
for item in itemList:
try:
context.afolder.manage_delObjects([item])
except:
continue
Wa... DON'T DO THAT. You should
Jonathan wrote:
I am trying to catch a 'BadRequest' exception in the following python
script excerpt:
for item in itemList:
try:
context.afolder.manage_delObjects([item])
except BadRequest:
continue
NameError: global name 'BadRequest' is not defined
The following would
External methods can certainly use the built in Python open function.
However, I'd shudder at the thought of creating an Excel file rather
than a plain-text CSV (comma separated values) file, since the former is
(I presume) closed-source and binary, whilst the latter is simple text,
human
Dieter Maurer wrote:
Nikko Wolf wrote at 2005-10-14 15:37 -0600:
I'm trying to allow users to delete objects that have been accidentally
created. I have criteria for what that means, but since I *DO NOT* want
them to delete object except by this method, I want to avoid granting
Chris Withers wrote:
Nikko Wolf wrote:
I'm trying to allow users to delete objects that have been
accidentally created. I have criteria for what that means, but since
I *DO NOT* want them to delete object except by this method, I want
to avoid granting Delete objects to them (non
I'm trying to allow users to delete objects that have been accidentally
created. I have criteria for what that means, but since I *DO NOT* want
them to delete object except by this method, I want to avoid granting
Delete objects to them (non-Managers).
Can this even be done? At the base
[EMAIL PROTECTED] wrote:
I'd like to run Zope/Plone in a chroot jail.
How determine all dependencies to make this possible??
(What does it need outside of the zope instance home?)
Go ahead and create the 'jail' and add what files you think it needs,
and keep adding missing files until it
Dieter Maurer wrote:
You are aware that you will not get a list (but a tree) when you
look down from some starting point?
I suspect he meant a list in the HTML - he is using ul and li tags
there.
But Dieter, can you elaborate on what you mean? Isn't the result from
objectValues() a
Andreas Jung wrote:
--On 30. Juni 2005 22:27:37 +0100 John Poltorak [EMAIL PROTECTED] wrote:
I have some code which here:-
ul tal:condition=python: context.objectValues(['Folder'])
li tal:repeat=item python: context.objectValues(['Folder'])
a href=ABSOLUTE_URL
Ian Bicking wrote:
I'm surprised this has never come up for me before, but now I want to
render a recursive data structure and I'm at a loss how I might do
that in ZPT. Or, what the best workaround would be. E.g.:
['a', 'b', ['c', ['d', 'e']]]
Becomes:
ul
lia/li
lib/li
ul
lic/li
See: http://epydoc.sourceforge.net/ (which I have not yet used).
Andreas Jung wrote:
--On 30. Juni 2005 13:48:19 +0200 gabor [EMAIL PROTECTED] wrote:
generally.. if i have a reference to an object.
how do i find out what his methods are?
By determining its class or meta_type and then by
I prefer:
emacs with ExternalEditor - to edit ZODB objects,
emacs with TRAMP - to edit native filesystem files via SSH, see:
http://savannah.nongnu.org/download/tramp/
emacs via FTP (with AngeFTP or with TRAMP) is also good for both of
these when configured. But be aware that content
John Poltorak wrote:
My links list consists of simple lines such as
org-1,First link
org-2,Second Link
org-x,Another Link
How do I prepend a hardcoded path to org-1 instead of what is getting
generated?
I would like to see the link for org-1 being generated as
John Poltorak wrote:
If I create individual pages for a website as sub folders of a sites main
folder, how do I control the sequence of pages if I automatically generate
a set of links to all the folders?
See the FileLibrary example, probably located at:
Help!
I'm trying to develop a filesystem-based Product (here 'ABCD') and
unless I remove the ABCD folder from my Products directory, I get the
following error IN THE MANAGEMENT INTERFACE.
Is it possible to determine what's causing the problem? After multiple
restarts, I did a global Find
Nikko Wolf wrote:
I've implemented a workflow (in Plone Workflow,
... and so I moved this question to the Plone list. D'oh.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
I've implemented a workflow (in Plone Workflow, derived from
DCWorkflow), and would like my reviewers to see a worklist portal.
However, since I have two reviewer roles that must independently review
the document, I have two intervening states in my workflow (ie: needAB
then either needA or
Dieter Maurer wrote:
Nikko Wolf wrote at 2005-6-7 14:25 -0600:
...
- The primary purpose for the site's existence is to manage some
content files (text/ml) and allow a workflow process on those.
The workflow will likely change and hopefully will have minimal
programming
Dieter Maurer wrote:
Nikko Wolf wrote at 2005-6-7 14:25 -0600:
- I do not want ANY access by unauthorized users. Obviously they
must be able to reach a login page, and get instructions on how
to request an account, password reset, etc.
Put all content in a subfolder
Dieter Maurer wrote:
Nikko Wolf wrote at 2005-6-7 14:25 -0600:
- I do not want ANY access by unauthorized users. Obviously they
must be able to reach a login page, and get instructions on how
to request an account, password reset, etc.
Put all content
I've been using Zope (w/Plone) for some time now and am still trying to
understand how best to architect the solution for my site.
I'm presuming I need to create a Product for the new types of
objects/files I want, but even on that topic I'm not completely convinced.
My objectives and
2) I also need to serve up web-based forms and allow the user to create
XML content based on a user-selected schema. Something
like what Chiba (http://chiba.sf.net/) is targeting. Of course,
though, that isn't a Python/Zope solution. Has anyone seen anything
that works?
Now, if you're uploading files to Zope, rather than the file system,
it's a little different, in that you have to get the data from an
object, and you'll probably have to split it by newline yourself.
John Poltorak wrote:
This is the way I had been thinking of setting it up, but can't
Three questions, in order of importance (to me):
1) Is it possible to validate an (uploaded) XML file against a schema
(currently on the Zope server)?
What, if any, extra packages are needed?I want to use this in my
upload forms to alert the user if their files are invalid.
2) I
24 matches
Mail list logo