[Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
could I get 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

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 tha

Re: [Zope] Session without cookies.

2005-04-11 Thread Fernando Lujan
n't dinamically generated by Zope. For instance, other DTML document will not keep the Session. Is this correct? I need to keep a SESSION through the entire site without cookies. Is that possible? Sorry if I made myself incomprehensible. Fernando Lujan

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

[Zope] ZEO and Sessions.

2005-04-12 Thread Fernando Lujan
t createa 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 lis

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 reconfigu

Re: [Zope] Zeo

2005-04-26 Thread Fernando Lujan
ok 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/lis

[Zope] Generating and Downloading PDF.

2005-04-27 Thread Fernando Lujan
receive the following error: *Error 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 **

Re: [Zope] Generating and Downloading PDF.

2005-04-27 Thread Fernando Lujan
(data))) R.write(data) It's a way of getting access to context. OK, thanks. But how can I pass the self parameter using the dtml-call tag? is correct? Because I'm using this and works fine. Fernando Lujan ___ Zope maillist - Zope@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.s

Re: [Zope] Generating and Downloading PDF.

2005-04-28 Thread Fernando Lujan
eader('content-length', str(len(arquivo))) R.write(arquivo) 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:/

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

2005-05-04 Thread Fernando Lujan
rch the history, 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

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 using:

[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... Fern

[Zope] Answer's Time

2005-05-19 Thread Fernando Lujan
ppens, 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] Generatiing Lists with DTML.

2005-05-24 Thread Fernando Lujan
elements? For instance: selected="true"> Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (

[Zope] Create a list using DTML.

2005-05-24 Thread Fernando Lujan
elements? For instance: selected="true"> Thanks. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (

Re: [Zope] Create a list using DTML.

2005-05-24 Thread Fernando Lujan
1,2,3}. I modify it to a (1,2,3) and finally I try the Following this api: list (sequence) Return a list whose items are the same and in the same order as sequence's items. If sequence is already a list, a copy is made and returned, similar t

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] 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/ma

[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@z

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 (Inte

[Zope] Showing the results per pages.

2005-08-01 Thread Fernando Lujan
HI, I have a sql-method which returns a dinamic number of tuples. How can I split it and show the result using a per page separation? Something like Google's results when we have a huge number of results... ;) Thanks. -- Fernando Lujan ___

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

2005-08-18 Thread Fernando Lujan
CMS system. > > And they wonder if Zope 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

[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

Re: [Zope] Re: OOP and Zope.

2005-08-22 Thread Fernando Lujan
, which are also OO. I have a good 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 pos

Re: [Zope] Re: OOP and Zope.

2005-08-26 Thread Fernando Lujan
ask a last question... 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

Re: [Zope] Zope scalability / efficiency question

2005-09-21 Thread Fernando Lujan
- # CPUs == # of Zope instances Hi Andrew, And how can I distribute the load over these Instances, running on the same machine? Thanks in advance. Fernando Lujan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

[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 it returns 2005/12/11 instead of 2005/11/12. Thanks in Advance. Fernando Lujan ___ Zope maillist - Zope

[Zope] HTML to PDF.

2005-11-16 Thread Fernando Lujan
be welcome. 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.o

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 sour

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 l

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"

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

2005-11-23 Thread Fernando Lujan
hanks. 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
f() I'm using zope 2.7.x series. 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-

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. Fern

[Zope] Going to 3.0

2006-01-09 Thread Fernando Lujan
s 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@zop

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

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 su