[Zope-dev] Session

2001-01-16 Thread Anderson Ami

How  can I use this line ? Do I need any product ? 

  dtml-call "Session.set('myVariable','somevalue')

Anderson


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Roch'e Compaan

I'm still lost as to when __bobo_traverse__ is checked for object traversal
and when not.

I have very simple piece of SkinScript:  WITH SELF COMPUTE __bobo_traverse__
= traversal_method.  Looking at the traverse method in BaseRequest.py it
looks to me as if an object is always checked if it has a __bobo_traverse__
method but this is not what is happening.

If I manually type in a url, say path.to.specialist/dataskin1, where
dataskin1 exists, my traversal_method is not called.  When I type in
path.to.specialist/dataskin2, where dataskin2 does not exist then my
traversal_method is called.  Noticing that the traversal_method is called
when an object can not be found I tried
path.to.specialist/dataskin1/dataskin2, where dataskin1 is in the
specialist's rack but dataskin2 is in another specialist's rack and will
therefor not be found.  In this case my traversal_method was not called.  If
it was then I could retrieve it from the appropriate specialist.

I hope the above is clear because I'm somewhat desperate at the moment.  If
I'm trying the impossible, a simple "forget about it" will also do.

Roch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Phillip J. Eby

It sounds to me like you're trying to have SkinScript supply a
bobo_traverse for the Specialist itself, and this you cannot do.  (There
are other ways to change a Specialist's bobo_traverse behavior, but
SkinScript is not one of them.)  The SkinScript you're doing is meaningful
only if you want to go to specialist/skin1/something, in which case your
traversal_method should be called to process "something".

I don't have the slightest idea what you're trying to accomplish here - I
probably missed the beginning of this thread.  Do you want to change the
way the specialist processes the string "dataskin1", or the way dataskin1
processes the URL component that comes next?  Each requires a different
approach.


At 07:28 PM 1/16/01 +0200, Roch'e Compaan wrote:
I'm still lost as to when __bobo_traverse__ is checked for object traversal
and when not.

I have very simple piece of SkinScript:  WITH SELF COMPUTE __bobo_traverse__
= traversal_method.  Looking at the traverse method in BaseRequest.py it
looks to me as if an object is always checked if it has a __bobo_traverse__
method but this is not what is happening.

If I manually type in a url, say path.to.specialist/dataskin1, where
dataskin1 exists, my traversal_method is not called.  When I type in
path.to.specialist/dataskin2, where dataskin2 does not exist then my
traversal_method is called.  Noticing that the traversal_method is called
when an object can not be found I tried
path.to.specialist/dataskin1/dataskin2, where dataskin1 is in the
specialist's rack but dataskin2 is in another specialist's rack and will
therefor not be found.  In this case my traversal_method was not called.  If
it was then I could retrieve it from the appropriate specialist.

I hope the above is clear because I'm somewhat desperate at the moment.  If
I'm trying the impossible, a simple "forget about it" will also do.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread Andy McKay

 While that would work for the simple object case, I find the
 prospect of storing a bunch of BLOBs (for the image data of
 the Photos) in an RDBMS to be *most* un-appetizing. Storing
 them on the server's file-system seems in-elegant as well.

Okey dokey, just a suggestion. I have heard people talk about large ZOBD's
but once I go over a 10,000 object mark I just find a RDBMS easier myself.
Go for it good luck!

 Does anyone know of any hidden 'gotchas' when dealing with
 this many objects, regardless of the hit-load on the system?

Mostly starting and stopping Zope, the 2gb limit (which can be avoided),
pulling objects back out with complicated queries are my biggest gripes.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] manage_changeProperties in a loop

2001-01-16 Thread Steve Alexander

Arno Gross wrote:

 Suppose I have a list of existing folder objects and depending
 on their index in the list I want to set a property called 'rang'.
 
 I assumed you could something like this:
 
 
 dtml-call "REQUEST.set('rangList','folder1;folder2;folder2')" 
 (normally the list comes from outside)
 
 dtml-in " _.string.split(rangList,';')"   
   dtml-with "_.getitem('sequence-item')"   

Here, you're getting an item with the literal id 'sequence-item'.

What you mean is to get the item with the id described by the variable 
sequence-item. So, use:

 dtml-with "_.getitem(_['sequence-item'])"

Hope that helps.


This really is a [EMAIL PROTECTED] question, not a [EMAIL PROTECTED] 
question. Please do try to choose the appropriate list for the question. 
Thanks.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Roch'e Compaan

 It sounds to me like you're trying to have SkinScript supply a
 bobo_traverse for the Specialist itself, and this you cannot do.  (There
 are other ways to change a Specialist's bobo_traverse behavior, but
 SkinScript is not one of them.)  The SkinScript you're doing is meaningful
 only if you want to go to specialist/skin1/something, in which case your
 traversal_method should be called to process "something".

This is exactly what I want to do ie. process "something".

 I don't have the slightest idea what you're trying to accomplish here - I
 probably missed the beginning of this thread.  Do you want to change the
 way the specialist processes the string "dataskin1", or the way dataskin1
 processes the URL component that comes next?  Each requires a different
 approach.

The best way to describe this is with an example I suppose.  I have a
specialist "Products" and nested within "Products" is another specialist
"Modules".

The current status quo:
 I go to a Product dataskin with a url like Products/product_id.
 I go to a Module dataskin with a url like Products/Modules/module_id

Where I want to be:
 The url to the Product dataskin stays the same.
 I go to a Module dataskin with url like Products/product_id/module_id

As I see it the module_id is like the "something" you mentioned above. 
The module dataskin would obviously not be found by the Products
specialist, and in that case I simply want to tell it to go look in the
Modules specialist for the module.

I hope this makes more sense, if not I'll be glad to explain more.

Many thanks
Roch




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] ZCatalog with ZClass

2001-01-16 Thread Lily Li

Hello, everyone,

It seems that many of you have used ZCatalog pretty well. 

My problem is that I'd like a ZClass (of a Product) to subclass
CatalogAware, and implement all the index and search inside the Product.
That means I don't want to do any DTML method stuff outside of the Product. 

Could anyone tell me how to do it? I can't find anything like API document.
I don't have to read through the "Catalog.py" stuff, do I?

Thanks in advance. Cheers...

Lily

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry

Michael Bernstein wrote:

 So, again: Has anyone run up against any performance or
 other limitations regarding large numbers (hundreds of
 thousands or more) of objects stored within the ZODB either
 in a BTree Folder or a Rack?

I was looking into the same issues recently, but for a much smaller set of
data (5ish). In my tests ZPatterns/binary-trees scaled well for storage
and retrieval. But ZCatalog did not. It was basically useless for partial
matching searches (taking many minutes for searches that retrieved more
than 100 matches). I was also concerned about the indexing overhead. It
doesn't scale well when changing/adding many things at a time (we might
have bulk adds/changes).

I ended up deciding to go with a RDBMS backend for data storage with a
ZPatterns interface. SkinScripts work so well for this that I'm actually
glad I switched. It simplified my design and implementation immensely. 

-- 

John Eikenberry
[[EMAIL PROTECTED] - http://zhar.net]
__
"A society that will trade a little liberty for a little order
 will deserve neither and lose both."
  --B. Franklin

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread Andy McKay

Does ZPatterns provide a nice interface / way for storing classes in a
RDBMS? I have to say using an RDBMS is not as transparent as I would like,
this may may improve it. Finally a reason for me to ZPatterns...

--
  Andy McKay.


- Original Message -
From: "John Eikenberry" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: "Michael Bernstein" [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 3:22 PM
Subject: Re: [Zope-dev] Massive scalability


 Michael Bernstein wrote:

  So, again: Has anyone run up against any performance or
  other limitations regarding large numbers (hundreds of
  thousands or more) of objects stored within the ZODB either
  in a BTree Folder or a Rack?

 I was looking into the same issues recently, but for a much smaller set of
 data (5ish). In my tests ZPatterns/binary-trees scaled well for
storage
 and retrieval. But ZCatalog did not. It was basically useless for partial
 matching searches (taking many minutes for searches that retrieved more
 than 100 matches). I was also concerned about the indexing overhead. It
 doesn't scale well when changing/adding many things at a time (we might
 have bulk adds/changes).

 I ended up deciding to go with a RDBMS backend for data storage with a
 ZPatterns interface. SkinScripts work so well for this that I'm actually
 glad I switched. It simplified my design and implementation immensely.

 --

 John Eikenberry
 [[EMAIL PROTECTED] - http://zhar.net]
 __
 "A society that will trade a little liberty for a little order
  will deserve neither and lose both."
   --B. Franklin

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread Michael Bernstein

John Eikenberry wrote:
 
 Michael Bernstein wrote:
 
  So, again: Has anyone run up against any performance or
  other limitations regarding large numbers (hundreds of
  thousands or more) of objects stored within the ZODB either
  in a BTree Folder or a Rack?
 
 I was looking into the same issues recently, but for a much smaller set of
 data (5ish). In my tests ZPatterns/binary-trees scaled well for storage
 and retrieval. But ZCatalog did not. It was basically useless for partial
 matching searches (taking many minutes for searches that retrieved more
 than 100 matches)

Was this true even for cases where the batch size was
smaller than 100? For example, if a search returns over 100
results but the batch size is only 20 (so that only 20
results at a time are displayed), do you still get the
performance hit?

 [snip]
 I ended up deciding to go with a RDBMS backend for data storage with a
 ZPatterns interface. SkinScripts work so well for this that I'm actually
 glad I switched. It simplified my design and implementation immensely.

So you're saying that you are doing all searching using SQL
statements, and not just object retreival and storage,
correct? How are you handling full text searches?

Cheers,

Michael Bernstein.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread Michael Bernstein

Andy McKay wrote:
 
  While that would work for the simple object case, I find the
  prospect of storing a bunch of BLOBs (for the image data of
  the Photos) in an RDBMS to be *most* un-appetizing. Storing
  them on the server's file-system seems in-elegant as well.
 
 Okey dokey, just a suggestion. I have heard people talk about large ZOBD's
 but once I go over a 10,000 object mark I just find a RDBMS easier myself.
 Go for it good luck!

Thanks! I appreciate different points of view on this
problem, even if you have different 'comfort zones'.

  Does anyone know of any hidden 'gotchas' when dealing with
  this many objects, regardless of the hit-load on the system?
 
 Mostly starting and stopping Zope, [snip]

Are you saying that Zope's startup and shutdown time is
affected by the size of the ZODB?

Thanks,

Michael Bernstein.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread Michael Bernstein

RDM wrote:
 
 On Mon, 15 Jan 2001, Michael Bernstein wrote:
  as Squishdot). Adding a dependency on an RDBMS or requiring
  additional setup on the server's FS seems a step in the
  wrong direction.
 [...]
  So the question remains: Will either approach (within the
  ZODB) allow me to scale the application to hundreds of
  thousands (or even millions) of objects indexed in a
  ZCatalog?
 [...]
  I know that the ZCatalog/ObjectManager approach used by
  Squishdot will scale to over 9,000 objects (the number of
  postings to date at technocrat.net), So I'm reasonably
  certain that my proposed ZCatalog/BTree Folder approach will
  be at least as scalable. I'm slightly less confident about
  the Specialist/Rack approach, because I don't know of any
  sites that have used them to store that many objects in the
  ZODB, but only slightly.
 
 My understanding is that the point of ZPatterns is to hide
 the data storage implementation from the application.[snip]
 The point being that you can *change your
 mind* later, with minimal disruption to your application.  Not
 only that, but people who *use* your product can make their
 own decision about where to store the data.  So by using ZPatterns
 you [...] let the users
 of your product use an RDBMs if that works better for them.

Very good points, and ones that I will keep in mind. Thanks.

 In addition, it seems to me that your comments about ZCatalog+BTree
 apply equally well to ZPatterns, since you can use the Catalog
 to index stuff stored in a rack through the use of appropriate
 triggers, and it is my understanding that the default in-ZODB
 rack storage uses BTree internally.

I do not know if BTree folders and Racks share the same
B-Tree implementation, which is why I qualified my statement
as 'slightly less confident'.
 
 Unfortunately I don't have much input on your question about
 real-life scalability...the most I've done is stored 6 small objects
 in a hierarchy of zope folders, indexed by the catalog, with
 no perceptable slowdown in search or retrieval speed.

Hmm. John Eikenberry mentioned a slowdown with about 50,000
objects on partial-match searches, but I don't know how
simple/complex the objects were, or how many atributes were
being indexed. How many indexes of various types was your
ZCatalog maintaining on your objects?

Thanks,

Michael Bernstein.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry

Andy McKay wrote:

 Does ZPatterns provide a nice interface / way for storing classes in a
 RDBMS? I have to say using an RDBMS is not as transparent as I would like,
 this may may improve it. Finally a reason for me to ZPatterns...
 
The best way to get a taste is to try it out. The easiest way to do this is
to install LoginManager plus the DB/DA. Then follow the instructions in...

LoginManager with SQL and Skinscript
http://www.zope.org/Members/dlpierson/sqlLogin

I had it up and running pretty quickly following these instructions.

More generally the combo of sql-methods and ZPatterns (ie. skinscripts)
seems pretty compelling. I've used SQLMethods pretty extensively for the
past 18 months.  They have definate limitations which is why I'm working on
the object based system. The ZPatterns abstraction seems to provide the
best of both worlds.  You get the nice parts of SQLMethods; timed cache,
dtml query syntax and web viewable sql querries, plus you get a nice object
abstractaction (much better than plugable brains). SkinScripts allow for
easy attribute and trigger handling, basically like a simple object
description language.

If you can't tell, I'm pretty sold on ZPatterns. And once deciding that an
RDBMS was the best way to go for data storage, it fit into the 'pattern'
very nicely. I haven't deployed it yet, but its pretty fun to work on. :)

-- 

John Eikenberry
[[EMAIL PROTECTED] - http://zhar.net]
__
"A society that will trade a little liberty for a little order
 will deserve neither and lose both."
  --B. Franklin

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] ZCatalog with ZClass

2001-01-16 Thread Michael Bernstein

Lily Li wrote:
 
 Hello, everyone,
 
 It seems that many of you have used ZCatalog pretty well.
 
 My problem is that I'd like a ZClass (of a Product) to subclass
 CatalogAware, and implement all the index and search inside the Product.
 That means I don't want to do any DTML method stuff outside of the Product.

What you probably want is to create a repository that
subclasses ZCatalog as is described in this HowTo:

http://www.zope.org/Members/tseaver/inherit_ZCatalog

And then add your CatalogAware ZClasses into it. Then you
can set up your ZCatalog/ObjectManager with search methods.

HTH,

Michael Bernstein.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Massive scalability

2001-01-16 Thread John Eikenberry

Michael Bernstein wrote:

 John Eikenberry wrote:
  
  I was looking into the same issues recently, but for a much smaller set of
  data (5ish). In my tests ZPatterns/binary-trees scaled well for storage
  and retrieval. But ZCatalog did not. It was basically useless for partial
  matching searches (taking many minutes for searches that retrieved more
  than 100 matches)
 
 Was this true even for cases where the batch size was
 smaller than 100? For example, if a search returns over 100
 results but the batch size is only 20 (so that only 20
 results at a time are displayed), do you still get the
 performance hit?

Short answer: yes 

Long answer: If you check out the source and/or hit it with the profiler
you'll see that the way the partial search works is to first do a more
general search then to limit the hits as much as possible via regex's.
Both these steps have to happen no matter the batch size, and this is where
you take the performance hit.  

  [snip]
  I ended up deciding to go with a RDBMS backend for data storage with a
  ZPatterns interface. SkinScripts work so well for this that I'm actually
  glad I switched. It simplified my design and implementation immensely.
 
 So you're saying that you are doing all searching using SQL
 statements, and not just object retreival and storage,
 correct? How are you handling full text searches?

Yes. I'll use MySQL's built in pattern matching facilities. It can do full
text searches with partial matching, and it can do this fast.  I'm working
on a system that will return the DataSkin's in responce to the query.
Allowing me to deal with just the objects yet use all of MySQL's
facilities. 

I'v just started to work on this as part of a larger project, but I'm doing
it full time and should have something fairly soon. My company is very free
software friendly, so I'll be able to share it once its ready. If you
happen to be interested.

-- 

John Eikenberry
[[EMAIL PROTECTED] - http://zhar.net]
__
"A society that will trade a little liberty for a little order
 will deserve neither and lose both."
  --B. Franklin

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




RE: [Zope] ZClasses meet PythonScripts, sample request

2001-01-16 Thread Max Møller Rasmussen

From: Timothy Wilson [mailto:[EMAIL PROTECTED]]

 You have id as a form variable.  You will be disappointed by its
 behavior.

Care to elaborate on the problems with using id as a form variable.

You can be easily bitten by acquisition on this.

If you call a dtml-method that wants to use your "id" variable from the form
and you do: dtml-var id it will return the id of the zClass that the
method is in. If you use the form from a dtml-document you will get the id
of that. Under no circumstances will you get the variable from the form.

To get the id from the form you will have to use this idiom:

dtml-var "REQUEST['id']"

or

dtml-with REQUEST
dtml-var id
/dtml-with

Regards Max M

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Folder upload ?

2001-01-16 Thread Oleg Broytmann

On Mon, 15 Jan 2001, Marc Fischer wrote:
 Could anyone tell me, if it is possible to upload a whole folder with all
 its including objekts like pictures and things into ZOPE? If yes, tell me
 how, please.

   There is load_site.py in Zope utilities directory, and there is newer
version of it somewhere on zope.org - just search.

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] hasRole bug or feature in 2.2.?

2001-01-16 Thread Shai Berger


Dieter writes:

   If I can't safely assume any of the above, would I be better off using a
   session product to track a user after log in so I can determine their roles
   from an unprotected document?  Any other ways?
 If the session product uses cookies, you will have a situation
 similar to cookie based authentication. Otherwise, you
 will need to shift the session id often between query string
 and hidden variable which is a bit tedious.

One relatively less tedious way to do this would be to put the session
id in the URL rather than in forms; you can do this by using an access
rule along the lines of:

dtml-let stack="REQUEST['TraversalRequestNameStack']"
 dtml-if "(stack and stack[0][:6]!='manage')"
  (assuming the next component of the path is the session id,
   remove it from the traversal path)
  dtml-call "REQUEST.set('session_id',stack.pop())"
  (somehow make sure that the session_id is valid and revive the
   session object. With SQLSession, may be done by
  dtml-call "Session(session_id)"
  (path in the next line is supposed to be replaced by something
   which, preferebly dynamically, retrieves the path traversed up
   to this point. This is needed so the session id shows up in
   URLs generated down the tree)
  dtml-call "REQUEST.setVirtualRoot(path+'/'+session_id)
 /dtml-if
/dtml-let

What this does is translate a url of the form
http://server.com/123456/real/path
to http://server.com/real/path for resource-search purposes, while
making sure that all calls to absolute_url() return urls of the form
http://server.com/123456/... . This means that as long as you rely
on absolute_url rather than relative links, you're essentially done.

This ignores session initialization first time, but I hope the
general idea of how to do this is enough. I don't have a live
example at my fingertips, but something a lot like this was done
here some time ago.

Have fun,
Shai.

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] My Add list is so full...

2001-01-16 Thread Max Møller Rasmussen

From: Francois-regis Chalaoux

Since long time ago I have this reflexion.  Now I have installed so many
thing in Zope the add list combobox is huge :

There are too many meta-type item in add list. Is is possible to
organize sublist of meta-type into  products sublist ?

aha ...

Max M's law $1:

"Anything that is a list in a userinterface will eventually need to evolve
into a tree."

Well that doesn't help much, but at least your problem has a name now.

Other than that there is nothing to do about it.

Regards Max M ;-)

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML-dtml-in dtml-call

2001-01-16 Thread Rik Hoekstra



 Angietel wrote:
 
 
 Is dtml-call REQUEST['sqlSearchcust3'] equal to dtml-in
 sqlSearchcust3

No, if only of a syntax error in the dtml-call: dtml-call
REQUEST['sqlSearchcust3'] should be dtml-call
expr="REQUEST['sqlSearchcust3']"

Now in this case they _may_ be equal, but only if sqlSearchcust3 lives
in the REQUEST object. It may (and judging by the name probably will)
also live in the object database. This is available from the _ 
namespace, which also includes REQUEST, but not from REQUEST.

hth

Rik

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Jerome Alet

On Tue, 16 Jan 2001, peter bengtson wrote:

 I'm looking for some tool to convert ZWiki text to MS Word.
 Reason being that my boss wants it in MS Word, and I do all my typing as
 ZWiki's.

Why don't you save the content as plain text with a .doc extension
(eventually adding the CR befoe each LF character). Your
boss will then be able to read it from Word directly.

I bet your boss won't see anything, and it's very easy to do (at least I
suppose)

hoping this will help.

bye,

Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome
Fac de Medecine de Nicehttp://wwwmed.unice.fr 
Tel: (+33) 4 93 37 76 30 Fax: (+33) 4 93 53 15 15
28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread peter bengtson

Sorry, no experience of using HappySession. Can't even remember why I
decided to try FSSession initially.

Cheers, Peter



 Im using the Happy Session, but I heardy bad things about this product,
 Which one do you think is better ?

 Thanks a lot
 Anderson


[CC to [EMAIL PROTECTED] so that the rest of the list can follow discussion
threads like this one]


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris Withers

  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] EventFolder entries reached externally

2001-01-16 Thread peter bengtson

Jeff,

We use an EventFolder on our intranet.

Basically, how do I get a dtml-in of data in todays entries in the
EventFolder? I want to publish in another list somewhere else with a title
like this:
"Today's Happing For Those Who Don't Care To Go To The Intranet And Click
Our EvenFolder"

Best regards, Peter


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Phil Harris

Seconded,  the docs are good and the product sems to work 8)

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:07 PM
Subject: Re: [Zope] Session


   Im using the Happy Session, but I heardy bad things about this
product,
   Which one do you think is better ?
  
   Thanks a lot
   Anderson

 Anderson,

 Why not try Zope's own session product:
 http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

 this will be in the Zope core from 2.3 onwards but is available for
 download now.
 It has great docs, so make sure you read them before posting here ;-)

 cheers,

 Chris

 ___
 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
  http://lists.zope.org/mailman/listinfo/zope-dev )


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Frank McGeough

More than Word I would really like something that would convert the wiki
into a Windows help file.

- Original Message -
From: "peter bengtson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 6:11 AM
Subject: [Zope] ZWiki -- MS Word


 Searched zope.org, the z mailing list and google.com (the only search
 engines I use these days)
 I'm looking for some tool to convert ZWiki text to MS Word.
 Reason being that my boss wants it in MS Word, and I do all my typing as
 ZWiki's.

 Any solution is welcomed!
 Since ZWiki's are CaPs neurotic, some sections are called for example:
 "OrganiSations" or "PaGe".
 Also the text has these references.

 Bare in mind, that it doesn't have to be a native Zope or python thing,
but
 I post it here in hope.

 /Peter



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: ZWiki -- MS Word

2001-01-16 Thread Andreas Tille

On Tue, 16 Jan 2001, Jerome Alet wrote:

 Why don't you save the content as plain text with a .doc extension
I suggest .txt extension.  This is what I did with my boss ... :)

Kind regards

Andreas.


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Session

2001-01-16 Thread Anderson Ami

I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] RTFM?

2001-01-16 Thread Chris Withers

Anderson Ami wrote:
 
 I did this :
 
 - I created a Session Manager called Session
 - In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
 - In other dtml document called document2 I wrote : dtml-var NAME
 
 Why doest it work ?
 when I call document2 the zope generates a error.

If this is usign CoreSessionTracking, you _really_ need to read the
documentation...

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Adding content type to internet explorer

2001-01-16 Thread Farrell, Troy

In W95/NT:
  Open a File Explorer window (not IE) and select Options from the View
menu.
  The popup will have a tab labeled File Types.  This is how you change
windows MIME types.
In W98/2k:
  I don't remember and I don't have it with me.  It is a similar option
under IE (since there is no normal explorer.

The settings are stored in the registry, but this is the easiest way to edit
them.  Please try to keep the list topics to zope.

Thanks.
Troy

-Original Message-
From: Hung Jung Lu [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 5:18 PM
To: [EMAIL PROTECTED]
Subject: [Zope] Adding content type to internet explorer


Hi,

Can someone tell me how to add content types (and the associated program) to

internet explorer on Windows platform? Is it in the registry?

thanks,

Hung Jung

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )





___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )






___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] commit_sub error in Product

2001-01-16 Thread seb bacon

I'm writing a minimal product for which I'm getting a

 Error Type: AttributeError
 Error Value: commit_sub

from the transaction machinery.  The traceback's no help.  The
offending code, however is:

 class Foo(SimpleItem)

def __init__(self, id, title, file):

self.file = Image('file',title,'')
self.file.manage_upload(file)

Can anyone tell me what's wrong here?

Cheers,

seb

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] [ZClass]User Form to add an Instance of one ZClass to an instanceof another ZClass of another ZClass

2001-01-16 Thread Farrell, Troy

Hello all-

Being new to ZClasses, I'm having some difficulties.
I have a ZClass NetShowLogFile.  I can add this to normal Folder Objects
through the management interface.
I have a second ZClass StreamingEvent.  I would like an user to be able to
add a NetShowLogFile to an existing Folder Object logs inside
StreamingEvent.

StreamingEvent
 L__logs (folder object)
 L__newNetShowLogFile (DTML method)
 L__newNetShowLogFileForm (DTML method)

If I have a BigEvent StreamingEvent and a user goes to:
http://localhost/BigEvent/newNetShowLogFileForm
They get a form where they upload a log file through a form
action="newNetShowLogFile" method="post" enctype="multipart/form-data"
If newNetShowLogFile only says:
dtml-var REQUEST
none of the form variables are passed by NS6.

1)Netscape 6 (WINNT 4) is not passing REQUEST properly when the form enctype
is multipart/form-data.  Anybody else seen this?  IE5.5 seems to get it
okay.

Next:

newNetShowLogFile looks like this:
dtml-if "REQUEST.has_key('id')"
  dtml-with logs
dtml-with "manage_addProduct['NetShowLogFile']"
  dtml-var "NetShowLogFile_add(_.None, _, REQUEST)"
/dtml-with
  /dtml-with
dtml-else
  Netscape lost the REQUEST again.
/dtml-if

This calls NetShowLogFile_add in the same way the management UI does.
However, IE  is not able to do the dtml-call
"propertysheets.NetShowLogFileProperties.manage_editProperties(REQUEST)".
I keep getting the error that I am unauthorized to access
manage_editProperties. I don't know which permissions I need to adjust on
the ZClass.

Thanks for reading my long email.  In case you are curious, I am writing a
Zope/Python-based streaming media log file analyzer.

Troy Farrell
Video Operations Technician III
Williams VYVX Services
918.573.3029
918.573.1441 fax
mailto:[EMAIL PROTECTED]
http://www.williams.com

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZPOP Popularity Property ?

2001-01-16 Thread Jason Cunliffe

Hello

I want to add a property to folders, documents and certain objects called
'popularity'.
Can anyone offer some Zope advice how I might achieve the following:

1. Maintain an updated count of hits to those objects storing the number of
hits, or preferrably an some offfset processed version of that number in
'popularity'. The processed value could take into account when and where the
hits came from.

2. Search through folders and subfolders, checking objects 'popularity'
value, and then return ordered lists to display of most/least popular.
Preferably these lists would be Python dictionaries, and could be stored
externally using BerkeleyStorageDB or similar so as not to extend the ZODB
uneccesarily with small transaction data.



This is inspired in part by a cool interface idea at:
http://rhizome.org/starrynight/

quote
Description
When a new text is read for the first time on the Rhizome website, it
appears on StarryNight as a dim star.

Each time a text gets read again-by any Internet user around the world-the
corresponding star gets a bit brighter. Over time, the page comes to
resemble a starry night sky, with bright stars corresponding to the most
popular texts in the database, and dim stars corresponding to less-popular
ones.

Dragging the mouse over one of the stars brings up a pop-up list of keywords
that the corresponding text shares with other texts. Select a keyword in the
pop-up list to draw a constellation linking all the stars that share that
keyword.
/quote

I have other plans how to 'render' the popularity results, including as
boring but very useful XHMTL tables, using Zwiff [Zope Flash product based
on Ming. see http://www.zope.org/Members/sspickle/Zwiff/]

Thanks

- Jason
___
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Oleg Broytmann

On Tue, 16 Jan 2001, Chris McDonough wrote:
 dtml-with "Session.getSessionData()"
   ^
   Close th broket:

dtml-with "Session.getSessionData()"
 ^

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope and Linux flavors

2001-01-16 Thread Ragnar Beer

Howdy Zopistas!

These days I came to the conclusion that I might need to investigate 
a bit on Linux as an alternative base for running Zope. So far I've 
been using OpenBSD which is a real timesaver when it comes to setting 
up a secure server which is my first priority over anything else.

What I'd like to know is:

Which Linux distributions are you using for running Zope and how easy 
it was for you to maximize security of your server?

Ragnar

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Adding content type to internet explorer

2001-01-16 Thread Farrell, Troy

Actually, I'm not a newbie, but that is the nicest greeting a "newbie" has
gotten on this list that I know of.  Thanks.

To see how IE looks at MIME types, look here:
http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.as
p
From the looks of it:

IE first looks at the
Content-Type: application/x-pdf (or whatever you are using)
header from the server.  If that is an unknown type and unambiguous, it
returns the data as whatever the server calls it.
If the type is known AND ambiguous (text/plain or application/octet-stream),
IE parses the data and guesses.  If it comes to no conclusion, then it looks
at the extension.

Try a 
dtml-call expr="RESPONSE.setHeader('Content-Type', 'application/x-pdf')"
or whatever is appropriate for your application.

AFAIK NS looks only at the Content-Type: header, but I consider myself
ignorant in that area.


Troy

-Original Message-
From: Hung Jung Lu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 8:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [Zope] Adding content type to internet explorer


Thanks. But I have done that before I posted the message. The thing is, 
changing Windows file type ("Classes") is not enough, because the IE would 
prompt you a question on whether you want to save the file or open it in 
place. I am asking the question because there are products out there that 
use the file-MIME-type trick to launch applications. That is, you click on a

mundane HTML link and you launch a local application, without IE asking you 
any question. Obviously something inside the IE (or registry) has been 
tweaked. Anyway, a bit too technical.

On the other issue of posting topics only related to Zope, I can tell you 
are a newbie. Welcome to Zope.

regards,

Hung Jung

In W95/NT:
   Open a File Explorer window (not IE) and select Options from the View
menu.
   The popup will have a tab labeled File Types.  This is how you change
windows MIME types.
In W98/2k:
   I don't remember and I don't have it with me.  It is a similar option
under IE (since there is no normal explorer.

The settings are stored in the registry, but this is the easiest way to 
edit
them.  Please try to keep the list topics to zope.

Thanks.
Troy

-Original Message-
From: Hung Jung Lu [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 5:18 PM
To: [EMAIL PROTECTED]
Subject: [Zope] Adding content type to internet explorer


Hi,

Can someone tell me how to add content types (and the associated program) 
to

internet explorer on Windows platform? Is it in the registry?

thanks,

Hung Jung

_
Get your FREE download of MSN Explorer at http://explorer.msn.com

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Image Upload

2001-01-16 Thread Fabio da Silva Santos


Hi there,

I'm trying to insert an image in Zope by uploading it in an HTML 'file'
field, using the following validation code:

dtml-if "banner_1  _.None"
   dtml-call "banners.manage_addImage(id='',file=banner_1)"
/dtml-if

When I submit an empty 'file' field, the dtml-call is invoked just the
same, and I get an error message saying that the field is empty; 
when I check what's in REQUEST I see this:

banner_1 ZPublisher.HTTPRequest.FileUpload instance at 85fb998

Therefore, I reckon there must be something wrong with this
validation routine.  What should I do in order to run it properly?

Thanks,

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope from a php perspective

2001-01-16 Thread Vincent Stoessel

Hello All,
I have starting testing Zope as a potential
CMS for some production websites. I think I understand the
basic of to create and edit pages in the Zope system.
I haver a few questions for those more experieced with
this system. I am very familiar with php so I need someone
to translate these concepts for me.


include_path : I understand that you can automatically
include objects into pages by referencing their id, I also understand
that Zope automatically searches up the parent chain till it finds a 
matching object. But what if I want to include something outside of the
tree? or just wanted a central repositories of object that I wanted to
be able access from anywhere.

i.e




carscolors
| 
|
ford 
 red
|
toyota

if cars and colors are on seperate branches, how an I
"cross" the brnches to access objects.


Publishing tools:
I'm going to be doing some news related sites, are there
tools specially made for this type of project?
I'm using 2.2.5 , does Ztemplates and Zpublisher automatically
come with this version? They are not listed in the "products"
folder in the management screen.

Where can I find the the full docs on
Ztemplates and Zpublisher?

comment: I find the Zope website hard to extract info from.
I suggest a seperate section for ducumentation of the core
functionality and another section for additional add-on
modules (products?)

Thanks you,
Vinny










-- 
Vincent Stoessel [EMAIL PROTECTED]
Internet Applications Engineer
IDEV http://www.idev.com
V: 301 495 7345 x129


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Problem on using nested dtml-ifdtml-in

2001-01-16 Thread Spicklemire, Jerry

Angie asked:

 The problems is i'm not sure my dtml in order to control the loop 
 of choosing the correct sql in the right situation.
 The following is my DTML:-
 
 dtml-if "_["dtml-var custid"]==custid","_["dtml-var 
 custname"]==custname"
 dtml-in sqlSearchcust1
 /dtml-if

 dtml-elif "_[""]==custid","_["dtml-var custname"]==custname"
 dtml-in sqlSearchcust2
 /dtml-if

 dtml-elif "_["dtml-var custid"]==custid","_[""]==custname"
 dtml-in sqlSearchcust3
 /dtml-if

First, the rule is "No DTML inside DTML", which translates to 
simply refering to objects by names, in any DTML tag, like so:

dtml-if "_['custid']==custid,_['custname']==custname"

Also, notice that the only Double-Quotes are the outside pair, 
inside those you must use single quotes.

Last, the only DTML-IF tag you need is that final one.

Try this much, and see if all your probems go away.
If not, let us know.

Later,
Jery S.



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Session

2001-01-16 Thread Anderson Ami

I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )





___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope from a php perspective

2001-01-16 Thread Chris McDonough

Hi vincent...
 include_path : I understand that you can automatically
 include objects into pages by referencing their id, I also understand
 that Zope automatically searches up the parent chain till it finds a
 matching object. But what if I want to include something outside of the
 tree? or just wanted a central repositories of object that I wanted to
 be able access from anywhere.

You use expressions which include a path to the container.  An example,
where "MyFolder" is a folder in the Zope root folder:

dtml-in "MyFolder.objectIds()"
   dtml-var sequence-itembr
/dtml-in

"MyFolder" will be found in the containment path, and you're access the
objectIds method of it by using the expression "MyFolder.objectIds()".  Some
better examples are given in the Zope book.  One thing to realize is that
things "in quotes" following a dtml-var, dtml-call, dtml-with, dtml-in, etc.
is a Python expression, whereas things that are not in quotes are not.


 i.e




 cars  colors
 |
 |
 ford
 red
 |
 toyota

 if cars and colors are on seperate branches, how an I
 "cross" the brnches to access objects.

I dont understand your diagram.



 Publishing tools:
 I'm going to be doing some news related sites, are there
 tools specially made for this type of project?
 I'm using 2.2.5 , does Ztemplates and Zpublisher automatically
 come with this version? They are not listed in the "products"
 folder in the management screen.

Check out the portal toolkit...http://www.zope.org/Products/PTK


 Where can I find the the full docs on
 Ztemplates and Zpublisher?

See the Zope Book:  http://www.zope.org/Members/michel/ZB/, particularly the
chapter "Dynamic Content With DTML".


 comment: I find the Zope website hard to extract info from.
 I suggest a seperate section for ducumentation of the core
 functionality and another section for additional add-on
 modules (products?)

This is sort of the way it's laid out now, although arguably many core
pieces should really be Products with their own set of documentation.



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope from a php perspective

2001-01-16 Thread Stephane Bortzmeyer

On Tuesday 16 January 2001, at 11 h 43, the keyboard of Vincent Stoessel 
[EMAIL PROTECTED] wrote:

 matching object. But what if I want to include something outside of the
 tree?

Zope does not use the tree of directories: it uses its own database. Hence, 
every object is in the Zope tree.

 or just wanted a central repositories of object that I wanted to
 be able access from anywhere.

Install them at the root.



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )







___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Batch.

2001-01-16 Thread Rommel Novaes Carvalho

Hi everybody,

 I am studying Zope and I saw a batch exemple on the zopebook but I
don't know why it does't work properly. I would be glad if any of you could
send me a batch exemple to see why the one I saw in the book is not working.

 
Thanks in advance,
 
Rommel Novaes Carvalho

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Session

2001-01-16 Thread Anderson Ami

It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )






___
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
 

RE: [Zope] Zope and Linux flavors

2001-01-16 Thread Jonathan \(Listserv Account\)

 Which Linux distributions are you using for running Zope and how easy
 it was for you to maximize security of your server?

Red Hat Linux 6.2 here. After a standard install, download and install
latest release of SSH. Open '/etc/inetd.conf', comment out all services.
Save and do a 'killall -HUP inetd'. Do 'ntsysv' and disable everything
you are not going to use on that machine (typically sendmail, nfslock,
identd, portmap etc.). Reboot after that.

That's what I do first. After that, get all the Red Hat updates from a
nearby mirror. Install all, make sure you've got at least a 2.2.16
kernel. Rebooting is not gonna hurt, check what services are started as
the machine boots.

Get Bastille Linux (http://www.bastille-linux.org) and lock down the
box, leaving only 22 and 80 open to the outside world. Well, maybe not
that extreme but you get the drift :)

Check '/etc/hosts.allow' and '/etc/hosts.deny' to make sure that only
the absolute minimum of hosts is allowed access to the server. The
latter should contain something like 'ALL: ALL'.

That catches most of the script kiddies. Still won't stop a real cracker
though, for that you need more. Much more. Read the various docs, keep a
tab on updates at Red Hat, SANS, Bugtraq etc. And remember, only the
paranoid survive in network security :)

Other Linux distros are similar, but this is the one I know :)

HTH
Jonathan


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

Damn.  I see what you're talking about.  I was relying on features of 2.3
that aren't in 2.2.X.  I'm going to make another release to fix the problem,
and I'll post it when done.  Sorry about that.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:14 PM
Subject: RE: [Zope] Session


It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL 

[Zope] dtml-var expr=maand missing=1???

2001-01-16 Thread Edwin Martin

Hello,

How can I use an undefined variable in an expression?

I made a DTML document which gets parameters from the URL,
like "/nieuw?maand=1".

But I also want it to work when no parameters are given.

'Missing' should be the answer,  but the following doesn't work:
dtml-var expr="_.int(maand)+1" missing=1
dtml-let defmaand=maand missing=1.../dtml-let
dtml-in listbydate reverse size=20 start=maand missing=1

I expected to find a solution in
http://www.zope.org/Members/michel/ZB/DTML.html
http://www.zope.org/Members/michel/ZB/AppendixA.html
but couldn't find it.

Edwin (who would be so happy with *good* documentation)

---
To be upset over what you don't have is to waste what you do have.
-- Unknown

Surf Edwin Martin's brainwaves: http://www.bitstorm.org/edwin/ 


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope and Linux flavors

2001-01-16 Thread Simon Coles

Which Linux distributions are you using for running Zope and how 
easy it was for you to maximize security of your server?

We run a variety of RedHat 6.1, 6.2, and 7.0 and Debian 2.2, as well 
as Solaris.

We apply all the latest updates, turn off services we don't use, and 
proxy Zope through Apache. We then block all but port 80 at the 
router. The servers are then firewalled off from the rest of the 
network.


Simon
-- 
- My opinions are my own, NIP's opinions are theirs --
Simon J. Coles Email: [EMAIL PROTECTED]
New Information Paradigms  Work Phone: +44 1344 753703
http://www.nipltd.com/ Work Fax:   +44 1344 753742
=== Life is too precious to take seriously ===

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope from a php perspective

2001-01-16 Thread Tom Jenkins

Howdy,

Yes, you can call another object outside your "tree".  Example:
lets say you have 
/folder1/folder1a/item1
and
/folder2/item2

and you want to access item2 from item1 in dtml you need to put item2
into the context:
dtml-with "folder2.item2"
p 
This puts  item2 from folder2 into context... any dtml-var calls will
first be applied to item2
until the closing with tag
/p
title of item2 = dtml-var title
/dtml-with


with the "folder2.item2" Zope starts walking up the tree until it finds
folder2 then walks down to find item2

hope this helps

Tom



"Vincent Stoessel" wrote:
  
  Hello All,
  I have starting testing Zope as a potential
  CMS for some production websites. I think I understand the
  basic of to create and edit pages in the Zope system.
  I haver a few questions for those more experieced with
  this system. I am very familiar with php so I need someone
  to translate these concepts for me.
  
  
  include_path : I understand that you can automatically
  include objects into pages by referencing their id, I also
understand
  that Zope automatically searches up the parent chain till it finds a

  matching object. But what if I want to include something outside of
the
  tree? or just wanted a central repositories of object that I wanted
to
  be able access from anywhere.
  
  i.e
  
  
  
  
  cars colors
  | 
   |
  ford 
red
  |
  toyota
  
  if cars and colors are on seperate branches, how an I
  "cross" the brnches to access objects.
  

Tom Jenkins
devIS - Development InfoStructure
http://www.devis.com


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Session

2001-01-16 Thread Anderson Ami

Thanks a lot.
Is there another way for save and retrive session variables ?


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:59
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Damn.  I see what you're talking about.  I was relying on features of 2.3
that aren't in 2.2.X.  I'm going to make another release to fix the problem,
and I'll post it when done.  Sorry about that.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:14 PM
Subject: RE: [Zope] Session


It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "peter bengtson" [EMAIL PROTECTED]
Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


  Im using the Happy Session, but I heardy bad things about this product,
  Which one do you think is better ?
 
  Thanks a lot
  Anderson

Anderson,

Why not try Zope's own session product:

[Zope] ANN: CoreSessionTracking 0.6

2001-01-16 Thread Chris McDonough

A new release (0.6) of the CoreSessionTracking software which allows you to
associate state with anonymous visitors across requests is up at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking.

It remedies the problems of 0.5 being basically incompatible with pre-2.3
Zopes, and fixes a couple other bugs.





___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] data return with def function im my Zclass

2001-01-16 Thread Marcus Mendes

Hello,

I need in my Submit form, call the function "def XXX" of my Zclass
(lib/python/Product/class). How can I do it? And how can I get and test
the return data of my def XXX of my class?

Thanks.

Marcus Mendes

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

I just posted a new release (.06) that fixes the problem at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 1:16 PM
Subject: RE: [Zope] Session


Thanks a lot.
Is there another way for save and retrive session variables ?


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:59
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Damn.  I see what you're talking about.  I was relying on features of 2.3
that aren't in 2.2.X.  I'm going to make another release to fix the problem,
and I'll post it when done.  Sorry about that.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:14 PM
Subject: RE: [Zope] Session


It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

- Original Message -
From: 

[Zope] Newbie: python to create a Zope page?

2001-01-16 Thread David Humphreys


So, I'm about 72 hours into Zope, and totally loving it. I'm stuck on
something simple, and I was hoping I could get a little help.

Short question:
How do I get python to create a Zope page? I'm looking for some simple
source code that would walk me through that. I've looked through the online
documentation and, if it's there, it's pretty well hidden inside of other
things...

Longer questions:
I'm trying to get python to suck in a bunch of XML pages and create Zope
pages out of them. I understand that there's a Zope / XML group, but it's
not clear to me if there's any useable code that's come out of that
initiative so far. (So, question 1: is that true?)

I'm trying to create a lightweight content manipulation system for the
company's site, and I'm thinking that what I want to do is: a) take the
existing site's content, b) format it into XML with python (thus discarding
its current format, and maintaining important metadata), c) get python to
create Zope pages, d) create an editing system using Zope, and e) publish
those pages out to static pages (and potentially other formats) on a regular
basis. As a general strategy, is this a good way to go? Are there pointers
out there that could help me with this quest?

Thanks in advance!

--
David Humphreys
[EMAIL PROTECTED] * 415/832-5917
or [EMAIL PROTECTED] (pager)


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Session

2001-01-16 Thread Anderson Ami

Now It works !
Thanks so much !!
You give me a big advice !!!

Anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 16:46
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


I just posted a new release (.06) that fixes the problem at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 1:16 PM
Subject: RE: [Zope] Session


Thanks a lot.
Is there another way for save and retrive session variables ?


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:59
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Damn.  I see what you're talking about.  I was relying on features of 2.3
that aren't in 2.2.X.  I'm going to make another release to fix the problem,
and I'll post it when done.  Sorry about that.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:14 PM
Subject: RE: [Zope] Session


It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I call document2 the zope generates a error.


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]

[Zope] change parameter by mouseclick

2001-01-16 Thread Olaf Zanger

Hi everybody,

Right now we use the following statement to change the language on every
page the user is. very neat made by the NFGnav guys. 
   a  href=dtml-var URL0?ll=defont color=yellowGerman/font/a

unfortuanately if the user is on a page with an url like this
  
http://sino:8080/ipOperate/reports/fac_base_report.htm?fac_id_only=mod_id_only=inv_id_only=setup_min_date=setup_max_date=month=year=min_date=max_date=nowirr_avg=browse=anzeigen
  yes, i'm proud on that one :-)

the statement doesn't work anymore :-) because it doesn't simply change
the 
"ll" variable to "de" but also kills quite some other needed variables
(all, actually)

i assume the solution goes with this one, but how can i activate in a
menu without
fucking up my lovely url?
  dtml-call "REQUEST.set('ll','de') 

thanks for help -- and you guys are great help :-)
hope to give back some know how after this project slows a bit down 

olaf

-- 
soli-con Engineering Zanger
Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23
3013 Bern / Switzerland
Fon: +41-31-332 9782
Mob: +41-76-572 9782
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.soli-con.com

begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



Re: [Zope] dtml-var expr=maand missing=1???

2001-01-16 Thread Dennis Nichols

At 1/16/01 06:49 PM, Edwin Martin wrote:
Hello,

How can I use an undefined variable in an expression?

I made a DTML document which gets parameters from the URL,
like "/nieuw?maand=1".

But I also want it to work when no parameters are given.

How about

   dtml-unless maanddtml-call "REQUEST.set('maand',1)"/dtml-unless


--
Dennis Nichols
[EMAIL PROTECTED]


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] commit_sub error in Product

2001-01-16 Thread Dieter Maurer

seb bacon writes:
  I'm writing a minimal product for which I'm getting a
  
   Error Type: AttributeError
   Error Value: commit_sub
  
  from the transaction machinery.  The traceback's no help.  The
  offending code, however is:
  
   class Foo(SimpleItem)
  
  def __init__(self, id, title, file):
  
  self.file = Image('file',title,'')
  self.file.manage_upload(file)
  
  Can anyone tell me what's wrong here?
This is a bug, that has been reported several times
recently.

Your file is probably quite large and Zope
wants to store it piecewise in the ZODB (in
several subtransaction). However, some necessary
object does not have the "commit_sub" method.

Look into the collector, whether the bug is already
recorded. If not, do it.


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTML-dtml-in dtml-call

2001-01-16 Thread Dieter Maurer

Angietel writes:
  This is a multi-part message in MIME format.
  
  --=_NextPart_000_0011_01C07FB8.87F89860
  Content-Type: text/plain;
   charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable
That will be the last time, I answer to your MIME messages.

  Is dtml-call REQUEST['sqlSearchcust3'] equal to dtml-in =
  sqlSearchcust3

dtml-call REQUEST['sqlSearchcust3']

will raise an exception, as it will look for
an object with name "REQUEST['sqlSearchcust3']".

What you want is:

dtml-call expr="REQUEST['sqlSearchcust3']"

This does nothing (maybe raises a KeyError 'sqlSearchcust3'),
as "dtml-call" evaluates for side effects only and
does not produce any text. "REQUEST['sqlSearchcust3']"
does not have side effects.

Now, "dtml-in sqlSearchcust3.../dtml-in" may also do nothing.
Though, this is usually not expected.


I suggest, you read carefully the DTML chapter in the
upcoming Zope book and try to understand the semantics
of the various DTML tags.


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How to get python error output? (PIL)

2001-01-16 Thread Dieter Maurer

[EMAIL PROTECTED] writes:
  Hhmm - strange, on my SUSE-7.0 standard installation I can find the out
  put of 
  the print statements in /var/log/zope (most of the time, at least ;-). 
Maybe someone redirects for you.

SuSE likes to change things in the hope that this makes unaware
people less pain. I use SuSE, too, and am often very angry,
because each upgrade overwrites my configuration files.


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Zope and Linux flavors

2001-01-16 Thread sean . upton

Perhaps another option (for those with a load-balanced server setup), use an
intel 7170 (not cheap, but cool) load-balaning appliance, and use the
loadbalancer as a router; the 7170 has the abilitiy to set rules for where
it sends the load to based upon expression-matching in the URL.  This means
that you could intercept all "/manage*" URLs with the load balancer and
direct them to a box that returns nothing but error pages.  I haven't done
this (I have a 7140, this model's lower-end sibling), but I have looked
extensively at the docs for this, and it might be an option for the cash
inclined.

Other than that, this doesn't get you out of securing your boxes.  I would
recomend traditional security strategies (putting servers proxied behind a
DMZ), and a box-by-box audit of services using a port scanner.  Other than
that, I can recommend one of two realistic strategies in dealing with Linux
(I dont' claim to be a security expert though) -  either: 

build the distro yourself (i.e. LFS, www.linuxfromscratch.org), and keep
tabs on what services are running, as well as monitoring the lwn
(www.lwn.net) security page every week, or...

Commit to a particular distribution/vendor and get on their security mailing
list post-haste.  Apply all patches before putting the box out on the net at
large.  And keep the box patched.  Also, monitoring lwn's security page or
bugtaq isn't such a bad idea.

If you have the time to invest in it, consider a network intrusion-detection
system and tripwire to watch the filesystem changes on your boxes.

Sean

-Original Message-
From: Simon Coles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 9:50 AM
To: Ragnar Beer
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Zope and Linux flavors


Which Linux distributions are you using for running Zope and how 
easy it was for you to maximize security of your server?

We run a variety of RedHat 6.1, 6.2, and 7.0 and Debian 2.2, as well 
as Solaris.

We apply all the latest updates, turn off services we don't use, and 
proxy Zope through Apache. We then block all but port 80 at the 
router. The servers are then firewalled off from the rest of the 
network.


Simon
-- 
- My opinions are my own, NIP's opinions are theirs --
Simon J. Coles Email: [EMAIL PROTECTED]
New Information Paradigms  Work Phone: +44 1344 753703
http://www.nipltd.com/ Work Fax:   +44 1344 753742
=== Life is too precious to take seriously ===

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Dieter Maurer

peter bengtson writes:
  I'm looking for some tool to convert ZWiki text to MS Word.
Modern Word versions can resolve URI's and read HTML.

Thus, open "http:zopehost/.../ZWiki/page" in Word
and save it, (if you like) in word format.

  Since ZWiki's are CaPs neurotic, some sections are called for example:
  "OrganiSations" or "PaGe".
Of cause, the approach above will not change this spelling
(at least I hope so; one never knows with MS tools).

Tell you boss, it is a feature and that references to related
documents are distinguished by the capitalization
convention (as it is, really).


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Image Upload

2001-01-16 Thread Fabio da Silva Santos

Emmanuel Philippot wrote:
 
 My HTML file uploading an image contains this :
 
 input type="file" name="banner"
 
 When i submit this HTML page , I call another DTML document containing the following 
lines
 :
 
 dtml-if banner
dtml-call "banners.manage_upload(file=banner)"
 /dtml-if
 
 That's all
 
 but i don't know if the banners object image must already exist under Zope.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 Fabio da Silva Santos
 Sent: Tuesday, January 16, 2001 5:44 PM
 To: [EMAIL PROTECTED]
 Subject: [Zope] Image Upload
 
 Hi there,
 
 I'm trying to insert an image in Zope by uploading it in an HTML 'file'
 field, using the following validation code:
 
 dtml-if "banner_1  _.None"
dtml-call "banners.manage_addImage(id='',file=banner_1)"
 /dtml-if
 
 When I submit an empty 'file' field, the dtml-call is invoked just the
 same, and I get an error message saying that the field is empty;
 when I check what's in REQUEST I see this:
 
 banner_1 ZPublisher.HTTPRequest.FileUpload instance at 85fb998
 
 Therefore, I reckon there must be something wrong with this
 validation routine.  What should I do in order to run it properly?
 
 Thanks,
 
 ___
 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
  http://lists.zope.org/mailman/listinfo/zope-dev )

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] sendmail implementation problem

2001-01-16 Thread Dieter Maurer

Lee writes:
  ... several recipients from form to sendmail ...
I just skipped your question. Not sure, that I got it right.

DTML does not have true variables with assignments.
However, you can use the REQUEST object as a variable container.

If your problem is to collect all recipients from the form
and feed them to "sendmail" you could do something like this:

dtml-call "REQUEST.set(recipients,[])"
dtml-in "REQUEST.form.items()"
  ...
  dtml-call "recipients.append(_['sequence-item'])"
  ...
/dtml-in

dtml-sendmail ...
To: dtml-var "_.string.join(recipients,', ')

/dtml-sendmail


You can even let ZPublisher form the list for you:

   give all form variables that will contain a recipient
   the name "recipients:list:ignore_empty"

Then, if at least one of these fields got a value,
you REQUEST will have a variable "recipients" containing
a list with all these fields.

I would like to point you to Python's "in" operator.
Instead of

_['sequence-key'] == 'message') or 
or (_['sequence-key'] == 'sender') or (_['sequence-key'] ==
'senderEmail') or (_['sequence-key'] == 'subject')

you can write:

_['sequence-key'] in ('message','sender','senderEmail','subject')

Easier to write and to read.


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] File upload - get only the path - not content

2001-01-16 Thread Dieter Maurer

Gustav Franzsen writes:
  This is a multi-part message in MIME format.
  
  --=_NextPart_000_003D_01C07FA3.EAFBA110
  Content-Type: text/plain;
   charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable
Please do not send MIME messages into this list!

  ... file upload only returns filename ...
Are you sure, your form method is "POST" and
your "enctype" is "multipart/form-data"?

 form action="..." method="POST" enctype="multipart/form-data"
 
 /form


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] High Performance Zope

2001-01-16 Thread Vincent Stoessel

Hello All,
How does Zope respond under heavy load? can Zserver handle
serving out 200-300 zope pages per day on a busy website?
Would it be better to use pcgi to plug it into apache?
Thanks in advance.
-- 
Vincent Stoessel [EMAIL PROTECTED]
Internet Applications Engineer
IDEV http://www.idev.com
V: 301 495 7345 x129


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Session

2001-01-16 Thread Anderson Ami

I think there is another bug, when a call the help a get teh follow error :
Attribute error.
Where I get a full documentation about this product ? I need know the
Session Manage methods and variables.

Thanks again

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 16:46
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


I just posted a new release (.06) that fixes the problem at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 1:16 PM
Subject: RE: [Zope] Session


Thanks a lot.
Is there another way for save and retrive session variables ?


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:59
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Damn.  I see what you're talking about.  I was relying on features of 2.3
that aren't in 2.2.X.  I'm going to make another release to fix the problem,
and I'll post it when done.  Sorry about that.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:14 PM
Subject: RE: [Zope] Session


It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : dtml-call Session.set('NAME','VALUE')
- In other dtml document called document2 I wrote : dtml-var NAME

Why doest it work ?
when I 

Re: [Zope] High Performance Zope

2001-01-16 Thread Andy McKay

200-300 per day? Yes without sweating.
200-300 per second? Not without ZEO.

Usual discalaimers based on complexity of pages etc.

--
  Andy McKay.


- Original Message - 
From: "Vincent Stoessel" [EMAIL PROTECTED]
To: "Zope Mailings" [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:21 PM
Subject: [Zope] High Performance Zope


 Hello All,
 How does Zope respond under heavy load? can Zserver handle
 serving out 200-300 zope pages per day on a busy website?
 Would it be better to use pcgi to plug it into apache?
 Thanks in advance.
 -- 
 Vincent Stoessel [EMAIL PROTECTED]
 Internet Applications Engineer
 IDEV http://www.idev.com
 V: 301 495 7345 x129
 
 
 ___
 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
  http://lists.zope.org/mailman/listinfo/zope-dev )
 


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Chris McDonough

Read the file in the CoreSessionTracking "help" directory named
CoreSessionTracking.stx.  This is what *should* be pulled up via the help
button.  I'll look into why it's not working...

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 3:28 PM
Subject: RE: [Zope] Session


I think there is another bug, when a call the help a get teh follow error :
Attribute error.
Where I get a full documentation about this product ? I need know the
Session Manage methods and variables.

Thanks again

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 16:46
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


I just posted a new release (.06) that fixes the problem at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 1:16 PM
Subject: RE: [Zope] Session


Thanks a lot.
Is there another way for save and retrive session variables ?


-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:59
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Damn.  I see what you're talking about.  I was relying on features of 2.3
that aren't in 2.2.X.  I'm going to make another release to fix the problem,
and I'll post it when done.  Sorry about that.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 12:14 PM
Subject: RE: [Zope] Session


It happens before I hit ok on the constructor form.
My plataform is :

Zope version: Zope 2.2.5 (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
Process ID: 336 (349)
Running for: 35 sec

Thanks again by your advice

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 15:27
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()"
dtml-var "get('NAME')"
/dtml-with

Also, please consult the docs, they're very complete.

- Original Message -
From: "Anderson Ami" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers"
[EMAIL PROTECTED]; "peter bengtson" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesnt work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: tera-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

dtml-with "Session.getSessionData()"
  dtml-call "set('NAME', 'VALUE'"
/dtml-with

Doc 2

dtml-with "Session.getSessionData()" mapping
dtml-var NAME
/dtml-with

- Original Message -
From: 

Re: [Zope] sendmail implementation problem

2001-01-16 Thread Lee

Hi Dieter,

Thanks again for your help :)

I'm having some trouble creating the new variable in REQUEST - maybe you
know why?

The REQUEST object holds:

KEY ITEM
lreilly lreilly (recipient - '@cs.strath.ac.uk' is appended)
ltlyer  ltyler (recipient - '@cs.strath.ac.uk' is appended)
subject subject
sender  sender
message message
senderEmail senderEmail

But when I add in the code to create 'recipients' in the REQUEST object
and then try and view REQUEST's contents again I get an error:

 Error Type: NameError
 Error Value: recipients

Here's the method:

``,,
dtml-var standard_html_header

dtml-call "REQUEST.set(recipients,[])"
dtml-in "REQUEST.form.items()"
dtml-if expr="_['sequence-key'] in
('message','sender','senderEmail','subject')"
input type="hidden" name="dtml-var name="sequence-key""
value="dtml-var name="sequence-item""
dtml-else
dtml-call "recipients.append(_['sequence-key'])"
/dtml-if
/dtml-in

dtml-in expr="REQUEST.form.items()" 
dtml-var name="sequence-key": dtml-var name="sequence-item"br
/dtml-in

dtml-var standard_html_footer
``,,

Can you see any obvious problems? Thanks very much for your time.

- Best regards,

Lee

--
Lee Reilly
mailto:[EMAIL PROTECTED]

````

HAVE SKILLS; WILL TRAVEL.

I'm currently looking for an internship in the USA
in the field of web development. Ideally, I'm looking
for a placement for 3 to 18 months. Can you help?

More details, my resume, etc. @
http://homepages.strath.ac.uk/~aeu97172/

/shameless plug


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope from a php perspective

2001-01-16 Thread Andy McKay

 This is sort of the way it's laid out now, although arguably many core
 pieces should really be Products with their own set of documentation.

Absolutely, and the installation and changes to those products should be
separate from the installation. For example when Michel puts a patch in
ZCatalog, that product should be downloaded separately and not as a new Zope
version. The latest version can still be bundled with Zope of course...
--
  Andy McKay.


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Strange behavior of document_src

2001-01-16 Thread Sergio Fogel

I want to display the source of a DTML document inside a textarea (as in
Zope's DTML editing screen).

If I do: dtml-var "doc.document_src()" 
It works OK, but if I try
dtml-var "_['doc'].document_src()" 
it tries to evaluate doc, and gives me an error (some of the vars are not
defined in this context).

Am I missing something?

Sergio



Sergio Fogel


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Newbie: python to create a Zope page?

2001-01-16 Thread David Humphreys


Let me clarify...! I'm wondering how python can tell Zope to add a dtml
document to an arbitrary location in the Zope heirarchy.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of David
 Humphreys
 Sent: Tuesday, January 16, 2001 10:26 AM
 To: [EMAIL PROTECTED]
 Subject: [Zope] Newbie: python to create a Zope page?



 So, I'm about 72 hours into Zope, and totally loving it. I'm stuck on
 something simple, and I was hoping I could get a little help.

 Short question:
 How do I get python to create a Zope page? I'm looking for some simple
 source code that would walk me through that. I've looked
 through the online
 documentation and, if it's there, it's pretty well hidden
 inside of other
 things...

 Longer questions:
 I'm trying to get python to suck in a bunch of XML pages and
 create Zope
 pages out of them. I understand that there's a Zope / XML
 group, but it's
 not clear to me if there's any useable code that's come out of that
 initiative so far. (So, question 1: is that true?)

 I'm trying to create a lightweight content manipulation system for the
 company's site, and I'm thinking that what I want to do is:
 a) take the
 existing site's content, b) format it into XML with python
 (thus discarding
 its current format, and maintaining important metadata), c)
 get python to
 create Zope pages, d) create an editing system using Zope,
 and e) publish
 those pages out to static pages (and potentially other
 formats) on a regular
 basis. As a general strategy, is this a good way to go? Are
 there pointers
 out there that could help me with this quest?

 Thanks in advance!

 --
 David Humphreys
 [EMAIL PROTECTED] * 415/832-5917
 or [EMAIL PROTECTED] (pager)


 ___
 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
  http://lists.zope.org/mailman/listinfo/zope-dev )




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] High Performance Zope

2001-01-16 Thread J. Atwood

200-300 a day can be handled by a Pentium 60 and 32 MBs of RAM on a Linux box.

That is not busy at all. 2,000,000 - 3,000,000 hits a day could be 
done by a much beefier box but at some point ZEO will be your friend.

J

At 3:21 PM -0500 1/16/01, Vincent Stoessel wrote:
Hello All,
How does Zope respond under heavy load? can Zserver handle
serving out 200-300 zope pages per day on a busy website?
Would it be better to use pcgi to plug it into apache?
Thanks in advance.
--
Vincent Stoessel [EMAIL PROTECTED]
Internet Applications Engineer
IDEV http://www.idev.com
V: 301 495 7345 x129


___
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
http://lists.zope.org/mailman/listinfo/zope-dev )


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] exception handling for zclient

2001-01-16 Thread Aleksander Salwa

On Tue, 16 Jan 2001, wade naveja wrote:

 i'm using zclient as outlined in
 http://www.zope.org/Members/lstaffor/ZClientMethod to serve pages from
 another web server as if they were being served form my zope server.
 
 how would i write an exception to handle the case of the other web server
 being down?  when the other web server is down, i'd like to include a bit
 of text saying "this service is temporarily unavailable.  blah, blah,
 blah...".
 
 
 from ZPublisher import Client
 
 def web_client(url = 'http://www.server.com/', username = None,
 password = None, **kw):
 '''access http server'''
 if kw:
 return Client.call(url,username,password,kw)[1]
 else:
 return Client.call(url,username,password)[1]


try:
return Client.call .
except:
return 'this service is temporarily unavailable. \
blah, blah, blah...'


[EMAIL PROTECTED], [EMAIL PROTECTED]

/--\
| `long long long' is too long for GCC |
\--/


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] In desparate need of some help

2001-01-16 Thread alankirk



Hi there, i am new to zope and i'm in 
need of some help. I'm using zope as part of my final year project for 
university. I am using zope with a database i've constructed using MySQL. I've 
been having trouble sending queries to MySQL for data from the tables in the DB, 
instead of the required data i get an error message window appear and my python 
server crashes(which is running on my machine, by the way i'm using version 
2.2.2 of zope on windows ME). Somethimes the error message is blank, other times 
it's PYTHON15.DLL or MYSQL.DLL when it crashes. Also when i submit a query to 
adddata to a tablezope returns what appears to be a error message in 
my browser, which the zope control panel is using, but the data is still added 
to my DB table.
When submitting a query to extract data, if my 
python server doesn't crash, zope returns the following:
Error, MySQL.error: have an error in your SQL 
syntax near ' '', '', '', 2000 )' at line 3 

SQL used:SELECT * FROM songdetails
WHERE(
 '',
 '',
 '',
 '',
 2000
 )

I'd be most grateful if you could provide some 
answers to any of these probelms as soon as you can. Even if you don't know if 
you could point me in the direction of someone who does.

Cheers

Alan 


Re: [Zope] In desparate need of some help

2001-01-16 Thread Curtis Maloney

On Wednesday 17 January 2001 10:40, alankirk wrote:

Hi there, i am new to zope and i'm in need of some help. I'm using zope
 as part of my final year project for university. I am using zope with a
 database i've constructed using MySQL. I've been having trouble sending
 queries to MySQL for data from the tables in the DB, instead of the
 required data i get an error message window appear and my python server
 crashes(which is running on my machine, by the way i'm using version 2.2.2
 of zope on windows ME). Somethimes the error message is blank, other times
 it's PYTHON15.DLL or MYSQL.DLL when it crashes.

Hmm... not sure about this.  All I can suggest is you check to see if MySQL 
or Python have issues with WindowsME...  (wow, people actually run that ??:)

 Also when i submit a query
 to add data to a table zope returns what appears to be a error message in
 my browser, which the zope control panel is using, but the data is still
 added to my DB table. When submitting a query to extract data, if my python
 server doesn't crash, zope returns the following: Error, MySQL.error: have
 an error in your SQL syntax near ' '', '', '', 2000 )' at line 3

My first recommendation would be to grab yourself a good book on SQL.  
O'Reilly  Assoc "MySQL  mSQL" is a good reference in your case.  The 
problem with  your select statement is it is incorrect.  It should be in the 
form:

SELECT field list FROM table
WHERE fieldcomparisonvalue
[AND|OR] fieldcomparisonvalue
...

so, in your particular case, I would guess:

SELECT * FROM songdetails
WHERE fifthFieldName = 2000

 ---
- SQL used:

 SELECT * FROM songdetails
 WHERE(
  '',
  '',
  '',
  '',
  2000
  )

 I'd be most grateful if you could provide some answers to any of these
 probelms as soon as you can. Even if you don't know if you could point me
 in the direction of someone who does.

 Cheers

 Alan

Have a better one,
Curtis Maloney


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] In desparate need of some help

2001-01-16 Thread Jonothan Farr

Not sure why you're crashing but your SQL looks incorrect and incomplete. It
should be something more like:

select * from songdetails
where
some_field='' and
some_other_field = 2000
...
;

Hope this helps,
--jfarr

- Original Message -
From: "alankirk" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 3:40 PM
Subject: [Zope] In desparate need of some help


  Hi there, i am new to zope and i'm in need of some help. I'm using zope as
part of my final year project for university. I am using zope with a database
i've constructed using MySQL. I've been having trouble sending queries to MySQL
for data from the tables in the DB, instead of the required data i get an error
message window appear and my python server crashes(which is running on my
machine, by the way i'm using version 2.2.2 of zope on windows ME). Somethimes
the error message is blank, other times it's PYTHON15.DLL or MYSQL.DLL when it
crashes. Also when i submit a query to add data to a table zope returns what
appears to be a error message in my browser, which the zope control panel is
using, but the data is still added to my DB table.
When submitting a query to extract data, if my python server doesn't crash, zope
returns the following:
Error, MySQL.error: have an error in your SQL syntax near ' '', '', '', 2000 )'
at line 3

SQL used:

SELECT * FROM songdetails
WHERE(
 '',
 '',
 '',
 '',
 2000
 )

I'd be most grateful if you could provide some answers to any of these probelms
as soon as you can. Even if you don't know if you could point me in the
direction of someone who does.

Cheers

Alan



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Johan Carlsson

 Searched zope.org, the z mailing list and google.com (the only search
 engines I use these days)
 I'm looking for some tool to convert ZWiki text to MS Word.
 Reason being that my boss wants it in MS Word, and I do all my typing as
 ZWiki's.
 
 Any solution is welcomed!
 Since ZWiki's are CaPs neurotic, some sections are called for example:
 "OrganiSations" or "PaGe".
 Also the text has these references.
 
 Bare in mind, that it doesn't have to be a native Zope or python thing, but
 I post it here in hope.

Hi Peter,

It shouldn't be to hard to convert structured text to RTF.
RTF is basically just text with nested commandos similar to HTML (bad style HTML 
anyway).
I have a C example lying around here somewhere.
Aha: http://www.logictran.com/RTF11406.htm


You could also consider combining the ZIE-editor in ZWiki making 
WikiWeb more WYSIWYG. ZIE (being a MS-spawned beast) are very
capable in cutting and pasting from and to MS applications as Word 
and Excel.
You would be stuck with Internet Explorer 4 or higher.

Regards,
Johan Carlsson


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] High Performance Zope

2001-01-16 Thread Dimitris Andrakakis

Vincent wrote:
 How does Zope respond under heavy load? can Zserver handle
 serving out 200-300 zope pages per day on a busy website?

As others have already said, that's not busy at all. An easy
way to identify busy websites is hits per second.  Say, if you
get more than 2-3 hits/sec ON A CONSTANT BASIS, then
you might need:
-A real server (not a $1000 commodity box).
-ZEO.
-Serious work on optimization.

Of course, this 3 hits/sec is a number that depends *very*
much on the complexity on your pages. It may easily be somewhat
more or less, but you get the idea.

Dimitris
http://atlas.central.ntua.gr:8000


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Session

2001-01-16 Thread Tres Seaver

Can y'all please trim the quotes a bit when following up?  Those
who want to see the thread in all its glory can use the archives.

Tres.
-- 
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers"   http://www.zope.org

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread [EMAIL PROTECTED]

hi all

it seems that most 3rd party userfolders that's available won't work with 
zope-2.3.0b1.  i've tried UserDB and LoginManager. 
i guess LoginManager will be updated, since it is currently maintained.  i 
don't know enough python to look at UserDB.  any kind hearts out there 
willing to give it a peek?

anyway, where can i find the changes to the security policies from zope 2.2.x 
to zope 2.3.x ?

thanks
-- 

http://www.kedai.com.my/kk 
http://www.kedai.com.my/eZine 

Am I Evil?


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[zope] : installation of MySQL

2001-01-16 Thread K H Subrahmanyan


hi,

  I am using ZOPE in Linux.
Now I want to install MySQL to that.
I have installed MySQLDA and MySQLdb to that.
but still that is giving the following error.
kindly help me.





ZMySQLDA Import Traceback

Traceback (innermost last):
  File "/zope/zope-linux/lib/python/OFS/Application.py", line 397, in
import_products
product=__import__(pname, global_dict, global_dict, silly)
  File "/zope/zope-linux/lib/python/Products/ZMySQLDA/__init__.py", line
106, in ?
import sys, os, Globals, DA
  File "/zope/zope-linux/lib/python/Products/ZMySQLDA/DA.py", line 108, in ?
from db import DB
  File "/zope/zope-linux/lib/python/Products/ZMySQLDA/db.py", line 106, in ?
import MySQL, regex, sys
ImportError: Bad magic number in /zope/zope-linux/lib/python1.5/MySQL.pyc



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Postgresql Query.

2001-01-16 Thread Jason C. Leach

hi,

I'd like to learn a bit more on how to do a SQL query on a postgres DB
from Zope.  Like how to do it, what is better DTML or Python for it, and
how would I do it in DTML (I can probably get python working fine).

j.

..
. Jason C. Leach
... University College of the Cariboo.
.. 


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread Chris McDonough

What's the error you get with UserDB?  And for that matter, LoginManager?

- Original Message -
From: "Bak@kedai" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2001 11:11 PM
Subject: [Zope] zope2.3.0b1 and userfolders


 hi all

 it seems that most 3rd party userfolders that's available won't work with
 zope-2.3.0b1.  i've tried UserDB and LoginManager.
 i guess LoginManager will be updated, since it is currently maintained.  i
 don't know enough python to look at UserDB.  any kind hearts out there
 willing to give it a peek?

 anyway, where can i find the changes to the security policies from zope
2.2.x
 to zope 2.3.x ?

 thanks
 --

 http://www.kedai.com.my/kk
 http://www.kedai.com.my/eZine

 Am I Evil?


 ___
 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
  http://lists.zope.org/mailman/listinfo/zope-dev )




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Postgresql Query.

2001-01-16 Thread Andrew Kenneth Milton

+---[ Jason C. Leach ]--
| hi,
| 
| I'd like to learn a bit more on how to do a SQL query on a postgres DB
| from Zope.  Like how to do it, what is better DTML or Python for it, and
| how would I do it in DTML (I can probably get python working fine).

You have to use a ZSQL Method to access databases from Zope.
You don't necessarily need to use ZSQL Methods from Python Products, but,
in reality this turns out to be rather more convenient.

Normally, I would tell you to visit;

http://www.zope.org/Documentation/

but, some monkey has designed the interface w/o actually testing it,
since there's no direct references to the online ZSQL Reference there
any more, and the online dtml reference shoves you into dtml-var.

Go to there, and then expand Zope Help in the left hand pane, and then
near the bottom there will be some stuff on ZSQL Methods. Pretty poor
compared to the online reference that used to be available.

There also used to be direct links to downloadable PDF docs -- also gone.

I know a lot of people weren't happy with the level of documentation, but,
removing useful (even if it wasn't the best) information from the 
documentation pages isn't the solution.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Curious DTML question

2001-01-16 Thread Aleksander Salwa

On Wed, 17 Jan 2001, Nick McDowell wrote:

 dtml-with templates
 dtml-var myHTMLtemplate
 /dtml-with
 
 ...everything works correctly and my HTML page is rendered properly with
 graphics etc.  However I initially tried to execute the method via the
 following (slightly less keyboard action) -
 dtml-var expr="templates.myHTMLtemplate"
 
 ...this results in the HTML template being displayed in plain text
 format i.e. the HTML is not rendered and all the tags are visible.

 I also tried calling -
 dtml-var expr="templates.myHTMLtemplate()"
 ...which was worse as it  resulted in errors relating to Zope's
 inability to "locate" dtrml methods called within the "myHTMLtemplate"
 method..

dtml-var expr="templates.myHTMLtemplate(_.None, _)"

[EMAIL PROTECTED], [EMAIL PROTECTED]

/--\
| `long long long' is too long for GCC |
\--/




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Strange behavior of document_src

2001-01-16 Thread Aleksander Salwa

On Tue, 16 Jan 2001, Sergio Fogel wrote:

 I want to display the source of a DTML document inside a textarea (as in
 Zope's DTML editing screen).
 
 If I do: dtml-var "doc.document_src()" 
 It works OK, but if I try
 dtml-var "_['doc'].document_src()" 
 it tries to evaluate doc, and gives me an error (some of the vars are not
 defined in this context).

It is behavior of _[], not of document_src.
_[] syntax causes rendering of selected object.


[EMAIL PROTECTED], [EMAIL PROTECTED]

/--\
| `long long long' is too long for GCC |
\--/




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope Versus Enhydra Comparison article

2001-01-16 Thread Paul Browning


Zope and Enhydra Comparison by Paul Gresham, CEO/CTO, MediaVisual

This is now available via the on-line Lutris Enhydra Journal
(for access register via
http://www.lutris.com/products/newsletter_registration.html ).

Excerpt (which struck a particular chord with me):

"The learning curve of Enhydra is initially steeper but shallows out
quite quickly. The Zope learning curve is very shallow and then
increases exponentially to x to power infinity at which point your head
valorizes. Of course to give Zope its karma back, Zope is more easily
accessible to non-programmers whereas Enhydra is much less-so. The main
reason behind using Enhydra on our most critical product to date, was
that we knew we could do it with servlets, and that worst case, and
given the structure of enhydra, we knew we could code our way out of any
problems. Using Zope we knew that we would reach situations which may be
unresolvable in the short term, and could not make significant business
decisions with so many unknown factors and lack of any way to circumvent
problems. The upshot is that our Zope projects were rather painful and
Enhydra ones wore out our keyboards with so much code."

The second sentence is perhaps a candidate for
http://dna.yi.org/Zope/Quotes. Maybe a North American
reader could confirm that "valorizes" means what I
think it means ;-)

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread Chris McDonough

 sorry for the false alarm.
 at least i know what inituser and emergency users are now :)

It's ok, I don't know exactly how it all works either.  :-)



___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Strange SiteAccess behavior

2001-01-16 Thread Itai Tavor

Hi,

I got Zope 2.3b1 running on port 8080 at 10.0.1.20, a SiteRoot in 
/MySite with base='http://10.0.1.21/' and path='/', and the following 
Apache directives:

Listen 10.0.1.21:80

VirtualHost 10.0.1.21
 ServerName MySite
 ProxyPass / http://10.0.1.20:8080/MySite/
 ProxyPassReverse / http://10.0.1.20:8080/MySite/
 ProxyPass /misc_ http://10.0.1.20:8080/misc_
 ProxyPass /p_ http://10.0.1.20:8080/p_
/VirtualHost

The problem is that the SiteRoot affects the whole Zope site, not 
just things inside MySite.

http://10.0.1.20:8080/ returns index_html from the top of Zope, but 
http://10.0.1.20:8080/manage returns the content of MySite instead of 
the top directory.

What's going on here? How can a SiteRoot affect content above itself?
-- 
Itai Tavor"Je sautille, donc je suis."
C3Works[EMAIL PROTECTED]  - Kermit the Frog

"If you haven't got your health, you haven't got anything"


___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope Versus Enhydra Comparison article

2001-01-16 Thread Tim Cook

Paul Browning wrote:
 
 Zope and Enhydra Comparison by Paul Gresham, CEO/CTO, MediaVisual

...

 The main
 reason behind using Enhydra on our most critical product to date, was
 that we knew we could do it with servlets, and that worst case, and
 given the structure of enhydra, we knew we could code our way out of any
 problems. Using Zope we knew that we would reach situations which may be
 unresolvable in the short term, and could not make significant business
 decisions with so many unknown factors and lack of any way to circumvent
 problems. The upshot is that our Zope projects were rather painful and
 Enhydra ones wore out our keyboards with so much code."

So, in summary. They didn't know Python, but did know that if
they wrote enough Java they could solve a problem? s 

 The second sentence is perhaps a candidate for
 http://dna.yi.org/Zope/Quotes. Maybe a North American
 reader could confirm that "valorizes" means what I
 think it means ;-)

I suspect it is a mis-typed word for "vaporizes".

Otherwise you get to choose:

1.To establish and maintain the price of (a commodity) by
governmental action. 
2.To give or assign a value to: "The prophets valorized history"
(Mircea Eliade).  


-- Tim Cook, President --
Free Practice Management,Inc. | http://www.FreePM.com Office:
(901) 884-4126
"When the government fears the People, that is Liberty. When the
People fear
the Government, that is tyranny." ~~ Thomas Jefferson

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Postgresql Query.

2001-01-16 Thread Chris McDonough

Looks like all the guides are still available at
http://www.zope.org/Documentation/Guides (although, agreed, no one would
ever suspect such a thing).



- Original Message -
From: "Andrew Kenneth Milton" [EMAIL PROTECTED]
To: "Jason C. Leach" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 1:33 AM
Subject: Re: [Zope] Postgresql Query.


 +---[ Jason C. Leach ]--
 | hi,
 |
 | I'd like to learn a bit more on how to do a SQL query on a postgres DB
 | from Zope.  Like how to do it, what is better DTML or Python for it, and
 | how would I do it in DTML (I can probably get python working fine).

 You have to use a ZSQL Method to access databases from Zope.
 You don't necessarily need to use ZSQL Methods from Python Products, but,
 in reality this turns out to be rather more convenient.

 Normally, I would tell you to visit;

 http://www.zope.org/Documentation/

 but, some monkey has designed the interface w/o actually testing it,
 since there's no direct references to the online ZSQL Reference there
 any more, and the online dtml reference shoves you into dtml-var.

 Go to there, and then expand Zope Help in the left hand pane, and then
 near the bottom there will be some stuff on ZSQL Methods. Pretty poor
 compared to the online reference that used to be available.

 There also used to be direct links to downloadable PDF docs -- also gone.

 I know a lot of people weren't happy with the level of documentation, but,
 removing useful (even if it wasn't the best) information from the
 documentation pages isn't the solution.

 --
 Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew
Milton
 The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   |
 ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
 PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]|

 ___
 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
  http://lists.zope.org/mailman/listinfo/zope-dev )




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-16 Thread Dieter Maurer

Max M writes:
  I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName,
  password)" that I could call from a form. And then bypass all that IIS mumbo
  jumbo completely.
  
  Guess I will have to dig the sources.
I fear, you will not have much success with this.

You will habe been rejected ("Unauthorized") before you have
any chance to do something in the request.


Furtunately, there is an easy solution: Use a cookie based user folder.

As IIS almost surely will pass cookies, you have won.

Only problem: people like me do not trust cookies and
may have disabled them.
For such people, there will be no way to log in into your site.


Dieter

___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ANNOUNCE: Zope 2.3.0 beta 1 released

2001-01-16 Thread Brian Lloyd

Hello all,

  Zope 2.3.0 beta 1 is now available. You can download it from
  Zope.org:

  http://www.zope.org/Products/Zope/2.3.0b1/

  This release contains the final new features for 2.3, including:

- A browser preferences screen to allow people to
  tweak certain aspects of the new management UI to their liking.
  For the folks who complained that they didn't like the new top frame,
  they can (among other things) turn it off from the browser preferences
  screen.

- Michel and Amos' new QuickStart material. This is different
  in spirit than the old "QuickStart" folder. The new material is
  meant as a handy high-level set of pointers to important learning
  materials. The old "QuickStart" folder is still around by default
  for the beta release - we will need to decide whether to get rid
  of it altogether or whether it still has value as an example
  and should be cleaned up and retained.

- The logout function has been implemented in a fairly minimal
  way. We will try to make this nicer by final if we get time.

- Chris Petrilli has cleaned up the ZCatalog interface and done
  some logical reorganization to move some things onto an Advanced tab.

  For more information on what is new in this release, see the
  CHANGES.txt and HISTORY.txt files for the release:

- http://www.zope.org/Products/Zope/2.3.0b1/CHANGES.txt

- http://www.zope.org/Products/Zope/2.3.0b1/HISTORY.txt


  Note that now we are in the beta period, so binaries are now
  available for all of the usual platforms.

  Enjoy!

Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909
Digital Creations  http://www.digicool.com




___
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
 http://lists.zope.org/mailman/listinfo/zope-dev )