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.
MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the
same as merchantpayment.
Other databases (Postgresql, Informix) are not.
Perhaps the Access/ODBC interface hides the case-sensitivity while the
direct ZMySQLDA does not ?
Hmm, I'm not very clear about differences
Hallo,
I've got a question concerning versions.
The working with versions in the management screen is obvious to me, but
what about hiding the management-screen and working with them.
I want to add ZClasses programmatically but some users should only be able
to add them after a Controller has
Hi...
You need to open a versioned database connection manually. This is probably
harder than it should be. For more info, see
http://www.zope.org/Documentation/Developer/Models/ZODB and look under
Architecture -- DB.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi,
I spent my week-end learning how to use Zope, it was a nice painful
experience. Nice thanks to Zope itself, painful because of the poor
docs. The How-Tos helped me a lot but it is a real mess.
Here are two questions I did not find the answers :
- how to ask for authentification to see
Hello all,
Why does the Medusa server in Zope not handle GET requests which specify
a full URI? For example, if I have a web server running on web.mydomain.com,
and I want to get a file called "file.html", doing a GET request of the form
GET http://web.mydomain.com/file.html HTTP/1.1
Hi,
I spent my week-end learning how to use Zope, it was a nice painful
experience. Nice thanks to Zope itself, painful because of the poor
docs. The How-Tos helped me a lot but it is a real mess.
We know. :-) Have you checked out the Zope book?
http://www.zope.org/Members/michel/ZB/.
At 09:41 23/10/00, you wrote:
MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the
same as merchantpayment.
Other databases (Postgresql, Informix) are not.
Perhaps the Access/ODBC interface hides the case-sensitivity while the
direct ZMySQLDA does not ?
Hmm, I'm
Hi Folks,
i have a ZCatalog over a bunch of items with attributes A and B. Now I
want to search all elements with attribute A set to value 1 and AT THE
SAME TIME with attribute B set to value 2. So a sort of AND combination
with two different attributes.
How to do ?
Regards
oliver
---
"All
Hallo Chris,
thank you for your reply, but I don't understand what I have to do.
I looked into the documentation but it is obscure to me.
Sven
= Original Message From "Chris McDonough" [EMAIL PROTECTED] =
Hi...
You need to open a versioned database connection manually. This is
At 09:41 23/10/00, you wrote:
Hmm, I'm not very clear about differences between handling of (table,
column) names
in sql-databases, but postgres IS case sensitive (in some sense).
Well I'm confused !!!
I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both
with
the same
Thank you all for helping me out. The hints got me almost there. I have one
unsolved mystery left. What I am trying to do is print the titles from the
DTML Documents in the 'artikelen' folder (and actually another property
called 'inleiding'. I believe the code below should do this, but it does
Hi,
I just want to resume a thread from september. Has anyone else
encountered problems installing Zope (in our case 2.2.2) under Solaris
8? And more important: Do you know a solution?
Python is unable to import the ExtensionClass. I tried it from
commandline
(python 1.5.2 (#1, Oct 19 2000,
hi all,
I am a starter with Zope and i have a simple question.
I need to execute 'start' command to start the server again.
when i tried to do it, it gives me the message:
command not found
I looked at the directory, i can find the start command, and the
permissions are -rwx--x--x.
Can somebody
When installing the actual Version of YihawDirectory
(http://www.zope.org/Members/Roug/Yihaw) by importing it into a
2.2.2 Zope, I got the following traceback. This happens both with
and without the current hotfixes.
Importing it into 2.2.1 equipped with the current hotfixes works
without
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
steve smith wrote:
Anyone have any good, real-world examples using DTML-Sendmail tags? Would
especially appreciate examples integrating SQL queries.
hi steve.
one of the worst things with zope sendmail is that you cannot indent
things the way you might with clean coding use. but, you can
Gaby,
If you are in the Zope directory, since most uni(x)es don't have the current
directory in the path, you need to start zope with './start'.
hth
Phil
- Original Message -
From: "Gabriela Arevalo" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 23, 2000 2:57 PM
Steve wrote:
I'm guessing the the problem is that
dtml-xxx; does an implicit "html_quote" format
on whatever expression you provide.. so
table dtml-set_table_0;
should produce:
table border=quot;0quot; cellpadding=quot;0quot;
cellspacing=quot;0quot;
Which the browser doesn't
Why does the Medusa server in Zope not handle GET requests which specify
a full URI? For example, if I have a web server running on
web.mydomain.com,
and I want to get a file called "file.html", doing a GET request
of the form
GET http://web.mydomain.com/file.html HTTP/1.1
Is it possible to create a ZSQL
Method which has a list-type as
an argument? ..something that
might support a call like this
(or similar):
dtml-call expr="populate_department(dept_id=200,
dept_member_ids=[22,150,89])"
where inside the ZSQL Method I
might iterate over dept_members
dtml-in
Phil,
thanks for your suggestion, i understood it
If you are in the Zope directory, since most uni(x)es don't have the current
directory in the path, you need to start zope with './start'.
but now when i execute the command i have the following message:
Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
it makes my skin crawl. :-)
Amen. That and "...to adminstrate a server". :^)=
Bill
--
E PLURIBUS LINUX
___
Zope maillist - [EMAIL PROTECTED]
[..]
When I try to get the property directly via the browser i get a result of
"1" The default value for lastID=0 to begin with so this sounds plausible,
but when I refresh the browser nothing happens. So I guess that lastID
isn't
updated in the above code.
I think this is a class - object
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
guess how we say in french :)
Here is the solution I found to do the .htaccess feature (I haven't found
where it is written) : I put in my
I am running
Zope 2.1.4 (binary release, python 1.5.2, win32-x86)
Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit
(Intel)]
System Platform: win32
I have several external methods. Just recently, they started to be good for
one run only. The external
Hi,
Is there a place to define the max request size limit zserver can
serve.
Thanx,
Julio Dinis Silva
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your
At 10:42 AM 10/23/00 -0400, Brian Lloyd wrote:
Why does the Medusa server in Zope not handle GET requests which specify
a full URI? For example, if I have a web server running on
web.mydomain.com,
and I want to get a file called "file.html", doing a GET request
of the form
GET
You could also do (and I would recommend it) by using the security system
Zope give you. For example if you go to your root zope folder, click on
security and deselect View for Anonymous User, this will have the same
effect.
- Original Message -
From: "Olivier Ricou" [EMAIL PROTECTED]
In my Z-Class I would like to hook various standard methods in a dtmlish
way.
The frame work would call my dtml method say manage_delObjects and
within that method I would like to call the original manage_delObjects.
I guess this must be a very standard requirement as I see that there are
Hi,
I've been using a ZClass for LaTeX documents that I put together in a
manner very similar to the one described in making a ZClass for STX
documents at http://www.zope.org/Members/tseaver/STX_Document I like
to mark things up in LaTeX as I can type it faster than HTML, I can
create very nice
Heymann William wrote:
I am trying to get rid of those question marks in my urls since it
seems to confuse the users but I am not sure really how to do that. I have
heard that it can but done but so far I have not found out how it can be
done. I want for the last piece of the url to be
From: John Verzani
* Ideally, I would like to be able to call the latex file this way
dtml-var latex_filename fmt=tth
(or even better just as dtml-var latex_filename)
Why not then just make an external method that can be called like:
dtml-var "latex('filename')"
That isn't to ugly.
Hi,
I'm looking for someone to work on a short (2-3 weeks long) Zope
project. The details of the project are fairly straightforward; we have
a relatively small database of information that is currently being
injected into MySQL, and we'll need this database to be
viewable/searchable from
Gaby,
I'd say you need to get your disk quota extended.
If your not the sysadmin then you need to speak to the relevant person about
it.
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Gabriela Arevalo" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent:
Robert Joseph Roos wrote:
invalid attribute name, "manage_addproperty(name", for tag dtml-call
manage_addProperty(name='foo', value='bar', type='string'), on
line 10 of makeSched
don't know if anybody helped you on this already, but any method call is
an expression, and should be
the Python debugger "pdb"
It's a Python module used to debug Python programs.
It can set breakpoints, single step and print expressions.
It is activated automatically, when you start
"ZPublisher/Test.py" with the "-D" option.
Usually, I do not use it this way, however, as
it takes too
On Mon, 23 Oct 2000 [EMAIL PROTECTED] wrote:
And... while I'm at it, is there a way in Zope to programmatically reload
[Edit button] an external method (in case I can't get the problem to go away
and just out of general curiosity)?
dtml-call "YourExtMethod.manage_edit(title='foo',
Hello and thanks for your patience!I am beginning to learn zope. I am going through the tutorials in the book. I have run into a problem creating an external method.I know I must be doing something stupid!I have my addEntry.py saved in the Extension folder in the Zope folder as it installed
I developped a toggle button to let the users hide/show the menus.
I use a cookie to store the current value. The code I use is:
dtml-if "State=='ON'"
dtml-call "RESPONSE.setCookie('affmenu', '1')"
dtml-else
dtml-call "RESPONSE.setCookie('affmenu', '0')"
/dtml-if
/head
dtml-call
Hi Gaby,
I am not on of the zope-gods on this list, but there is something in the
message that you sent that makes me stop and think:
IOError: [Errno 49] Disc quota exceeded
I believe the problem is not zope itself, but the amout of diskspace that
you or the user 'pecos' is allowed to
Hello,
i'm an experienced zope/acs developer in Pasadena,CA. my resume to
follow.
Cheers
Kapil
Kapil Thangavelu
Contact Information:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://lostworld.imeme.net
http://sindev.dhs.org
2445 E. Del Mar
Apartment 238
Doh!,
i've gotten far to use to hitting reply all on my emails:)
kapil
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Hi,
I run debian 2.2 and have Zope installed and apache. On bootup my Zope
server starts automatic.
I am wondering how I configure Zope with an Apache server? I am very very
new to Zope so really want a little help in starting off. My network works
fine by the way and I use cabke modem
On Tue, 24 Oct 2000, Eileen Orbell wrote:
Hi,
Greetings, and welcome, new Zopista!
I run debian 2.2 and have Zope installed and apache. On bootup my Zope
server starts automatic.
Always handy. (o8
I am wondering how I configure Zope with an Apache server? I am very very
new to Zope so
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's "authentication". Every time I see "authentification",
guess how we say in french :)
I guess since I took 3 years of it, I am barred from guessing? ;^)
--
E PLURIBUS LINUX
Max Møller Rasmussen wrote:
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.
Is
Greetings! Great to have yet another Zope follower; hopefully you will
decide to stick with it... Just be patient, you will find out that after a
solid month of using Zope that is has never ending power (thanks to
python and the awesome coders at digital creations).
You can use ProxyPass
Heh. authentification hah.
http://www.phunc.com/Humor/Signs/ChineseRestraunt
Check that out... same kind of humor. Grin.
Knight
On Mon, 23 Oct 2000, Bill Anderson wrote:
Olivier Ricou wrote:
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
And by the way, it's
That's pretty funny, but what's actually funnier is you mispelling
"restaurant" in your URL. :-)
- Original Message -
From: "knight" [EMAIL PROTECTED]
To: "Bill Anderson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, October 23, 2000 10:18 PM
Subject: Re: [Zope] newbie questions
Uh oh, you got me ;] Probably related to the cold medicine. grin.
On Mon, 23 Oct 2000, Chris McDonough wrote:
That's pretty funny, but what's actually funnier is you mispelling
"restaurant" in your URL. :-)
- Original Message -
From: "knight" [EMAIL PROTECTED]
To: "Bill
http://www.phunc.com/Humor/Signs/ChineseRestaurant
There. ;]
On Mon, 23 Oct 2000, Chris McDonough wrote:
That's pretty funny, but what's actually funnier is you mispelling
"restaurant" in your URL. :-)
- Original Message -
From: "knight" [EMAIL PROTECTED]
To: "Bill Anderson"
I have one unsolved mystery left. What I am trying to do is print the titles
from the DTML Documents in the 'artikelen' folder (and actually another
property called 'inleiding'. I believe the code below should do this, but it
does not work. It returns 'Zope' instead of the title. If I use the
Taco Scargo wrote:
I have one unsolved mystery left. What I am trying to do is print the titles
from the DTML Documents in the 'artikelen' folder (and actually another
property called 'inleiding'. I believe the code below should do this, but it
does not work. It returns 'Zope' instead of
On Mon, 23 Oct 2000, Max Mller Rasmussen wrote:
I have a zClass (objectmanger) with a property called "lastID", on a
propertysheet called "hidden".
I have then written a dtml mehtod that should return the id incremented by 1
and then sets the lastID to this new id.
the dtml for the
I have one unsolved mystery left. What I am trying to do is print the titles
from the DTML Documents in the 'artikelen' folder (and actually another
property called 'inleiding'. I believe the code below should do this, but it
does not work. It returns 'Zope' instead of the title. If I use
Hallo,
how can you add many ZClass-instances at once.
I mean with the correct content,title and other properties.The example(adding
zclass to a zclass)is always adding one class.The next problem is how to deal
with the properties in a form if you don't know how many items are added by
the
We will be conducting a community poll to decide what to call Python
(Perl, insert your language here) Methods.
Many candidates have been discussed, but I'm afraid I don't have enough
time to cull all the candidates from the discussions.
So, before the poll, we are calling for nominiations
Michel Pelletier wrote:
Python Function is not quite right, as it is fairly common (for me, at
least) to define some helper functions in a Python Method. But it is
better than Python Script.
That's a good point I hadn't thought of :-S
Function is just as technical as method. These are
[EMAIL PROTECTED] wrote:
I can see four potential properties that one could want to emphasize
about a python method.
1) It is safer (to the Zope server) than a python external method.
2) It safer to the end user than a JavaScript (it never touches the client).
3) It uses python, and not
Michael Bernstein wrote:
The diference (for me) between a View and a Block is whether
they are intended to be accessed directly by a client
(browser). Blocks also tend to be reuseable in many views (I
typically have a Block (DTML Method) called main_navigation,
for example), and can be
I'm not sure I grok what rightness has to do about it. I
think this is
right, to me wrong == broken. This is not broken.
Let me persuade you.
* someone adds an property named feed to an object at an
intermediate
location in the containment heirarchy. This breaks the cron job that
If anyone can help me with this, it'd give me more faith in the new
security model :-S
Right, I have a Python Product Class (lots of bits left out ;-):
class MyProduct(OFS.SimpleItem.SimpleItem):
"""...
"""
__ac_permissions__=(
('Use MyProduct' ,
On 20 Oct 2000 19:09:47 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote:
What's the current state of Zope with Python 2.0? My current
understanding of the issues is:
- Problem with ExtensionClasses and 2.0's circular reference GC.
Can someone elaborate on this? Is configuring python2.0 with
That
If I want to store a reference to a User in Zope, what's the best way to
do it?
I'm currently storing just the user's name, which doesn't seem very
robust.
Perhaps there's a more conrete reference to the user object? How about a
path or something?
Is there an interface for this
Huh. We're looking for something neutral, to connote code that runs in
zope to do some business logic or similar effect. It should distinguish
the language used to express the logic - perl vs python vs xslt,
etc. I hate "script", but it occurs to me that the "-let" convention may
be useful:
Ken Manheimer wrote:
Huh. We're looking for something neutral, to connote code that runs in
zope to do some business logic or similar effect. It should distinguish
the language used to express the logic - perl vs python vs xslt,
etc. I hate "script", but it occurs to me that the "-let"
Brian Lloyd wrote:
You might want to look at the 'ownerInfo' method in
lib/python/AccessControl/Owned.py. That produces a
fully qualified 'path' to identify a user. It probably
should be made an interface on the user object itself
(it probably was done this way initially to avoid forcing
On 10/23/2000 11:37 AM, "Chris Withers" [EMAIL PROTECTED] wrote:
...yeah, Zopelet means absolutely nothing, and will just add to
confusion :-(
The worse confusion is choosing a name that means something and then either
o Having to explain that it means different things in different
Is it not just another piece of the puzzle to figure out? :-)
Get your Free E-mail at http://tacoma.zzn.com
Get your own Web-Based E-mail Service at http://www.zzn.com
___
Zope-Dev maillist
Hi Name Hunters,
My problem with Zopelet is that it already has a meaning, at least to me.
Looking down the road, not nearly as far as one might imagine, let's see
where we may be heading. Think about minimal Zope instances running on Palm
Gizmos, Cell Phones, whatever, a sort of personal
Sorry for the duplicate post, forgot the subject. :)
Hi Name Hunters,
My problem with Zopelet is that it already has a meaning, at least to me.
Looking down the road, not nearly as far as one might imagine, let's see
where we may be heading. Think about minimal Zope instances running on Palm
I am making it my mission to enhance the beast that is ZCatalog. This is the
first of many improvements I hope to make to it as time goes on.
DISCLAIMER
This patch has only been moderately tested, and all side affects are not
known. I am submitting it here for review before adding it to the
On Mon, Oct 23, 2000 at 03:07:25PM -0700, James Johnson wrote:
Is there a Wiki or some other starting point for this thread. As a
newbie I like safe vs power over anything else. I also understand
that with using anything in a power mode can be risky for a newbie.
It's nice to know that I
We (I and Hiperlógica) started to develop a Product we called
ZUnit, intended for XP-style unit-testing Python-based
Products in a full Zope environment (with a real ZODB, REQUEST,
RESPONSE, etc).
We first conceived it as a kind of Zope-based version of
unittestgui.py - you create a "TestRunner"
I would be very interested in such a beast. It's way too hard to do unit
testing in Zope right now. I'm not sure about how it should be designed,
but that's what the fishbowl is for. :-)
- Original Message -
From: "Lalo Martins" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
Chris Withers wrote:
Ken Manheimer wrote:
Huh. We're looking for something neutral, to connote code that runs in
zope to do some business logic or similar effect. It should distinguish
the language used to express the logic - perl vs python vs xslt,
etc. I hate "script", but it
On Mon, 23 Oct 2000 15:59:24 +0100, Chris Withers [EMAIL PROTECTED]
wrote:
(untested hints to follow)
class MyProduct(OFS.SimpleItem.SimpleItem):
"""...
"""
__ac_permissions__=(
('Use MyProduct' ,('a_method',),('Manager',)),
)
What do people think of this?
you get my vote
kapil
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
We will be conducting a community poll to decide what to call Python
(Perl, insert your language here) Methods.
Many candidates have been discussed, but I'm afraid I don't have enough
time to cull all the candidates from the discussions.
So, before the poll, we are calling for nominiations
80 matches
Mail list logo