[Zope] loading an url from a restricted python script

2005-06-28 Thread santiago
hello I'm writting a restricted python script (in the zmi) and I wish to load an url that the user gives to me in order to diplay it back, inside my web page. is there a zope method that I can use, or must I relay on an external python script and use urllib ? thanks _

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread santiago
wrote: > You answered your question already with our question. > Filesystem-based code=trusted code=External methods or Zope products. > > -aj > > --On 28. Juni 2005 17:05:42 +0200 santiago <[EMAIL PROTECTED]> wrote: > >> sorry, I don't understand: >> what i

[Zope] product beginer question : how to code add_xx_form and manage_add_xx such that xx finds instance of another product yy

2005-07-21 Thread santiago
Hi sorry for the logn subjet :) I'm using Zope 2.7.5-final, python 2.3.5, linux2, and I'm just strating to code my first products. Here's my problem: I want to make a product that watchs instances from other products. for instance, let's say I have a product yy, with its add_yy_Form, manage_add

[Zope] setting mime type for a python script

2005-08-19 Thread santiago
hello I'm looking for a way to set the mime type served by zope for a python script. I found something for products (looks like : self.self.setFormat(self.content_type) ) but I just can't get that working in my script, because self is not available in scripts any idea of how I could get my

[Zope] server optimisation

2006-02-13 Thread santiago
hello I'm looking for information on how to optimise a zope server : -what should I check in order to see what is slowing the server -what can I customise to make it run faster and so on. are there some source of information of this kind if topics ? thanks ! ___