From: Chris McDonough [mailto:[EMAIL PROTECTED]]
This is not true. The behavior is the same as before... the plans to make
restart optional were waylaid by complications. ;-(
Another thing with products. Whenever I do a referesh with the refresh tab,
another instance of the product shows up
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Hmmm... interesting, maybe it's time to find a new editor...
Try www.ultraedit.com .
It's not free, but it ain't expensive, and I use it 12 hours/day with joy.
Has only crashed on me twice in 4 years.
regards Max M
From: Geoff Armstrong [mailto:[EMAIL PROTECTED]]
In DTML there doesn't seem to be a way of saying, "I have this string with
the name of an object, now fetch me the object."
Shure there is:
dtml-var "some_container_object[remote_id].title"
As far as I remember.
regards Max M
A snippet I use
From: Ron Bickers [mailto:[EMAIL PROTECTED]]
Using Zope we knew that we would reach situations which may be
unresolvable in the short term, and could not make significant business
decisions with so many unknown factors and lack of any way to circumvent
problems.
What in the world does that
From: Chris Withers [mailto:[EMAIL PROTECTED]]
problem. Zope is more closed in that regard. Well anyways when you know
enough about Zope to make a hack, you probably also know how to do it the
right way.
Sadly, that's true, but changing I think...
Oh don't misunderstand me. I am just about
From: Mayers, Philip J [mailto:[EMAIL PROTECTED]]
Not a problem per-se, just a query - how are people dealing with things
like
this:
snipped lots of stuff...
Anything more elegant?
I don't know if it is something like this you mean:
self.document.form['test:list'].value = 'stuff to fill in';
From: Timothy Wilson [mailto:[EMAIL PROTECTED]]
You have id as a form variable. You will be disappointed by its
behavior.
Care to elaborate on the problems with using id as a form variable.
You can be easily bitten by acquisition on this.
If you call a dtml-method that wants to use your
From: Francois-regis Chalaoux
Since long time ago I have this reflexion. Now I have installed so many
thing in Zope the add list combobox is huge :
There are too many meta-type item in add list. Is is possible to
organize sublist of meta-type into products sublist ?
aha ...
Max M's law $1:
I have installed zope on port 8080 on a win 2K machine.
It runs nicely, but due to firewalls and other reasons it has to run on port
80. So I have added zope.pcgi etc. to the IIS. And it runs nicely.
But when I try to use a manage page I cannot log in without being a member
of the win2K domain,
From: Oleg Broytmann [mailto:[EMAIL PROTECTED]]
I can assure it is. I run zope.net.ru in debug mode, and did debugging
of an External Method that draw the left column. After I modified the
source file Zope reread it, sure.
I have never had problems with that either. It autorefreshes nicely.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Any ideas?
I feel like I am *so* close to making this work!
It sounds like you have some sort of escape problem, with special characters
being handled as text.
Don't you have to treat the image as text when inserting them into mySQL and
then
From: Andrei Belitski [mailto:[EMAIL PROTECTED]]
I add a list property to a DTML document of type 'tokens' (e.g. '[1, 2,
3]') wenn i try to retrieve it with _.getitem i get '[1,' '2,' '3]'
instead of '1' '2' '3'
How can I get Zope to interpret my property like a list not a string or
whatever
From: Timothy Wilson [mailto:[EMAIL PROTECTED]]
Right now, I've got the dates stored in a TinyTable. I can iterate through
that list and generate the links, but I can't figure out how to display the
table in two columns.
table width=100% border=0 cellpadding=4
tr align=left valign=top
dtml-in
From: Smith Ray [mailto:[EMAIL PROTECTED]]
The cost thrown up in the air was in the order of $AUS20,000 for a
3 year rental, per site (At the moment that is about $US35,000)
When you start talking dozens of sites you quickly start looking
for alternatives!
Zope can easily do most all of
I have a zClass with a multiple selection. The selected items are selected
from a list of id's from a folder.
They are then saved in the zClass as a list of strings.
But when one of the selected items on the folder is deleted the id is still
in the zClass.
Naturally it should be deleted from
From: Jiva DeVoe [mailto:[EMAIL PROTECTED]]
Is it inappropriate to post a job listing looking for Zope
knowledgable coders on this list? I don't see anything in the list
charter about it, but I don't want to be rude. Let me know! Thanks!
It happens from time to time, and I have seen no
I have just upgraded to DreamWeaver 4.0. Lo and behold, it has webDav
support.
I can open the site in DreamWeaver and it looks just great. It would be a
really, I mean REALLY, nice management interface for Zope.
Two problems though:
1) I cannot open my dtml methods in Dreamweaver as they
From: Ragnar Beer [mailto:[EMAIL PROTECTED]]
+ myfolder
index_html
my_external_method
dtml_method_1
dtml_method_2
...
In index_html I want to include either dtml_method_1 or
dtml_method_2, ... (one method for every week of year).
my_external_method tells me
From: Mark A. Pappas [mailto:[EMAIL PROTECTED]]
after the -D. In the start.bat. I tried all kinds of things and never was
able to get zope up on port 80 as a web server (www.whatever.com_ or
XXX.XXX.XXX.XXX). What am I missing?
Your approach sound about right.
Perhaps you are running another
From: Michael Jenner [mailto:[EMAIL PROTECTED]]
Is this easy to do in Zope or ??
VERY easy if you know how. But it also depends on you abilities
Regards Max M
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
From: Roland C. Reumerman [mailto:[EMAIL PROTECTED]]
- in the response method there is a dtml-var data fmt="newline_to_br"
You are allmost there:
dtml-var data newline_to_br
Should do it for you
Regards Max M
___
Zope maillist - [EMAIL
From: Brian Lloyd [mailto:[EMAIL PROTECTED]]
Yes - the whole lame login-as-superuser-create-a-manager-and-relogin
process will be gone in 2.3. At install time you'll create a first
manager and just use that. A "superuser" will not even exist, unless
and until you need it and explicitly create
dtml-in "folderName.objectValues('DTML Document')"
dtml-var title_or_idbr
/dtml-in
-Original Message-
From: Andrei Belitski [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 24, 2000 3:16 PM
To: [EMAIL PROTECTED]
Subject: [Zope] how to display contents of a folder?
Hi
I would
From: Martin Winkler [mailto:[EMAIL PROTECTED]]
Another thought: If Zope would offer s/r, then a bunch of programmers
would stick in their bad behaviour _not_ implementing dtml-var's, because
"it's easy and effortless to replace everything from 'Copyright 2000' to
'Copyright 2001'". But think of
From: seb bacon [mailto:[EMAIL PROTECTED]]
I was about to add my voice to this thread, and say:
what's wrong with emacs s/r (or whatever your favourite ftp-aware
editor is)?
Then I had to do something like Max's example, across 12 different
docs, and changed my mind...
There's probably a
From: Randall Kern [mailto:[EMAIL PROTECTED]]
I've seen several doc tidbits suggesting one create ZClasses derived from
their
Python classes, sticking all the biz logic in the python classes, and the
presentation in the ZClasses...
Could someone provide some insight into why this is better
???
___
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
http://lists.zope.org/mailman/listinfo/zope-dev )
From: Robin Becker [mailto:[EMAIL PROTECTED]]
zClasses are not written in Python so there is no code to see. Except fot
the dtml code and you can see that when you have imported a zClass
product.
...
I disagree strongly. Many of the useful coding tools need line oriented
Ascii text; where is
Okay, I got the dtml-var filename to work right assuming that that
files are arranged properly according to aquistion, but then when I
try to get the file from another folder like
dtml-var "folder.filename"
It displays the code of that page rather thatn recognizing that it is
From: Stephan Goeldi [mailto:[EMAIL PROTECTED]]
I deleted some products in Control_Panel several times. Some are gone (ok),
some stay and seem to be undeletable. I'm sure someone shows me the way to
delete it from the command line (it's Zope 2.2.2 on RedHat Linux).
You should also delete the
From: Chris Trowbridge [mailto:[EMAIL PROTECTED]]
I know that many people have probobly already asked this, but how would I
do the equivilant of a server side include?
It seems obvious enough from examples that it is merely...
dtml-var filename
but I always end up with either blank
From: Anders Eriksson [mailto:[EMAIL PROTECTED]]
I would like to have the membership and the other parts from PTK added
to the Squishdot (or the other way around - which ever is easiest).
I am afraid that there is no easy way of doing that. It would be like
combining any other 2 applications.
If you want to you could just use Apache as a front end server serving php
pages, and as a proxy to Zope.
That way you can have the best of both worlds.
But I would recommend using Zope, as you will have far greater possibilities
for re-use of your code.
Regards Max M
-Original
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
I have asked this question somewhat differently in another thread but here I
go again from another angle, as it might have been my approach that was
wrong to begin with.
I have a Python product that allready does what I want it to, but I want to
be able to create different views of the products
I would have thought that the two examples below where equivalent but only
the top one works like expected. (It renders the page.)
The second one just shows the source of the vanilla dtml page.
--
test = HTMLFile('vanilla', globals())
--
def test(self):
"A simpe test method"
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Thanks for the reply
testisDocTemp = 1
def test(self,ignored,md):
" A simple test method "
return HTMLFile('skins/' + self.skin, globals())(None,md)
Is this documented anywhere? I have a little trouble using code I don't
understand.
This is a question I guess has something to do with popping an object onto
the namespace, or about me not understanding how stuff works.
When I make a list of objects:
class simple:
def __init__(self, value):
self.value = value
theList = [simple(1), simple(2), simple(3), simple(4)]
From: Bill Anderson [mailto:[EMAIL PROTECTED]]
Is it more important that they be in an order, or that they be in a
specific sequential list?
Actually what is important is that they are integers and in a specific
order. So the datestamp method isn't that feasible for me.
(I'm trying to make a
I am using Zope and Python 1.5.2 on Win2000. I guess that it is a fairly
simple setup.
My Zope site is in a folder called c:\mxmZope, and my vanilla Python is in
C:\Program Files\Python.
usually when I write Python I just use PythonWin to edit and run my scripts.
I then write test in the buttom
This is untested, but an idea:
dtml-in "objectValues()[:-1]" sort=id reverse
dtml-call "REQUEST.set('new_id', id+1)"
dtml-var new_id
It is still subject to failure if 2 or more processes are writing an article
in the same time.
Furthermore it has to find and sort all the items in the folder.
What am I doing wrong here ... please !!
I am trying to make an autoincrementing counter for use in a diskussion
forum. It's purpose is to autogenereate id's for new messages.
It is important that the id's are in order, so I need to make them this way.
I have a zClass (objectmanger) with a
From: Lars Heber [mailto:[EMAIL PROTECTED]]
Sorry, I think you misunderstood me!
I _don't_ want to stop the gif, but it does after the last frame! --
Now I tried the same Zope page in NS and IE, this phenomenon appears only
with
NS...
I did understand you, but I could not replicate your problem
I have a dtml method in a zClass that looks like this:
dtml-sendmail smtphost=theSMTPHost
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: This is a test
A test!!!
/dtml-sendmail
"theSMTPHost" is defined as a property in the zClass. But when i use the
method I get a:
Error Type: error
I am making a mailer zClass where it will only be nessecary to make the form
fields with the values you want to send, then the zClass will give you a
reply on the webpage and send a nicely formatted e-mail.
The problem is that the form elements are unknown but they need to be set up
in
I have made a zClass called "newsProduct" that is articles with predefined
properties.
It works nicely when I am logged on as an Administrator. I can add articles.
No problem.
I also have a site with the following structure
root
news
I want some users to be able to add "news" articles
I have a site structure like this:
root
subfolder
Then i have made a dtml document "index_html" in the "root" folder like
this:
html
headtitletest/title/head
body
dtml-var content
/body
/html
Also I have a dtml method "content" in the root folder
Fra: Kapil Thangavelu [mailto:[EMAIL PROTECTED]]
I think most developers are forced to learn
through trial and error because the docs don't do the components justice
since they tend to focus on working understanding of zope's framework
from dtml. and in the end they are forced to turn to the
--
I have made a very simple class that I am trying to publish thru ZServer:
--
class hello:
"""A very simple publishable objet in zope"""
def
49 matches
Mail list logo