Hi,
Can anyone tell me a way to get Zope Objects from the first
Zope-Installation to the second.
I need this because i have to program a Product to putting data into
different Zope Installations from one point of the Web.
My boss want this way because he want a central point for
Hi,
I would like to use a SQL-Method which exists in a deeper folder;
e.g.
in dtml-Method /eins/zwei/index_html there exists
dtml-in "/eins/zwei/drei/sqlMethod"
dtml-var something
/dtml-in
and my sqlMethod is situated in folder /eins/zwei/drei/
Why doesn't this work?
Could someone
Hannes,
There are a few ways to do this:
dtml-in "eins.zwei.drei.sqlMethod"
or
dtml-with eins
dtml-with zwei
dtml-with drei
dtml-in sqlMethod
or
dtml-with "restrictedTraverse('/eins/zwei/drei/sqlMethod')"
all have their problems/advantages.
try some of the above and see how
Michel Pelletier wrote:
Sorta. There is a bindings tab on PythonMethods where you assign names
to various variables that show up in your namespace. 'self' is the
container. 'context' is the context. So:
self.objectValues()
will allways call the container whereas:
Chris Withers wrote:
I was wondering how the stuff for attributes that are replaceable in
instance and singleton attributesis getting on.
Itamar says the code is in the CVS for Zope, but neither of us can find
any documentation.
FYI I actually added the docs in two places, but they were
...but can you bind self to the context or, more perversely,
context to
the container?
As the first line in your PythonMethod:
self,context = context,self
But why would you want to?
___
Zope-Dev maillist - [EMAIL PROTECTED]
Toby Dickenson wrote:
As the first line in your PythonMethod:
self,context = context,self
Haha... I forgot what it's like to have real assignment in TTW methods
;-)
But why would you want to?
No particular reason, just wondering :-)
Chris
Flat Database (was ListMate) is just what I need to whip up an
interface for non-technical administrators - thanks. So I migrated two
data tables ("workshops" "registrations") from gadfly to flatdb
instances using the CSV import feature, and the admin interface is
working fine.
I'm having a
Simon Michael wrote:
Flat Database (was ListMate) is just what I need to whip up an
interface for non-technical administrators - thanks. So I migrated two
data tables ("workshops" "registrations") from gadfly to flatdb
instances using the CSV import feature, and the admin interface is
Hello Zope Developers,
I've added two documents to dev.zope.org
How to Document Your Zope Product
http://dev.zope.org/Documentation/DocsProcedures/ProductDoc
How to Document Your Changes to Zope
http://dev.zope.org/Documentation/DocsProcedures/ZopeChanges
They are wikis so dive in
The proposal below is in the fishbowl, at
http://dev.zope.org/Wikis/DevSite/Proposals/UnitTestingProducts
The approach will be, developing the standalone ZUnit Product
while the proposal is in the fishbowl, then push for the
proposal (integrating it with App/Product*.py). Expect a first
release
Hi,
perhaps I'm too stupid, but I don't grok how the objlink method in the
HiperDOM example has to look like. Could somebody post an example ?
Gregor
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
On 25 Oct 2000, at 16:50, Bill Anderson wrote:
OK, tim e fo rme to weigh in on this. Reboot frequency is a matter of
experience and perspective.
I don't believe that broadening the discussion along these lines
will serve this mailing list in any way, so I refrain from
commenting on most of
Hi,
we have had a similar problem with ODBC adapter under
Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we
didn't have that problem again.
Arno
[EMAIL PROTECTED]
Hi Martijn, and Zope Fans,
I'm using ZFormulator and having problems with permissions
on Zope v.2. The sign-on dialog
Hi.
I'm using zope 2.2.2 and LDAPAdapter0.99 with the applied patch.
I have configured an LDAP filter method called searchperson qith the filter
'uid=*'.
So, how can I access the attributes and its values?
dtml-var searchPerson gives me the whole array.
Unfortunately, I can't access the
I should have posted your version, it's more explicit:
---
dtml-in Items sort=Position
dtml-let Prefix="'FormElement_'"
thePos="_.str(Position)"
nameAsAString="Prefix+thePos"
dtml-var nameAsAStringbr
dtml-var
Hi I have the following in a method
dtml-with text_repository
dtml-with "_['text_container_' + new_id]"
dtml-with "manage_addProduct['MyTextClasses']"
dtml-call "my_text_add(_.None, _, NoRedir=1)"
/dtml-with
/dtml-with
/dtml-with
The idea here is that a few
Hi all
Is anyone using or know the current state of Zope with python 2.0 ?
I've been somewhat curious about this myself.
The current release of Zope works well on python 2.0. If you are a
cautious type, you might not want to use it on a production server
yet. (I would certainly recommend you
On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi"
[EMAIL PROTECTED] wrote:
We are building some device controller software and to control those we have
a normal 486 with 24MB RAM running linux. Has anybody tried running zope on
such a modest setup? There is only going to be one or two users
Does anybody know of a bug tracking product for Zope which is free to
try out? I found URL: http://www.zope.org/Members/klm/Tracker/, which
seemed to be nice, but I didn't see where to get it.
--
Jørn Helge B. Dahl
http://falch.net
___
Zope maillist
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"
Hi
I have an old system based on a SQL database, and wanna to make a Web
version of it.
Are there any way to represent the SQL tables as ZClasses? I mean, the
attributes of the ZClasses be stored in a SQL table?
TIA
--
+-+-+
|
You can get it out of the CVS repository at cvs.zope.org.
If you can find it, I guess drop Ken a mail :-S
cheers,
Chris
"JXrn Helge B. Dahl" wrote:
Does anybody know of a bug tracking product for Zope which is free to
try out? I found URL: http://www.zope.org/Members/klm/Tracker/, which
Hey there folks. I've just downloaded and installed these Products into
my Zope instance. I'd talk to any of the support groups / lists / etc for
these Products, but I can't find anythign aside from the author link, and
a few small hints on the download page.
I -think- I'm setting up an Album
I
have the O'Reilly book, but can't seem to find more
complete information on how to do 'if's' in a SQL
thing.
Here's the scenario:
I
have three different 'teams' and want to run a call
specific to each team. I am passing in three
parameters,
two
of which go in the sql statement, the
Max Møller Rasmussen wrote:
def test(self):
"A simpe test method"
return HTMLFile('skins/' + self.skin, globals())
This is the closest. try the following:
testisDocTemp = 1
def test(self,ignored,md):
" A simple test method "
return HTMLFile('skins/' + self.skin,
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.
AFAIK, You have to get it through CVS...
- Original Message -
From: "Jørn Helge B. Dahl" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 26, 2000 12:54 PM
Subject: [Zope] Bug tracking tool
Does anybody know of a bug tracking product for Zope which is free to
try out?
Hi,
Arguments| team
Query template
dtml-if "team == '5'"
select *
from data
dtml-else
select *
from data/dtml-if
this is normal
but may it helps if you post the traceback of the
error message
Jens Grewen
- Original Message -
From:
Yvonne
Totty
To: [EMAIL
Error message stuff:
Expression (Python) Syntax error: invalid syntax
, for tag :if "team=='S'", on line 23 of
string
Traceback (innermost last):
File C:\PROGRA~1\ATIANY~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module
File
At 10:15 am +0100 26/10/00, Toby Dickenson wrote:
On Wed, 25 Oct 2000 18:43:57 +0200, "Alexander Limi"
[EMAIL PROTECTED] wrote:
We are building some device controller software and to control those we have
a normal 486 with 24MB RAM running linux. Has anybody tried running zope on
such a modest
Yvonne,
The format of your 'if' is incorrect:
You have :if . it should be dtml-if.
so the whole statement is as Jens says below.
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: Jens Grewen
To: [EMAIL PROTECTED]
Cc: Zope Maillist
Sent: Thursday, October 26, 2000
Jim,
Nah, I thought of that, too and it didn't work 8(.
I have been using :sqlvar ... inside my statements
and those seem to be doing just fine.
Yvonne 8)
Try it with the dtml-if syntax rather than :if. It made a difference for
me. If this works for you, please post a comment. it
Well, I will be darned, it did work. I must have
left out the quotes before when I tried it. That is
weird, how, in the very same object, the :sqlvar...
works, but :if... doesn't.
Thanks so much!!!
~~~
Yvonne Totty
Database Engineer
-
Tony McDonald wrote:
This is the first I've ever seen written on this subject. If it's
correct (and I have no reason to disbelieve Toby - I've tried a few
There was a good discussion about this a couple of months ago.
Check the archives for: zope2.2.0 and what is high load
-- Tim Cook --
Regex is not available in dtml. You have to use python and import it.
- Original Message -
From: "Joaldo Junior" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 26, 2000 8:09 AM
Subject: [Zope] regex
how to for use function regex in zope?
please send examples.
There was a problem with the ODBC adapter under 2.2.0 where the permissions
werent applied properly. There was a patch that was then incorporated into
later releases 2.2.1 onwards.
- Old Message
In case anyone else didnt read my thread there is an apparently known but
not seemingly
Has anyone thought of using SendMail (or any other e-mail program) to send
e-mail to Zope and have that e-mail be loaded directly into a specific folder
(say, based on the e-mail address or subject line)?
This would be handy to keep track of e-mail. All the person would have to do is
cc the
Hi all,
I posted this the last days, but didn't get quite what I needed.
I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method
or -Document etc.) in order to display this to the surfers when they drop
by.
I've searched through zope.org code, took a look at the Owned.py
There is a product that does this.. of course, I cannot for the life of me
remember its name.
J
From: [EMAIL PROTECTED]
Date: Thu, 26 Oct 2000 16:59:45 GMT
To: [EMAIL PROTECTED]
Subject: [Zope] Reverse SendMail Question
Has anyone thought of using SendMail (or any other e-mail program)
[EMAIL PROTECTED] wrote:
Has anyone thought of using SendMail (or any other e-mail program) to send
e-mail to Zope and have that e-mail be loaded directly into a specific folder
(say, based on the e-mail address or subject line)?
This would be handy to keep track of e-mail. All the
Patrick Koetter wrote:
Hi all,
I posted this the last days, but didn't get quite what I needed.
I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method
or -Document etc.) in order to display this to the surfers when they drop
by.
I've searched through zope.org
Hi,
This should be very simple but I can't get it to work.
I have a method called do_login. This method can't be viewed by anonymous
users.
When I call this method just with dtml-call do_login a standard login
screen is presented as expected.
Now I want tot trap login errors with a try
Has anyone thought of using SendMail (or any other e-mail program) to send
e-mail to Zope and have that e-mail be loaded directly into a specific
folder
(say, based on the e-mail address or subject line)?
This would be handy to keep track of e-mail. All the person would have to
do is
cc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If A contains B which contains C which contains D
(tree view)
A
B
C
D
and I am in A, how do I get to an item in D? What if B and C are dynamic?
- --
Jim Holthaus (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at
Hi,
I'm wondering if anyone can recommend a commercial Zope
hosting service for me.
I've looked at the resources page on zope.org, and I have a
couple feelers out, but I'd like to ask the community for
recommendations as well.
Requirements:
I need a system that can handle a potentially very
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. They have great support and bandwidth and claim to be the
largest installed base of RH Linux. They also scale pretty well. I have
about 10 boxes with them for about year now.
asdasd
___
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
I'm working on a web site that uses Apache server side includes.
This is causing Zope to freak out because the SSI syntax is
identical to the alternate (older) Zope dtml syntax.
!--#exec cgi="/cgi-bin/includes/random_ad.pl"--
I thought of putting dtml-comment around them all, but
I am certain
Hi,
I'm wondering if anyone can recommend a commercial Zope
hosting service for me.
I've looked at the resources page on zope.org, and I have a
couple feelers out, but I'd like to ask the community for
recommendations as well.
http://www.codeit.com/
They are the best one I've found.
Opps! It was my problem.
The problem was:
You have www.mysite.com "siteaccesing" www.mysite.com/site1.
You have the following directory: /site1/myfolder
If you type in a browser www.mysite.com/myfolder there is no problem
because siteaccess handles the location of myfolder.
But you cannot
Hello,
I'm using dtml-in to display a long list of events taken from a SQL
table, as part of a calendar, using batch processing,
(basically the example from the DTML reference adapted to use direct
traversal to fetch the table contents)
I want my calendar to be basically a timeline, with the
[EMAIL PROTECTED] wrote:
Has anyone thought of using SendMail (or any other e-mail program) to send
e-mail to Zope and have that e-mail be loaded directly into a specific folder
(say, based on the e-mail address or subject line)?
This would be handy to keep track of e-mail. All the
Jonathan Cheyne wrote:
Hi, just a quickie idiot question ..
Does zope use any of the python on my RH6.2 box or does it use its own
copy exclusively?
I was trying to install the python xml libraries to try our the hyperdom
product. I installed an rpm succesfully before remembering that
Chris Beaumont wrote:
Hello,
I'm using dtml-in to display a long list of events taken from a SQL
table, as part of a calendar, using batch processing,
(basically the example from the DTML reference adapted to use direct
traversal to fetch the table contents)
I want my calendar to be
try something like
import PIL
image = PIL.Image.open('foo.png')
that way you do not have two names "Image" colliding in the names Zope sees
jens
Jens Vagelpohl[EMAIL PROTECTED]
Software Engineer www.digicool.com
Digital Creations (888) 344-4332
Got Zope?
hi,
I'm looking for a Zope calander kind of like you see on the ZopeNewbies
page. Anyone seen a product like this hanging around.
If not, perhaps I'll have to whip one up. :)
Thanks,
j.
..
. Jason C. Leach
... University College of the Cariboo.
..
57 matches
Mail list logo