[Zope] display uploaded file

2008-06-06 Thread sujitha mary
hi all, I need to display the contents of an uploaded file when i click a link.But when i click the link instead of displaying the contents i'm getting a message to save this BIN file.wht changes should i make to display it in my plone interface?Plz help. --

Re: [Zope] display uploaded file

2008-06-06 Thread Andreas Jung
--On 6. Juni 2008 08:22:57 +0100 sujitha mary <[EMAIL PROTECTED]> wrote: hi all, I need to display the contents of an uploaded file when i click a link. Unless the *file* is an image then there is nothing a browser can do. Browsers can basically show only html and images and some other co

[Zope] Re: acl_users folder > 25000

2008-06-06 Thread Max M
Kees de Brabander skrev: A client of mine wants a site that is only accessible for members. However, there are more than 25000 members. Are there any reasons that would make it unwise to populate an ordinary acl_users folder with such a number of user accounts? Have you tried to just generate

[Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
All, I want to be able to spell out certain zope.schema.Object fields in my interfaces as "contained" while other fields are declared as associated/related objects. I'm interested in describing this in the interface itself, and not leave such intrinsic characteristics to the implementation class.

Re: [Zope] display uploaded file

2008-06-06 Thread Peter Bengtsson
Change the uploaded file's content_type to text/plain and the browser will try to display it. This is something you can do to images too but you'll get a very looong page of "junk". 2008/6/6 sujitha mary <[EMAIL PROTECTED]>: > hi all, > I need to display the contents of an uploaded file when i cli

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Fred Drake
On Fri, Jun 6, 2008 at 4:54 AM, Sean Upton <[EMAIL PROTECTED]> wrote: > I want to be able to spell out certain zope.schema.Object fields in my > interfaces as "contained" while other fields are declared as Are you using a source or vocabulary? If so, this could be part of the nature of the values

[Zope] Support for Charity Challenge events

2008-06-06 Thread Brian Sullivan
Has anybody ever heard of Zope or other open source software to support charity challenge events (runs, bikeathons, skip rope, lose weight, cut hair -- well you know what i mean)? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/

[Zope] Zope on CD

2008-06-06 Thread Ulla Theiss
Hello List, we need to set a Zope-Installation to read-only to start from cd. It's Zope 2.10 We set the following directives on zope-conf. read-only-database on zserver-read-only-mode on enable-product-installation off Then we a custom_zodb.py in %INSTANCE_HOME% Sometimes Zope starts and some

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
On Fri, Jun 6, 2008 at 7:24 AM, Fred Drake <[EMAIL PROTECTED]> wrote: > Still another approach, if you're looking to create software support > and the first isn't suitable, is to use fields that provide additional > interfaces that indicate the nature of the references. My application (and I suspe

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Fred Drake
On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton <[EMAIL PROTECTED]> wrote: > mechanism or implementation details underneath, so I think I'll > continue to use custom field types marked with an IRelationshipField > interface, and assume the built-in Object, List fields are only used > for containment. T

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
On Fri, Jun 6, 2008 at 7:26 PM, Fred Drake <[EMAIL PROTECTED]> wrote: > On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton <[EMAIL PROTECTED]> wrote: >> mechanism or implementation details underneath, so I think I'll >> continue to use custom field types marked with an IRelationshipField >> interface, and