How do I construct a method of an object, so that whenever that method
is called, the current namespace is passed with it?
I.e.:
class myclass:
[...]
def myfunc(self, context):
if context['sequence-index'] == 10:
raise 'sequence-index is
I have composed a proposal to make some small (but hopefully useful)
revisions to the Zope management interface for the 2.3 release. Please
see:
http://dev.zope.org/Wikis/DevSite/Proposals/ManagementInterfaceQuickFix
Comments are welcome until Friday, November 10th. Please enter any
comments at
Okay, the cat is out of the bag (in fact, going to Rio for the
weekend) and the worms are out of the can (better worms than
bugs, anyway). ZUnit, the Product all lazy programmers were so
afraid of, is available for review and download from your usual
shop at http://www.zope.org/Members/lalo/ZUnit
I have a Folder w/cs in my root folder, call it spamcan. Root folder has
a title defined, lets say it is "Spam Central"
A DTML Method in spamcan should display "Spam Central" when doing a
dtml-var title, should it not?
--
Bill Anderson
E PLURIBUS LINUX
I am not sure what you all are talking about, but in anticipation of a more
adequate solution I am using a Gadfly database for a few years (sic!) now.
The table was created with a Z SQL method and is populated with a second Z
SQL method. Every now and then, when a restart of Zope is necessary,
Hi
I have given up trying to manipulate acl_users from DTML for now -
I'm sure it's possible because here and there on this list and on the
Zope site I see hints that it can be done. However, I can't find
(for example) a HOWTO anywhere that describes the API of
acl_users and what you can do with
From: Ender [mailto:[EMAIL PROTECTED]]
First os all. Thank you for the patience. I know it is boring to "Solve
other peoples problems for them", but I am really trying hard myself,
reading the source
of Zope and other products. It's just such a steap learning curve because it
is
My CVS version Zope is hanging strangely and when I keyboard ctrl-c it
I see the following traceback
Traceback (innermost last):
File "C:\Python\devel\Zope\z2.py", line 757, in ?
asyncore.loop()
File "C:\Python\devel\Zope\ZServer\medusa\asyncore.py", line 146, in
loop
poll_fun
Does anybody know, if there is a way to automate GoLive for Zope? I have a
customer who is Mac user. It seems to me, that GoLive is configurable to do
almost every webdesign task without any knowledge. So I think there should
be some upload automatism.
Is there? And are there known problems
on 1/11/00 10:47 am, Stephan Goeldi at [EMAIL PROTECTED] wrote:
Is there? And are there known problems with Zope?
"In theory" it all works fine. GoLive can ftp open dtml files. except
because they are called index_html and not index.html, GoLive thinks they
are text files and not html
On Wed, 1 Nov 2000, Harris Peter wrote:
Failing that, maybe someone can suggest where to look in the
Zope python source to find the methods acl_users exposes.
lib/python/AccessControl/User.py
Viewing HTML sources of management screens may also help a lot.
[EMAIL PROTECTED]
Danny William Adair wrote:
Just had to add an "index_html" to the ZClass, now it works. So it looks as
if "looking for index_html" starts at the ZClass itself.
It happens before then ;-)
index_html=None is always a handy one to add in Python Products so ti
doesn't get acquried from higher
Amos Latteier wrote:
Chris Withers wrote:
There a PDF of it anywhere?
Not yet. I think that O'Reilly doesn't want us to produce any more
public versions of the book until it is published. I'm double checking
with them right now. Take a look at the copyright verbage on each book
page
Robin Becker wrote:
So if I have a path
/A/B/C
I would like to inhibit the behaviour that allows
me to view
/A/B/C/A and /A/B/C/A/B/C etc.
to inhibit the first I can put something like
dtml-if "PARENTS[0].id not in PARENTS[1].objectIds()"
dtml-raise NotFound
Look at ZCatalog...
cheers,
Chris
"Jason C. Leach" wrote:
hi,
Is this correct:
dtml-if _.count(_.str(title_or_id),'Bridge',0)
Spam I am.
/dtml-if
This is part of a larger loop, that prints all the images in a folder with
their titles. I'd like to search the
Hi All,
I feel like a bit of an idiot, but I can't find any info about installing
Zope until Unix - only Windows.
Can anyone give me a quick start guide ??
Much Appreciated
Lee Curtis
___
Zope maillist - [EMAIL PROTECTED]
tom smith wrote:
I think there's a trick where dtml files can be saved as index.html,
and then you create a method that redirects index_html or
/whatever/wherever/ to index.html in the same folder, but I'm not
sure how to do that.
That should be pretty easy . . . Zope will let you add
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
Not yet. I think that O'Reilly doesn't want us to produce any more
public versions of the book until it is published. I'm double checking
with them right now. Take a look at the copyright verbage on each book
page to see
Subject says it all
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
on 1/11/00 2:31 pm, Christopher J. Kucera at [EMAIL PROTECTED]
wrote:
tom smith wrote:
I think there's a trick where dtml files can be saved as index.html,
and then you create a method that redirects index_html or
/whatever/wherever/ to index.html in the same folder, but I'm not
sure how to
I thought for a minute you could add _HTML as a suffix type in GoLive's
network prefsthe icon changed but little else.
Anyone know if GoLive 5 with WebDav can edit dtml files...or Dreamweaver?
thanks
tom
___
Zope maillist - [EMAIL PROTECTED]
"Jason Cunliffe" [EMAIL PROTECTED] writes:
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
Kinda tough to check out/read/find mistakes in a book that's only
available as a set of html pages that aren't full text searchable
This is a really good point.
Just as
Hi,
I'm having a strange problem with my Zope installation I need
some help to solve.
When I try to access the security (manage_access) page of my
root Zope, I get the error listed below:
!--
Traceback (innermost last):
File /usr/lib/zope/lib/python/ZPublisher/Publish.py,
Works for me.
--
E PLURIBUS LINUX
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
At 11/1/00 03:22 PM, Phil Harris wrote:
Subject says it all
Well, not here but it does seem to have fallen back one or more days.
I'm also curious about the zope.org site performance. Zope is said to
capable of a million hits per day on commodity hardware, yet zope.org
receives only about 20%
Lee Curtis wrote:
Hi All,
I feel like a bit of an idiot, but I can't find any info about installing
Zope until Unix - only Windows.
Can anyone give me a quick start guide ??
http://www.zope.org/Members/michel/ZB/
--
E PLURIBUS LINUX
___
Harris Peter wrote:
Hi
I have given up trying to manipulate acl_users from DTML for now -
I'm sure it's possible because here and there on this list and on the
Zope site I see hints that it can be done. However, I can't find
(for example) a HOWTO anywhere that describes the API of
On Wed, 1 Nov 2000, tom smith wrote:
I think there's a trick where dtml files can be saved as index.html, and
then you create a method that redirects index_html or /whatever/wherever/ to
index.html in the same folder, but I'm not sure how to do that. Someone has
shown how to do it on this
Um...
I inadvertently deleted the Data.fs whilst compressing it. Then I
compounded my mistake by not remembering that the storage server still
had the inode open, and closed the storage server.
I have restored from the compressed version of the Data.fs, but it
appears that a day or so of
Hmmm... I don't know if this would apply..but..there *is* a howto on
a method to allow requests for index.html tobe redirected to
index_html. Basically the executive summary is that methods named as
the various possible choices (index.html, index.htm, index.HTML,
etc.) containing the single
Curtis Maloney wrote:
On Wed, 01 Nov 2000, Dylan Chi wrote:
Firstly, just so you don't miss it, PLEASE, do NOT send HTML encoded
messages to this list.
...yeah, and a subject line of "I need help" isn't actually very helpful
:P
Chris
___
Dennis Nichols wrote:
At 11/1/00 03:22 PM, Phil Harris wrote:
Subject says it all
Well, not here but it does seem to have fallen back one or more days.
I just sent a message explaining what happened to this list.
I'm also curious about the zope.org site performance. Zope is said to
On Wed, Nov 01, 2000 at 03:32:07PM +, tom smith wrote:
Anyone know if GoLive 5 with WebDav can edit dtml files...or Dreamweaver?
With Dreamweaver 2.0 I can use File - Open to open and edit a file
with a name like "index_html", but when I define a Dreamweaver "site"
that encompasses files
I wholeheartedly agree with Jason and Chris. I would very much appreciate a
PDF version that could be easily printed, or read with Adobe's Reader. I hope
there is no hesitation over making a PDF version available because of fear it
will cut into sales of the bound volume. I think it would be
I have read a lot about the Apache/Zope/FastCGI configuration in this
list. However, I just wonder if anyone have tried having a FastCGI
Server behind ZOPE behind Apache?My problem is I
have a Apache/Zope site (using proxypass) running for quite some time.
And I'm very happy with it.
On Wed, Nov 01, 2000 at 08:31:09AM -0600, Christopher J. Kucera wrote:
That should be pretty easy . . . Zope will let you add objects that
have dots in the titles, so just put a method "index_html" in the
root folder which has the following line:
dtml-var index.html
That obvious
Hi Lee,
In the Zope book beta version there is a section on installing Zope on
Unix/Linux systems:
http://www.zope.org/Members/michel/ZB/UsingZope.html
- Or -
There are also a few good howtos on the Zope.org site, here's one to get you
started:
Lee Curtis wrote:
Hi All,
I feel like a bit of an idiot, but I can't find any info about installing
Zope until Unix - only Windows.
Can anyone give me a quick start guide ??
http://www.zope.org/Members/michel/ZB/
If you are using RedHat (or one of its derivaties such as
Morten says:
If this sounds interesting, send me an email.=)
Is this one OK?
I'm developing an Outlook/WorldPilot replacement which is much more
modular in design. It will be released under the GPL. When and where
I don't know yet. It stores messages in 'pure' ZODB format (that is,
How can I change the HTML design of QSurvey 0.25?
I want it to use my standard_html_header and footer.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create
My experiences have been with BBEdit 5.x, has anyone tried BBEdit
6.x with DTML?
I've used BBEdit 6.0 for occasional Zope use, and haven't really
noticed a difference against version 5.x for editing DTML - but then
again, I haven't been looking.
The *really* annoying problem with BBEdit 6.0
I wholeheartedly agree with Jason and Chris. I would very much appreciate a
PDF version that could be easily printed, or read with Adobe's Reader.
If you have the full version of Adobe Acrobat (you have to pay for
it, as opposed to the free Reader) you can "Capture" web pages into a
PDF. I
And, of course, I recommend our site http://www.leimental.net.
I'm wondering if anyone can recommend a commercial Zope
hosting service for me.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Try http://www.leimental.net or http://www.goeldi.com (both german language)
500 MHz, 320MB RAM, CHF 49 a month (about
$28 I think). Bandwidth swiss standard.
RedHat Linux.
Try http://www.rackspace.com.
You can start off with a 600 MHz, 128 MB Ram, 30 GB EIDE drive for about
$300 a month.
"Stefan H. Holek" wrote:
On Wed, 25 Oct 2000, Gregory Haley wrote:
i was one of the participants in the recent discussion of zope bulk
mail. i'm wondering about the mechanics of sending the work of the mail
to the actual sendmail server outside of zope. would i do that by
creating
Hi, Stephan
QPages draw themselves. The code is QPageClass:index_html, so replacing
the header information in that method with standard_html_header should
work. You may want to include the css stuff in your header for question
formatting (needs to be in head, and that is why I broke tradition
Fred Yankowski wrote:
I agree completely that the Zope Book beta will get more reviewers,
and better feedback to the authors, if it is available as PDF.
I agree, but this is completely out of our hands and we must focus more
on content issues at this point then distribution issues. All of
Tim Lynch wrote:
I wholeheartedly agree with Jason and Chris. I would very much appreciate a
PDF version that could be easily printed, or read with Adobe's Reader. I hope
there is no hesitation over making a PDF version available because of fear it
will cut into sales of the bound volume. I
Okay, here goes :
I installed the PTK product some time ago, decided that it wasn't where I
needed to be right now and moved on to something else.
Today I finally decided to delete it from my Products folder. Shortly
afterwards, I noticed that both my existing FlexFAQ and ZDiscussion
objects
Jason Cunliffe wrote:
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
Not yet. I think that O'Reilly doesn't want us to produce any more
public versions of the book until it is published. I'm double checking
with them right now. Take a look at the copyright
I am running a Zwiki site at http://www.handhelds.org:8080/wiki. This site has
become invaluable to our growing handhelds.org community as a place to collect
information. But, sadly our zope server keeps dyingNo idea why
Sometimes the zope server can be up for a few days, sometimes only
I am not using the ZODB as the backend, but I did have to patch GUF to get
it to work with zope 2.2.2. Caveat emptor: I have no idea if this patch is
really correct, I pretty much stole the little piece of code from
LoginManage (which has a similar disclaimer).
Martin Andrews
-Original
- Original Message -
From: Michel Pelletier [EMAIL PROTECTED]
Just as open source benefits from real-time peer review, so do
manuscripts
get better when fresh eyes and minds and go over them.
How about 'releasing' a PDF / HTML Doc with header/footers clearly
marked:
'Preview
GIS-like applications are definitely a field where Zope can shine. But
most of the current MAP-Servers are interfacing with a RDBMS where a
lot of the logic is placed into the database. If one thinks of
geographic objects in a way of an object database like Zope, there is
a different architecture
We are pleased to announce a new Zope HOWTO for the community: "Use mod_gzip to
accelerate Zope." (http://www.zope.org/Members/Mamey/mod_gzip).
Mamey has been following the release of the mod_gzip module by Remote Communications
(http://www.remotecommunications.com) since last week.
Working
I have no idea if this will help you. We use PIL, reportlabs and zope to
create P.O.'s, to place a logo on the page we use the following line of
code:
c.drawInlineImage("gclogo_color.gif", .5*inch, 10.*inch,4*inch)
where c is created thusly:
c =
I'm writing to all who responded to my query regarding mapping tools for
Zope or others interested in this issue. In one of the responses, was
the suggestion to start a SIG or Fishbowl.
At this point in time, I'm in a research phase for a project where a
mapping interface will be needed in Zope
Fred Yankowski wrote:
On Wed, Nov 01, 2000 at 08:31:09AM -0600, Christopher J. Kucera wrote:
That should be pretty easy . . . Zope will let you add objects that
have dots in the titles, so just put a method "index_html" in the
root folder which has the following line:
dtml-var
mindlace,
Check out my company's new HOWTO on an additional way to improve performance:
http://www.zope.org/Members/Mamey/mod_gzip
On Wed, Nov 01, 2000 at 11:38:42AM -0500, ethan mindlace fremen wrote:
Zope.org will be on hardware that stretches the notion of "commodity"
soon, but it will
Hello all,
I have setup a query form to query a small MySQL database using
Zope. It consists of:
1. ZMySQL Database Connection (ZMySQLDA)
2. ZSQL method
3. A search interface.
Now, what I want is the user to have the option of viewing the
results in HTML or raw XML. I think there can be
Software Engineers
Join a small, motivated team to create the next generation of web
applications. The successful applicant will be comfortable working hard
to meet deadlines and enjoy the challenge of developing new skills and
innovative solutions on a day to day basis.
Skills Required:
In light of all the hubbub about the Zope book, I thought I would try and
make my own copy of it in PDF format (just for me, of course). I'm finding
that Acrobat doesn't know how to convert the PNG image file type used in the
Zope Book. (or rather, I don't know how to get it to work !) Anyone
I was wondering if anyone here has used Zope to create
bilingual/multi-lingual/localised websites.
I've done a number of bilingual (French and English) projects in recent
years using plain old html where the two language versions had to be kept
mostly symmetrical and its been a bit of a pain as
Eric,
I got Acrobat to recognise the png's by first loading the html nto msword
and then 'printing' the PDF from there.
hth
Phil
- Original Message -
From: "Eric Walstad" [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" [EMAIL PROTECTED]
Sent: Thursday, November 02, 2000 12:58 AM
Subject:
if the xml format is simple you could just do it dtml, it would end up
with some extra white space but it would still be valid.
a dtml method akin to
?xml version="1.0"?
dtml-in mysqlretrieve
item
contentdtml-var content/content
squishydtml-var squishy/content
/item
/dtml-in
Edward Muller wrote:
Sometimes the zope server can be up for a few days, sometimes only a few
hours. I am not sure what is causing this or how to go about tracking it
down. Is there anything I can do?
Any help would be greatly appreciated.
Well, this may just be 'any help'. But A couple
Tim Cook wrote:
tried in the memory in a different machine it worked fine. But
I have had the site go down since.
Should be: I have not had the site go down since.
(maybe I'll learn to proof my emails!)
-- Tim Cook --
Office: (901) 884-4126 8am-5pm CST
Free Practice Management,Inc. |
Edward Muller wrote:
I am running a Zwiki site at http://www.handhelds.org:8080/wiki. This site has
become invaluable to our growing handhelds.org community as a place to collect
information. But, sadly our zope server keeps dyingNo idea why
Sometimes the zope server can be up for
Fred Yankowski [EMAIL PROTECTED] said:
OK, this problem is largely the result of the crappy web-design tool
she's using, but I really have no control over that. The subsite
manage/author doesn't know HTML and would be completely helpless with
Zope's "through the web" editing interface.
You
on www.netcraft.com I looked at the list
with the websites having the
maximum uptime and found - Zope - under the top 10 !
Check it out:
http://uptime.netcraft.com/today/top.avg.html
phil
70 matches
Mail list logo