J Cameron Cooper wrote:
If you simply print the request object, you'll see everything
available. The CGI environment variables are available:
http://hoohoo.ncsa.uiuc.edu/cgi/env.html
You can use ACTUAL_URL or URL0 to get the full url+path.
You can use PATH_TRANSLATED or PATH_INFO to get just the
Hi all,
I just moved my zope app from 2.7.3 to 2.7.6, plus the mysql db from
5.0.0 to 5.0.4. After moving everything, I noticed all of my decimal
fields that will no longer display their values in DTML unless I
remove the dollars-and-cents fmt option.
I tried all kinds of things in mysql thinkin
On Wed, May 11, 2005 at 04:51:33PM -0500, J Cameron Cooper wrote:
> Look at your Python. It understands a dot as an attribute access. That's
> why Zope historically avoids dotted object names. Witness 'index_html'.
>
> You may use dictionary lookup:
>
> context['deltest.htm']()
>
> or getattr.
Coming out of lurk mode here with a really tricky one.
We had just moved our server from:
Zope Version (unreleased version, python 2.3.3, linux2)
Python Version 2.3.3 (#2, Feb 21 2004, 21:17:53) [GCC 3.2.2 20030222 (Red Hat
Linux 3.2.2-5)]
To:
Zope Version (Zope 2.7.5-1.fc3, python 2.3.4, linu
Ken Winter wrote:
-Original Message-
From: J Cameron Cooper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 4:27 PM
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Subject: Re: [Zope] How to make a ZPT-based form that calls itself?
Ken Winter wrote:
Hi Zopers -
I'm trying to make a ZPT-base
> > Case A:
> >return context.some_page()
> >
> > Case B:
> >context.REQUEST.RESPONSE.redirect('some_page')
> >
> GREAT!! Case B works perfectly (and it would have taken me forever to guess
> this solution). Case A didn't work when written as
>
> return context.deltest.htm()
Of course i
> > Ideally, I'd like to get back the whole URL as entered in the browser as
> > a string. From the REQUEST I have to put together URL and QUERY_STRING,
> > and the section (#xxx) part of the url can not be found in REQUEST.
>
> Unfortunately the CGI vars don't make provision for the anchor compon
> -Original Message-
> From: J Cameron Cooper [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 11, 2005 4:27 PM
> To: [EMAIL PROTECTED]
> Cc: zope@zope.org
> Subject: Re: [Zope] How to make a ZPT-based form that calls itself?
>
> Ken Winter wrote:
> > Hi Zopers -
> >
> > I'm trying to make
On 5/11/05, Asad Habib <[EMAIL PROTECTED]> wrote:
> Is there a reason why Z SQL methods do not allow the use of the LIMIT
> clause? I am absolutely certain that my query has the right syntax since I
> executed it against the MySQL server and it gave me the correct results.
> FYI, I have provided th
On May 11, 2005, at 22:32, Andreas Pakulat wrote:
That's not necessary, look at the ZMI, there is a logout option in the
dropdown box. I never digged into "zmi_logout" (IIRC it has that name)
but I think it is not accessible by _any_ Zope-User even not the
Emergency User, so regardless of what you
Is there a reason why Z SQL methods do not allow the use of the LIMIT
clause? I am absolutely certain that my query has the right syntax since I
executed it against the MySQL server and it gave me the correct results.
FYI, I have provided the query below:
SELECT course_id FROM course
WHERE course_
On 11.Mai 2005 - 20:32:33, Dieter Maurer wrote:
> Allen Huang wrote at 2005-5-10 09:26 -0700:
> >what are the dtml for logout of an account and deleting a existing user??
>
> When you are using "basic HTML authentication",
> then logout is a browser operation (and not a server one).
Right.
> Yo
Ken Winter wrote:
Hi Zopers -
I'm trying to make a ZPT-based HTML form that:
1. Displays the records in a MySQL 'Person' table;
2. Offers a field for updating this table (in my simple test example, it
accepts the Id of a Person to delete);
3. When you push its 'Submit' button, updates the database;
Hong Yuan wrote:
I have a page template, say 'products.pt', which takes
traverse_subpath[0] as one of the variables, so e.g. the URL:
http://myserver/products/100
will actually call products.pt, which get 100 from the URL and displays
it in the template.
Now my question is how can I get the ful
Hi Zopers -
I'm trying to make a ZPT-based HTML form that:
1. Displays the records in a MySQL 'Person' table;
2. Offers a field for updating this table (in my simple test example, it
accepts the Id of a Person to delete);
3. When you push its 'Submit' button, updates the database; and then
4. Aut
On Wed, May 11, 2005 at 03:50:00PM -0400, Dan Pozmanter wrote:
> Ugh. I suppose I could ignore the '_' bit (and override
> BaseRequest.traverse), but the problems are:
> 1. Keeping this thing synced with Zope.
> 2. Accessing the object being traversed to to ensure it is of the
> correct type.
>
Ugh. I suppose I could ignore the '_' bit (and override
BaseRequest.traverse), but the problems are:
1. Keeping this thing synced with Zope.
2. Accessing the object being traversed to to ensure it is of the
correct type.
There is no other way to do this?
Is there a way to have a path "pretend
On Wed, May 11, 2005 at 03:00:02PM -0400, Dan Pozmanter wrote:
> Hello there Zopatistas,
>
>In my inaugural post, I should like to enquire about getting to a url
> like so:
> http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py
>
> Getting to the object "__init__.py" is d
Dan Pozmanter wrote:
Hello there Zopatistas,
In my inaugural post, I should like to enquire about getting to a url
like so:
http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py
Getting to the object "__init__.py" is difficult (it acts like it
doesn't exist.)
Is there a
--On Mittwoch, 11. Mai 2005 15:00 Uhr -0400 Dan Pozmanter
<[EMAIL PROTECTED]> wrote:
Is there a way to muck about with getattr, traversal, or something
related so
that, for a particular kind of object (eg with a particular attribute),
Zope ignores
the "cannot start with a '_' " rule?
I think it i
Hello there
Zopatistas,
In my
inaugural post, I should like to enquire about getting to a url like
so:
http://myzopeserver.something.clever/a/path/to/a/file/named/__init__.py
Getting to the
object "__init__.py" is difficult (it acts like it doesn't
exist.)
Is there a way to
muck a
Brian Hickey wrote at 2005-5-10 21:09 +0100:
>Relative newbie to Zope, trying to install Plone on FreeBSD. Have run into
>the following problem:
>- I have followed the instructions as per the guide at
>http://www.netvironments.org/laurazWiki/InstallingPlone
>- After copying the directories into
Allen Huang wrote at 2005-5-10 09:26 -0700:
>what are the dtml for logout of an account and deleting a existing user??
When you are using "basic HTML authentication",
then logout is a browser operation (and not a server one).
You can use the following DTML Method to facilitate logout somehow
Abhilasha Chaudhary wrote at 2005-5-10 14:14 -0400:
>My zope Sybase database connections keep closing for no apparent reason.
This may happen when the DA instance is flushed from the ZODB.
Usually, it reopens automatically either when it is loaded
again or when used.
>When I try to reopen the con
Looks like your userfolder does not support a logout method as an
inspection of the code would have established. In fact, the
only logout method that appears to be supported is in the
App manager for the ZMI. You may want to look at the code
and adapt it for your purposes.
On Wed, 11 May
How do I logout current user using DTML
I used but it didn't work and zope gave me this.
Site Error
An error was encountered while publishing this resource.
Error Type: AttributeErrorError Value: logout
What did I do wrong??
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on yo
I have a page template, say 'products.pt', which takes
traverse_subpath[0] as one of the variables, so e.g. the URL:
http://myserver/products/100
will actually call products.pt, which get 100 from the URL and displays
it in the template.
Now my question is how can I get the full URL from within
Hey !
I'm experiencing some problem trying to use the monitor server. I've
zope 2.7.6 running, with an emergency user defined in the instance's
access file, with password stored as clear text. When I try to run the
monitor_client.py script, I type my password and everything I get
(except a warning
Thanks
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de
Tres Seaver
Envoyé : mercredi 11 mai 2005 15:47
À : zope@zope.org
Cc : zodb-dev@zope.org
Objet : [Zope] Re: ZODB question
**
This e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pascal Peregrina wrote:
> In a Zope / Zeo configuration (2.7.6), is there a way, on the Zope instance,
> to know when the database (Zeo) was last packed ?
>
> Thanks.
Repozo knows this for the underlying FileStorage:
http://www.zope.org/Wikis/ZOD
On May 11, 2005, at 11:21, Bernard Lange wrote:
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Products.GroupUserFolder.GroupUserFolder, line 1
Hi ,
I've instantiated a Group User Folder object for my Zope+Plone
application and configured it to take users from an LDAP server in order
to get users id and passwords validated against LDAP. So far, so good
users can log in using their LDAP credentials.
The underlying usersâ source is a LDA
Milos Prudek wrote:
I created a very simple folderish product. Everything works fine. But I
was surprised that "context" and "container" seem to behave differently
for folderish object than for normal Folder.
To answer my own question: I misunderstood what container does. Desired
behaviour can
Hi,
In a Zope / Zeo configuration (2.7.6), is there a way, on the Zope instance,
to know when the database (Zeo) was last packed ?
Thanks.
Pascal
**
This email and any files transmitted with it are confidential and
intended so
I've been going some testing with gc.set_debug etc and it looks like there
isn't a memory leak or at least not one the garbage collector can find. That
means that the data must be remaining reachable somehow.
--
Dylan Jay
---
http://www.meetmemap.com - makes giving directions easy
http://www.pr
35 matches
Mail list logo