"Jay, Dylan" wrote:
It is really a painful thing to do without. I realize I can add this
capability to factories of my own objects but I don't want to have to create
my own versions of dtml-document and everything else just to ensure that a
creation date is kept. I've tried using
Evan Simpson wrote:
From: Chris Withers [EMAIL PROTECTED]
It looks like REQUEST.steps is the replacement for PARENTS?
Is that so?
snip REQUEST.steps isn't PARENTS replacement
Okay, so given that PARENTS is living in a 'deprecated' list on the
Interfaces Wiki, what are we supposed to use
On Wed, 6 Sep 2000 09:58:44 +1100 , "Jay, Dylan" [EMAIL PROTECTED]
wrote:
It is really a painful thing to do without. I realize I can add this
capability to factories of my own objects but I don't want to have to create
my own versions of dtml-document and everything else just to ensure that a
Hi Steve, (and any others who might care to comment)
I've been sorting through old ZPatterns email looking for
inspiration and I came upon this:
"Steve" == Steve Alexander [EMAIL PROTECTED] writes:
Steve Hi folks,
Steve I've been looking at the DropZone example Phillip Eby
Hi Steve,
"Steve" == Steve Alexander [EMAIL PROTECTED] writes:
ShopperManager.InsertItemIntoShoppersBasket(shopper=aShopper,
mi=aMarketItem, quantity=qty),
Steve Seeing as the context is clearly ShopperManger (or
Steve Shoppers), I don't think there's any need for such a
Shane Hathaway wrote:
http://www.zope.org/Members/hathawsh/ZDebug/index_html
ZDebug is a set of patches to Zope that help in the deciphering of DTML
errors and authorization exceptions. Because this is the first
release, remember to make a backup before installing.
Saw the screenshots and
Shane Hathaway wrote:
TCPWatch is a simple Python script that lets you monitor a TCP
connection.
...now this really is extremely useful to me, but not for Zope ;-)
However, it did take me a while to wrap my head around it. So here's a
little How-To/Example (If anyone thinks I should do this
Hi,
Clean build of Python 1.6 (downloaded immediately following release
notification), clean build of Zope-2.2.1-src;
Accessing /manage brings an error in gparse.py, line 293 (ast=sequence2ast)
, "Expected node type 12, got 312".
Anyone else seeing this? Anyone know what it means?
Naturally,
Chris Withers wrote:
Using your sample 'bad' DTML, I got the same but the 'Contains name?'
column didn't show up :-(
Any ideas? (yes, I was tracking down a security exception, and that
column may have been really useful ;-)
My guess is you're using Zope 2.1.6. ZDebug doesn't have a way to
Chris Withers wrote:
Shane Hathaway wrote:
TCPWatch is a simple Python script that lets you monitor a TCP
connection.
...now this really is extremely useful to me, but not for Zope ;-)
However, it did take me a while to wrap my head around it. So here's a
little How-To/Example (If
On Wed, 06 Sep 2000 13:48:09 +, "John Hayward-Warburton
(Programming account)" [EMAIL PROTECTED] wrote:
Hi,
Clean build of Python 1.6 (downloaded immediately following release
notification), clean build of Zope-2.2.1-src;
Accessing /manage brings an error in gparse.py, line 293
Hi all,
I'd like to release the 0.9.21 version of the CalendarTag soon, but
first I want to change the year mode image, currently it's an "Y" which
is not very international, I'd like to see a language neutral image.
The interface of the CalendarTag is based in the Palm Pilot, but the
Palm III
Ok I'm going over most of the ZPatterns stuff again. It seems simple
enough. Yet I can't seem to put a specialist and a dataskin based
ZClass in a product folder and get them to do anything persistently.
I've been through all of the tutorials and can't seem to get anything
to click. You know
"Brett" == Brett Carter [EMAIL PROTECTED] writes:
Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo)
Brett and I am trying to look up an object depending on the
Brett arguments passed to my tag. The python class that defines
Brett the tag inherits from
Chris Withers wrote:
From
http://www.zope.org/Members/michel/Projects/Interfaces/PublisherRequest:
Deprecated attributes:
- PARENTS
What are we supposed to use instead now?
Glancing it over .. perhaps:
steps: list of names traversed.
??
--
Do not meddle in the affairs of sysadmins,
Hi,
last night I realized my finger-trainnig called VaryTag :-)
I talkt about it at EuroZope meeting in paris, but lost my
old implementation during deleting of old zope instances.
So it took me 3.5h to rewrite it from scratch. This time
it works according to rfc2616 (HTTP/1.1).
Its just one
Kip Rugger wrote:
Bill Anderson [EMAIL PROTECTED] wrote:
Kip Rugger wrote:
Chris McDonough [EMAIL PROTECTED] wrote:
Aplogies for the ignorance, but can you maybe explain the concept
of supplemental group ids and give an example of how the current unpatched
behavior could be
Hi,
I see you can let Zope do basic form validation for you by appending
":string" or ":int" to your form name.
The error messages that are displayed are not that clear, however.
How can I get more control over what happens when an error occurs?
(e.g. I'd like to be able to get back a
Chris McDonough wrote:
There's the perception at DC that
're' isn't appropriate for through-the-web usage because it's possible to
write and use regex that sends the Python interpreter thread it's
operating within into a neverending loop. Sorry.
Am I the only one who thinks this is silly?
Hi everyone :-)
I am trying (desperately) to use a Tracker on my own site. So I checked one out
of CVS and started using it.
I created some users for my website with their very own roles.
Now when one of those users tries to view the issues listed in the Tracker
(like someone would do on
i for my part think it makes sense. not just from a security standpoint
(think of those sites that allow members who are not necessarily hand-picked
to write DTML or attempt to do so) but also from a knowledge level
standpoint. who wants their site crashed just because the new programmer
doesn't
This is for any+all of you new to Zope.. and for those like me who have been
struggling with DMTL for too long.
I just found a perfect *gemstone* burried in 'Chapter6 - Advanced DTML' of
the online sample of the O'Reilly Zope Book at
http://www.zope.org/Members/michel/ZB/AdvDTML/view
"""
The
Hi,
Chris Withers wrote:
Chris McDonough wrote:
There's the perception at DC that
're' isn't appropriate for through-the-web usage because it's possible to
write and use regex that sends the Python interpreter thread it's
operating within into a neverending loop. Sorry.
Am I the
Jason Cunliffe wrote:
PS. Be warned: 8-()
if you try put the code above in a DTML methods named 'showREQUEST' or
'show_REQUEST' it will not work = 'Id already in use'
That's a little weird...
Can anyone shed any light on this?
cheers,
Chris
___
Tino Wildenhain wrote:
Turn "asd_asd" into "asd asd" and output:
dtml-var "_.string.join(_.string.split('asd_asd', '_'))"
I've seen this on plenty lines of digicools code and wondered
about if this is more efficient then using just string.replace()
?
I would say string.replace()
Just a small package that some people may find useful. When used with
Zope, it creates a dtml-whois tag that does a whois lookup on a
variable. For example:
pre
dtml-whois "'zope.org'"
/pre
Will result in:
Whois Server
Howdy!
I had a strange problem today: I added a Role "User" in the root's
security tab and gave it a couple of permissions. But further down
the tree in /de/support where in the acl_users folder I added a user
with the role 'User' the permissions where not acquired (until set
manually in the
On Tue, 5 Sep 2000 20:23:47 -0600, "T.J. Mannos" [EMAIL PROTECTED]
wrote:
Now, who do I have to beat up to get the 're' module added to the namespace
variable??? :)
Not a good idea its too easy for a buggy regex to eat up lots of
memory and processor time.
Toby Dickenson
[EMAIL PROTECTED]
Hi all,
My server is running with Zope 2.1.6 and SiteAccess 1.0.1. I followed
the instructions
of the very clear how-to created by Anser. But it there is one problem
which I can't solve.
I want to serve pages with Apache and with Zope. The url to serve pages
with Zope should be:
This is a correction for my last entry at the mailing list: problem with
virtualhosts.
The line:
ProxyPassReverse /z http://www.deeldrie.nl:8080/deeldrie
should be in this example:
ProxyPassReverse /z http://www.myserver.nl:8080/myserver
regards,
Wouter
I think I know how to manage transactions in Zope, but I don't
know how to lock Zope resources for multiple requests.
For example :
I have a DTML Method, called "transac1", which looks like this
:
dtml-if "var==0" dtml-call
wait_10_seconds "waiting 10 seconds..." dtml-call
On Wed, 6 Sep 2000, Chris Withers wrote:
Chris McDonough wrote:
There's the perception at DC that
're' isn't appropriate for through-the-web usage because it's possible to
write and use regex that sends the Python interpreter thread it's
operating within into a neverending loop. Sorry.
I had to dig a level deeper to support phorum (www.phorum.org), a PHP
message board app. Here's my update to handle cookies, redirection, POST
variables, and relative links. I'm new to python, so if I've done anything
awkwardly, please let me know the more elegant way.
First, a patch to
Hallo all,
maybe its old new´s - maybe not:
Zope is part of "SuSE Linux 7.0 Profesional Edititon" and
this is printed on the box in the categorie "Features and Highlights". It is indeed a
Highlight.
Regards
Harald
___
Zope maillist - [EMAIL
From: Chris Withers [EMAIL PROTECTED]
One of Zope's key strengths is its granular security, right?
So why isn't it the reponsibility of the site
designer/maintainer/owner/whatever to ensure that only people he trusts
have the ability to write DTML?
Fear not. In the brand new shiny
I can't answer your question but have been looking for similar information.
Where can I find out more about ":string" and so forth. I haven't been able
to locate any information on validation..
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Chris Withers writes:
Chris McDonough wrote:
There's the perception at DC that
're' isn't appropriate for through-the-web usage because it's possible to
write and use regex that sends the Python interpreter thread it's
operating within into a neverending loop. Sorry.
[snip]
It
On Wed, Sep 06, 2000 at 05:01:38PM +0200, Harald Koschinski wrote:
maybe its old new´s - maybe not:
Zope is part of "SuSE Linux 7.0 Profesional Edititon" and
this is printed on the box in the categorie "Features and Highlights".
It is indeed a Highlight.
Got a better buy: www.lob.de
Hello all,
I have followed 4am's INSTANCE-HOME How-To, and have set up a Zope
Instance. I created the var, import, Extensions and Products directories
from scratch. I then put a new product in the new instance's Products
directory. When I start my new Zope instance, it sees all of the
products
I'm using LoginManager and the loginForm cookie method for security.
I want my login form to use the same standard_html_header, stylesheet
and so on as my system.
My hierarchy is
/
Strader
StyleSheet
acl_Users
loginForm
I've denied anonymous access to Strader
- Original Message -
From: "Dieter Maurer" [EMAIL PROTECTED]
To: "Tim Hicks" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 05, 2000 9:44 PM
Subject: ZClass Bug (was: Re: [Zope] How to access id and title of
document calling standard_html_header)
snip
The analysis
Hi, all.
When I create ZClasses I can make the Available Objects shrink to just
a couple of available objects via subclasses and so forth. How would
I do this with a Python Class in a Python Zope Product? (Let's say an
OFS.Folder.Folder class, which would normally could contain all
available
Got authorization to work!
First, another patch to Client.py to raise 'Unauthorized' when 401 is
returned by PHP/Perl:
after line that starts with
if ec==200
add
if ec==401:
raise 'Unauthorized'
Second, numerous changes to the external method that makes the request and
receives
oops!
that should be
username, password = req._authUserPW()
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Or maybe using a perl module that doesnt exist in Python? I was looking at
MP3::Napster the other day but Im stuck on Windows.
- Original Message -
From: "Gisle Aas" [EMAIL PROTECTED]
To: "Michel Pelletier" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday,
Thanks for replying so quickly, Evan!
Evan Simpson wrote:
Some sanity checks:
- You're starting Zope from inside the INSTANCE_HOME, right?
Yes, just as in the How-To instructions. I can provide you with the start
script if necessary.
- Can you verify that the Data.fs in the
Shane wrote
http://www.zope.org/Members/hathawsh/ZDebug/index_html
ZDebug is a set of patches to Zope that help in the deciphering of DTML
errors and authorization exceptions. Because this is the first
release, remember to make a backup before installing.
Looks like ZDebug does not work
Hello all,
OK, shoulda tried other products before posting... We just installed two
products (LocalFS and ZSMime) in the given instance's Products folder, and
they appear in the instance, just as they should! For some reason, however,
WorldPilot doesn't show up unless I install it in the base
Its nice that the icon for the method, who is the access rule's target,
is changed.
However, I think also there needs to be some indicator on the folder
involved as well. Over the long weekend, I had accidentally set an
access rule (for URL-based SQLSession ID) in the proper folder and also
a
In Zope, I need to get the results of the command in the subject.
Unfortunately (and somewhat irritatingly...), Zope doesn't seem to use
the mxDateTime package, and thus, _.DateTime does _not_ have it. Anyone
know how I would go about getting it? Without using an External method?
--
Bill
This is happening on an HP-UX 11.0 machine.
Setup:
Two Zope installs, TWO IP adresses.
Each install has the -a xx.xx.xx.xx address option passed via the
standard start script.
problem:
occasionally, while working on one, I wind up actually working on the
other.
Clarification:
While in the
Bill Anderson wrote:
Clarification:
While in the manage screen for ServerA, I occasionally see the
management screen for ServerB. Even wihtout being logged into ServerB.
(IE. clean browser session)
I have 5 zopes on the same machine i have never noticed this problem.
do the different ip's
ethan mindlace fremen wrote:
Bill Anderson wrote:
Clarification:
While in the manage screen for ServerA, I occasionally see the
management screen for ServerB. Even wihtout being logged into ServerB.
(IE. clean browser session)
I have 5 zopes on the same machine i have never
Kip Rugger wrote:
OK, something is not quite right here.
On my unmodified zope, it is properly 'sandboxed'. Perhaps it is the use of
the explicit '-u nobody'? I don't do that on
my system, which causes Zope to run as nobody implicitly.
(When started as root, unless told otherwise, zope
Evan Simpson wrote:
From: Chris Withers [EMAIL PROTECTED]
One of Zope's key strengths is its granular security, right?
So why isn't it the reponsibility of the site
designer/maintainer/owner/whatever to ensure that only people he trusts
have the ability to write DTML?
Fear not. In
Can anyone tell me why when I edit a lines property I get leading
whitespace inserted?
The first line gets seven each one after that gets 10 spaces.
I tried stripping it out but this didn't seem to have any effect.
...
textarea name="alt_names:lines" rows="10" cols="50"
dtml-in alt_names
oops, again :-(
headers = {}
if req.environ.has_key('HTTP_COOKIE'):
headers['Cookie'] = req.environ['HTTP_COOKIE']
if req.environ.has_key('HTTP_USER_AGENT'):
headers['User-Agent'] = req.environ['HTTP_USER_AGENT']
Also on my member page -
Hi Tim,
Tim Cook wrote:
Can anyone tell me why when I edit a lines property I get leading
whitespace inserted?
The first line gets seven each one after that gets 10 spaces.
I tried stripping it out but this didn't seem to have any effect.
...
textarea name="alt_names:lines"
Tino Wildenhain wrote:
Hi Tim,
Tim Cook wrote:
Can anyone tell me why when I edit a lines property I get leading
whitespace inserted?
The first line gets seven each one after that gets 10 spaces.
I tried stripping it out but this didn't seem to have any effect.
...
59 matches
Mail list logo