[Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
the Examples? The Zope book has a mention of it, but I couldn't find the URL to download the Examples. Thanks! Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
Chris McDonough wrote: On Mon, 2005-04-11 at 16:35, Fernando Lujan wrote: I already changed the browser_id_manager and unchecked the cookies and checked the Automatically Encode Zope-Generated URLs With A Browser Id option. But it's just stops working. :( Note that it says Zope-generated

Re: [Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
if I made myself incomprehensible. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Session without cookies.

2005-04-12 Thread Fernando Lujan
Jens Vagelpohl wrote: On Apr 12, 2005, at 1:02, Fernando Lujan wrote: The URL test1 in the form tag is obviously *not* generated by Zope. You put it in there manually. So it cannot work as you expect. Hum, I see. Just web pages that aren't dinamically generated by Zope. For instance, other DTML

[Zope] ZEO and Sessions.

2005-04-12 Thread Fernando Lujan
new filestorage entry in the zeo.conf, and add some lines in my zope.conf file. Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Fernando Lujan
Chris McDonough wrote: Yes. All the information in that article is geared for Zope 2.5 which had no facility for using mounted databases from a config file... everything up until At this time you should be able to navigate to the /session_storage folder... in that article can be done by

Re: [Zope] Zeo

2005-04-26 Thread Fernando Lujan
at the zope.conf file too. It already have a example of ZEO. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

[Zope] Generating and Downloading PDF.

2005-04-27 Thread Fernando Lujan
Type: NameError* *Error Value: global name 'self' is not defined Is there some import wich I have been missing? Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Generating and Downloading PDF.

2005-04-27 Thread Fernando Lujan
of getting access to context. OK, thanks. But how can I pass the self parameter using the dtml-call tag? dtml-call pdfwrite(self) is correct? Because I'm using this and works fine. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Generating and Downloading PDF.

2005-04-27 Thread Fernando Lujan
J Cameron Cooper wrote: Fernando Lujan wrote: J Cameron Cooper wrote: The method that contains your code must have at least the first parameter 'self':: def pdfwrite(self): R = self.REQUEST.RESPONSE R.setHeader('content-type', 'application/rtf') R.setHeader('content-length', str

Re: [Zope] Generating and Downloading PDF.

2005-04-28 Thread Fernando Lujan
) Thanks for helping... :) Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] Re: ZEO and session variables.

2005-05-04 Thread Fernando Lujan
, maybe it could help you. :) I haven't had time to write a how-to. :( Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope] Generating and Downloading PDF[Solved]

2005-05-13 Thread Fernando Lujan
Chris Withers wrote: Um? What else is that method returning? I'd suggest you call getrarTCE directly by URL, check you're setting the correct content-type and maybe set a content disposition too... Solved. :) I create a External Method that returns the code. I'm calling the external method

[Zope] Managing Users with Postgresql.

2005-05-13 Thread Fernando Lujan
, checking each permission and then allow or deny access to the object. I know that it isn't the best solution, and now I want to change it! :) Which is the best solution to solve my problem? I found pgUserFolder. But I'm not so sure if this will be the best solution. Thanks... Fernando Lujan

[Zope] Answer's Time

2005-05-19 Thread Fernando Lujan
, if I open another window and click in the same link, I have the response immediately. It's tuly very weird... How can I debug it? I'm using Zope 2.74 with python 2.3.4. Suggestions will be welcome. Thanks and regards. Fernando Lujan ___ Zope maillist

[Zope] Generatiing Lists with DTML.

2005-05-24 Thread Fernando Lujan
/dtml-in /select /form /body /html Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

[Zope] Create a list using DTML.

2005-05-24 Thread Fernando Lujan
/dtml-in /select /form /body /html Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Create a list using DTML.

2005-05-24 Thread Fernando Lujan
? -- Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] Create a list using DTML.

2005-05-27 Thread Fernando Lujan
On 24/05/05, J Cameron Cooper [EMAIL PROTECTED] wrote: Personally, I'd probably just do something like:: {1,2,3}[1:-1].split(',') This code works as expected... Thanks! :) -- Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope] Visual Reporting tool.

2005-06-01 Thread Fernando Lujan
Hi, I want to know, if is there a visual reporting tool? Like JasperReport, for example, wich works with reportlab's libraries and generate a .py. Thanks and regards, Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope] WebDav or Calendar.

2005-06-01 Thread Fernando Lujan
Hi, I need a Calendar or WebDav product wich runs with Zope, allow me to share my calendar with others users using mozilla Calendar, Sunbird. evolution, outlook and so on...Something like OpenGroupware. Do someone have a good suggestion? :) Thanks and regards. Fernando Lujan

Re: [Zope] ZPsycopg - Losing Connections

2005-07-27 Thread Fernando Lujan
On 7/27/05, David [EMAIL PROTECTED] wrote: Python 2.3.5 - Zope 2.7.5 - PostgreSQL 7.3.4 - Psycopg 1.1.18 - Solaris 8 (Intel) The Psycopg version 1.1.19 solves this problem. :) -- Fernando Lujan ___ Zope maillist - Zope@zope.org http

Re: [Zope] ZPsycopg - Losing Connections

2005-07-27 Thread Fernando Lujan
On 7/27/05, Peter Bengtsson [EMAIL PROTECTED] wrote: On 7/27/05, Fernando Lujan [EMAIL PROTECTED] wrote: On 7/27/05, David [EMAIL PROTECTED] wrote: Python 2.3.5 - Zope 2.7.5 - PostgreSQL 7.3.4 - Psycopg 1.1.18 - Solaris 8 (Intel) The Psycopg version 1.1.19 solves this problem

Re: [Zope] Help need for a Zope presentation to java lovers...

2005-08-18 Thread Fernando Lujan
is better than a JSP/Struts/Velocity solution. Please, give us a feedback about your presentation. ;) It's a very interesting topic to discuss. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

[Zope] OOP and Zope.

2005-08-19 Thread Fernando Lujan
Hi, I try to find information about programming in Zope with the OO paradigm. I didn't find many documentation... For instance, how can I define classes and instances once I just work with dtml-methods and dtml-documents? Thanks. Fernando Lujan

Re: [Zope] Re: OOP and Zope.

2005-08-22 Thread Fernando Lujan
knowledge of using python, there's some tutorial about using it inside Zope with a OO design? Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Re: OOP and Zope.

2005-08-26 Thread Fernando Lujan
... Is there a tutorial which allows me to work with pages in the .py format? Then, I could only use python to generate the content... :D I've seen a lot of pages in this format... Does Zope works with it? Fernando Lujan ___ Zope maillist - Zope@zope.org http

[Zope] DateTime again.

2005-10-17 Thread Fernando Lujan
Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005) it returns 2005/12/11 instead of 2005/11/12. Thanks in Advance. Fernando Lujan

[Zope] HTML to PDF.

2005-11-16 Thread Fernando Lujan
. Thanks, Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] HTML to PDF.

2005-11-18 Thread Fernando Lujan
Chris Withers wrote: Fernando Lujan wrote: It's easy to configure and stuff? We currently are working with the reportlab, but it's painful to change the document... :( I need a product which generates a PDF file on the fly. I'm guessing you're using the open source reportlan library

Re: [Zope] HTML to PDF.

2005-11-23 Thread Fernando Lujan
Chris Withers wrote: A tool to do what, specifically? A Front-End to design the PDF format. Like Jasper Reports, but one which works with python and reporlab. :) Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] HTML to PDF.

2005-11-23 Thread Fernando Lujan
Andreas Jung wrote: --On 23. November 2005 16:08:42 -0200 Fernando Lujan [EMAIL PROTECTED] wrote: Chris Withers wrote: A tool to do what, specifically? A Front-End to design the PDF format. Like Jasper Reports, but one which works with python and reporlab. :) Did you look at XSLFO

Re: [Zope] HTML to PDF.

2005-11-23 Thread Fernando Lujan
Andreas Jung wrote: --On 23. November 2005 16:45:00 -0200 Fernando Lujan [EMAIL PROTECTED] wrote: Yes and I found this product: http://www.stylusstudio.com/xml_screenshots.html You should read my former answer carefully. I pointed you to the tool CSSTOXSLFO and the Xinc PDF converter

Re: [Spam] Re: [Zope] HTML to PDF.

2005-11-23 Thread Fernando Lujan
. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

[Zope] Python Classes and Zope.

2005-12-01 Thread Fernando Lujan
. Thanks in advance. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] Python Classes and Zope.

2005-12-01 Thread Fernando Lujan
Andreas Jung wrote: Sure you can but you shouldn't..you start with one class and at the end you have an application with tons of such codeyou can program that way but you shouldn't :-) I will print and read the Developer Book... ;) Thanks for all replies. Fernando Lujan

[Zope] Going to 3.0

2006-01-09 Thread Fernando Lujan
and OO and ZPT. I already install Zope 3.1.0 and try to copy the Data.fs. But it produces a lot of erros. How can I handle this? Will exist a way to migrate from Zope 2.x to Zope 3.x? Thanks in advance. Fernando Lujan ___ Zope maillist - Zope@zope.org

Re: [Zope] Going to 3.0

2006-01-09 Thread Fernando Lujan
2006/1/9, Andreas Jung [EMAIL PROTECTED]: I already install Zope 3.1.0 and try to copy the Data.fs. From where to where? From /home/zope/zope2.0/var/Data.fs to /home/zope/zope3.0/var/ But it produces a lot of erros. How can I handle this? Which errors? Hi Andreas, Thanks for the

Re: [Zope] Going to 3.0

2006-01-09 Thread Fernando Lujan
2006/1/9, Fernando Lujan [EMAIL PROTECTED]: 2006/1/9, Andreas Jung [EMAIL PROTECTED]: Which errors? Hi Andreas, Thanks for the reply. :) This behavior is intriguer since we only use DTML with logic and stuff... Nothing special as our own products etc... We sure have some products

[Zope-dev] ZpdfDocument

2005-06-13 Thread Fernando Lujan
Hi, Are someone developing some Product like ZpdfDocument? Today, If I need a pdf file, I use the reporlab lib, and write it from scratch... A better solution exist? Thanks and Regards. -- Fernando Lujan ___ Zope-Dev maillist - Zope-Dev@zope.org