[Zope] add a File type via a form

2006-12-18 Thread Mihamina Rakotomandimby
Hi, I have a very simple "index_html". It s a form in which I ask for an "Id" Id what I want is when the visitor fill the form and then submit it, a "File" object is created inside the same container. I added a Python script named "addFile" in the sam

Re: [Zope] add a File type via a form

2006-12-18 Thread Mihamina Rakotomandimby
On Mon, 2006-12-18 at 08:42 -0500, Jonathan wrote: > If you are trying to get your 'visitor' to upload a file (?), No. I want the visitor to fill a form, and then the values he filled the form with are stored un 1 File. 1 File per form filled. > If you are not trying to upload a file, then we ne

[Zope] Re: Python script, urllib2

2006-12-18 Thread Mihamina Rakotomandimby
On Mon, 2006-12-18 at 17:03 -0500, Jonathan wrote: > If you want to use a python script to access the contents of a static page > (static page created via the ZMI), why don't you do something like: > staticPage = > context.restrictedTraverse('/path/to/the/static/page/staticPage.html') No, it is

[Zope] external method, not escaping < and >

2006-12-21 Thread Mihamina Rakotomandimby
Hi, I have an external method that fetches some web content (POP messages) then format an HTML output to make it easy to display. the Id of the external method is "mm". So as I said, it returns HTML content, with HTML tags and "<"s and ">"s. I directly call that external method from a ZPT this way:

[Zope] [zope 2.7-2.8] Howt to alow import module in Python script

2007-01-02 Thread Mihamina Rakotomandimby
Hi, As far as I know, if I want to use/import a module (let's say urllib*) in a Python Script (the restricted ones), I have to use external methods and then use it in the Python script. I remember I saw in a zope related Mailing List (CPS, Plone, Zope...) I cant list somewhere the modules I want to

[Zope] deprecated products?

2007-10-16 Thread Mihamina Rakotomandimby
Hi, I had a look at: http://www.zope.org/Products/user_management?batch_size%3Aint%3Arequired=100 Most of them are a bit old... and might not run on current Zope version. I think there should be some cleaning...isn't it? ___ Zope maillist - Zope@zope

[Zope] Re: deprecated products?

2007-10-16 Thread Mihamina Rakotomandimby
Michael Haubenwallner wrote: http://www.zope.org/Products/user_management?batch_size%3Aint%3Arequired=100 Most of them are a bit old... and might not run on current Zope version. I think there should be some cleaning...isn't it? The listings are autogenerated from user submitted products. Which

Re: [Zope] Re: deprecated products?

2007-10-16 Thread Mihamina Rakotomandimby
Jaroslav Lukesh wrote: I use products from year 2000 at zope 2.9.4 You could have given a name... Well, I am volunteer to test them one by one on a 2.10 or even a 3.x, but it's worth. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/

Re: [Zope] Re: deprecated products?

2007-10-17 Thread Mihamina Rakotomandimby
Jaroslav Lukesh wrote: Jaroslav Lukesh wrote: I use products from year 2000 at zope 2.9.4 You could have given a name... Well, I am volunteer to test them one by one on a 2.10 or even a 3.x, but it's worth. FScounter from 2002 ImageTag_Hotfix from 2001 TinyTablePlus from 2000 (with patch fro

Re: [Zope] Re: deprecated products?

2007-10-20 Thread Mihamina Rakotomandimby
Andrew Milton wrote: Mihamina, Yes, Andreew. (I quote all things you said because I see you have very good arguments and you did not reply in the list) Even if these products no longer actually "work", they may provide a function that is useful, and may only take minor fixing from someone.