Chris McDonough wrote:
Yes. Thank you.
Note however that methods of modules accessed via the underscore namespace
may be filtered individually, so although 'replace' exists as a method of
the Python string module, this does not necessarily make it accessible
implicitly through Zope via
Hi,
In the management view of a Catalog (ex. /Catalog),
there is a tab named "Find items to ZCatalog".
In that tab, there is a field "Find objects of type:".
The options listed there were retrieved from the "factory" of a ZClass.
(The "add list name" field, a good feature for people who are not
Chris McDonough wrote:
Yes. Thank you.
Note however that methods of modules accessed via the underscore namespace
may be filtered individually, so although 'replace' exists as a method of
the Python string module, this does not necessarily make it accessible
implicitly through
The core of HTTP authentication is the following (you have to put the authentication
into the HTTP header):
import httplib
h=httplib.HTTP()
h.putheader("AUTHORIZATION", "Basic %s" % string.replace(
hi, i am running into a slight problem due to STILL not being able to
understand namespaces perfectly, and would appreciate if someone could help
out.
-
the situation is this:
-
i have a dtml document called "pageowners", on which i have a list property
called owners. which changes
Terry Kerr wrote:
Chris Withers wrote:
Hannu Krosing wrote:
Also you could send just one message to all the recipients instead of
sending individual messages.
Urm, they could be pretty unfriendly mail messages if they're being sent
to a coupla thousand people. The bandwidth
Lars Heber writes:
dtml-let text="my html text with a link to a
href="http://www.yahoo.com"Yahoo!/a"
dtml-let text="'my html text with a link to a
href=\x22http://www.yahoo.com\x22Yahoo!/a'"
I.e. you use Python's hexadecimal (or octal) quoting for '"' (\x22)
inside the Python string.
Tim Gildersleeve writes:
The line is
dtml-call "REQUEST.set('TOTALDEVIATION',fSTART)"
Error Type: TypeError
Error Value: number coercion failed
I can assure you, that the "number coercion failed" is not
raised in the above "REQUEST.set". "set" accepts any
type.
The problem arises
Eric writes:
To summarize: How do I import modules in an External Method's .py file?
I remember, I read this in some "External Method" related documentation.
You do *NOT* place such modules inside the folder "Extensions"
but put them somewhere else reachable by "PYTHONPATH".
The documentation
J. Atwood writes:
I have installed 2.2.2 on more than a few machines on my fifth machine I
got this after doing the install.
2000-10-04T19:54:35 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\000\000\000\003'
Traceback (innermost last):
File
TMGB writes:
Can I get the user's client proxy setting using 'REQUEST' or some other
syntax, product, or utility. This is not Proxy Roles or ProxyPass, but
the client's proxy settings if any. I am working on a help page to
debug a user's settings if he or she can't get to certain pages
Roman Milner writes:
I'm trying to get ldap methods to work with 2.2.2. I can access the
attributes of the objects returned from an ldap method with a python
extension fine, but dtml-in'ing the returned list doesn't work. I keep
getting an error (traceback below).
!--
Error Type:
[EMAIL PROTECTED] writes:
product with associated image
Should I create a product that can contain said images? If so, how do
I do this? Should I simply force a naming conventions for the images
and tie them together with the sample catalog items that way?
I would use a
In article [EMAIL PROTECTED], Dieter Maurer
[EMAIL PROTECTED] writes
[EMAIL PROTECTED] writes:
product with associated image
Should I create a product that can contain said images? If so, how do
I do this? Should I simply force a naming conventions for the images
and tie
Is there something like webalizer for Zope?
I would like to create a statistic of my website's visits.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your
"Jan H. Haul" wrote:
Each of these will be around 42 KByte large.
Huh? Why that? you ask.
Because in the header of each mail, the whole recipient list will
be listed under To: or Cc:
[snip]
- privacy: You would not like to have "your" recipients end up on
other people's mailing lists
"Steven D. Majewski" wrote:
Inside magazine http://www.inside.com/ has a feature on Zope:
"Can Free Software Manage Your Web Site?"
Here's the direct link:
http://www.inside.com/story/Story_Cached/0,2770,10617_13_32_1,00.html
Michael Bernstein.
Wilkinson Charlie E wrote:
It all began when I was a small child, but I'll skip ahead
a bit
I almost hate to say this, since your post is an interesting
one otherwise, but please don't send HTML email to the list.
Some of the people here don't use HTML-capable mail clients.
Thanks,
"Knight" once said:
cw,
Are you spawning additional threads by chance? Or just the threads that
Zope creates?
No, I'm a Python newbie who doesn't know of threads yet, so this is just
Zope threads working their magic. :-)
Right now I'm just shooting for a simple network client as a proof
Michael Bernstein [EMAIL PROTECTED] wrote:
Wilkinson Charlie E wrote:
It all began when I was a small child, but I'll skip ahead
a bit
I almost hate to say this, since your post is an interesting
one otherwise, but please don't send HTML email to the list.
Some of the people
Nico Grubert writes:
i created a zclass "myzclass" inside a product "myprod".
inside of the zclass i created a dtml-method "mymethod_html" which can
be found by the tab "Methods".
in the root folder i have created a dtml-method "gimme_html" conatinintg
the following code to access
Hi Lars,
Lars Heber wrote:
Sorry, I mixed something up. Normal html is no problem at all.
The problem is how to use quotes or such things.
Of course I get an error by typing:
dtml-let text="my html text with a link to a
href="http://www.yahoo.com"Yahoo!/a"
I tried typing quot;
Charlie Wilkinson wrote:
Michael Bernstein [EMAIL PROTECTED] wrote:
Wilkinson Charlie E wrote:
It all began when I was a small child, but I'll skip ahead
a bit
I almost hate to say this, since your post is an interesting
one otherwise, but please don't send HTML email to
"DM" == Dieter Maurer [EMAIL PROTECTED] writes:
DM Maybe, you can contact the author, or try it yourself. There
DM is documentation from Brian decribing what products need to do
DM in order to be compatible with the new Zope 2.2 security
DM policy.
DM Dieter
I've
I've managed to get loginManager to install, but I
am very confused as to what to do with it.
I've read the how-tos on zope.org, and the
documentation of LoginManager itself... But I still don't understand what
is supposed to happen.
A User Source is a location to find users, Say, my
SQL
If I inspect REQUEST by inserting a dtml-var REQUEST in my dtml I can see
that AUTHENTICATED_USER is set to Anonymous User. Yet when I insert the
following code, it never displays Guest. It takes the else branch and then,
perversely, displays Anonymous User. Please point out my stupid mistake.
You can check the username of AUTHENTICATED_USER as in dtml-if
"AUTHENTICATED_USER.getUserName()=='Anonymous User'" (To all the people who
complained about me using _.str(...)) or you might want to check the role as
in dtml-if "AUTHENTICATED_USER.has_role('Anonymous User')".
- Original
Dennis,
try:
dtml-if "AUTHENTICATED_USER.getUserName() == 'Anonymous User'"
Guest
dtml-else
dtml-var AUTHENTICATED_USER
/dtml-if
Zope is 'celver' enough to realise that you must mean the username when you
do:
dtml-var AUTHENTICATED_USER
but 'stupid' enough not to realise when you do:
Dennis,
You might benefit from reading some of the general HOWTO's at
http://www.zope.org. Consider searching for "AUTHENTICATED_USER" or "user
manager".
A quick answer to your problem though:
AUTHENTICATED_USER is actually a class object (meaning it contains
variables of it's own, as well as
I'll tell you what we did -we used webalizer itself, and use
LocalFS to get the results on the web.
Zope's logs are in a pretty standard format, so you shouldn't
have any problem.
Dimitris
___
Zope maillist - [EMAIL PROTECTED]
I want to create a ZClass that is essentially a folder with some added
properties. I can see no way to add to the Basic properties of my
ZClass.
Is there a way to do that?
--
Robin Becker
___
Zope-Dev maillist - [EMAIL PROTECTED]
Debugging products is a pain... restarting Zope all the time is a Pain
THANK GOD for Shane Hathaway. ;-)
I am delighted to report general success with the Refresh product! My
only problem is while debugging the process of creating new EMarket
instances, I find that every time I run
On Thu, Oct 05, 2000 at 10:01:15AM +0100, Chris Withers wrote:
Lalo Martins wrote:
This is on Zope 2.2.1. I'd really appreciate some clues on how
to bust these ghosts.
Have you put a full description in the bug collector yet?
Now it is. It was assigned number 1676.
I also busted my
"Phillip J. Eby" wrote:
How (and why) do you distinguish between UI implementation
and presentation logic?
Presentation logic lives with an object's class, and deals with what that
object knows about presenting itself. UI implementation is "glue"
presentation that lives in a Specialist
Steve Spicklemire wrote:
- How does this product (simple though it is) exemplify the
RIPP approach?
pje I'm not sure that you can say it *exemplifies* the RIPP
pje approach, although it certainly goes along with that
pje approach. My hesitation is mainly that it
Hi Steve, and fellow ZPatterns Wannabees,
As to the sorts of things most of us need to keep track of that could tie
into a simple "ToDo" List, so far we've seen suggestions for an Address Book
and Deliverables. The first sounds kind of like a Contact List to me, or
maybe an Ownership or
36 matches
Mail list logo