[Zope] Poll: Zope and Suse Linux
Hi all, does anyone here uses Zone installed on Suse Linux? What's your impressions? Particular pros/cons? Thanks ___ 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] Poll: Zope and Suse Linux
2005/7/8, Lennart Regebro [EMAIL PROTECTED]: There are difference between different unixes, Linux/MacOSX/Solaris/xBSD. But all linuxes seems to work equally well. I asked this because I know there where, in the past, some issues using RH9 due to threading library, and to avoid surprises I'm interested to know if someone use Zope on Suse (that I'll begin to use in the near future) without problems. It's usally easiest to avoid the Zope packages that many linuxes has, and install from source. Of course! Thanks ___ 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] Re: Pass objects from template to template via HTML forms.
2005/7/4, Negroup - [EMAIL PROTECTED]: Is there some way to pass an object from template A to template B via HTML forms? [cut] Thanks a lot for the replies. I have considered all the solutions and at the end I have decided to store the uploaded file in a zope file object inside ZODB, passing it between zope and external methods in order to process it, and then remove the file from ZODB. This is the last thing I wanted to do, but considering the traps I encountered storing objects inside the session (Error Type: TypeError, Error Value: can't pickle function objects), and considering also that the file uploaded by the user could be potentially very big in size, I have thougt that store it inside ZODB instead of a session object was a better solution. P.S. I just discovered a mail that looks like mine: http://mail.zope.org/pipermail/zope/2001-August/098793.html Probably in 4 years a lot of people have met the same problem, but still there is no solution to face it in the terms expressed in my initial post; so, finally, is it impossible to implement a such thing or it simply has never been done? ___ 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] Pass objects from template to template via HTML forms.
Is there some way to pass an object from template A to template B via HTML forms? A form name=a action=b method=post input type=hidden name=obj tal:attributes=value here / input type=submit value=Press / /form B b tal:content=structure here/REQUEST/b Template B prints: form obj 'OrderedFolder instance at 42d9aec0' I need the object itself, not the string representing the object! I already searched the archive and found a similar request (http://mail.zope.org/pipermail/zope/2003-November/143487.html), but I have not solved the problem. Can you suggest something to try? Thanks ___ 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] Pass objects from template to template via HTML forms.
2005/7/4, Andreas Pakulat [EMAIL PROTECTED]: On 04.Jul 2005 - 22:53:58, Negroup - wrote: [cut] b tal:content=structure here/REQUEST/b [cut] You do get the object itself when you access REQEUST['obj'], only in HTML you get something like the above, as that's what the string represenation of obj is. Why then, if template b is: b tal:define=obj python:here.REQUEST['obj'].getId()/b (or b tal:define=obj python:here.REQUEST.form['obj'].getId()/b) zope gives this error? Error Type: AttributeError Error Value: 'str' object has no attribute 'getId' ___ 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 )