[Zope3-Users] session id

2006-01-02 Thread Simon Hang
Dear all, How can I use zope session id(client_id) in .pt template? I'm not understanding zope's session id management very well. Sometime, I can get session id using code like this But strange think is sometimes request object has empty cookie. above code will generate errors. I know I can ge

Re: [Zope3-Users] How come no IView?

2006-01-02 Thread Wade Leftwich
Jeff Shell wrote: > [snip] > > But if you're looking for a base interface and class: > > interface: > zope.app.publisher.interfaces.IBrowserView > > class: > zope.app.publisher.BrowserView - has the __init__ with context and > request, and is also locatable (mapping __parent__ to the context). >

Re: [Zope3-Users] session id

2006-01-02 Thread TAHARA Yusei
Hello. At Mon, 2 Jan 2006 21:48:11 +1100, Simon Hang wrote: > How can I use zope session id(client_id) in .pt template? I'm not > understanding zope's session id management very well. > Sometime, I can get session id using code like this > > > > But strange think is sometimes request object has

[Zope3-Users] hello!

2006-01-02 Thread Fernando Quintana Hernández
Hi guys: I've join the list a week ago and I haven't say hello yet, so: hello everybody! I hope being contributing in few weeks, (by the moment I'm just reading doc :-) Bye, Nando. -- Fernando Quintana Hernández CodeSyntax - www.codesyntax.com Azitaingo Industrialdea 3K, E-20600 EIBAR Tel:

[Zope3-Users] Re: session id

2006-01-02 Thread Philipp von Weitershausen
Simon Hang wrote: > How can I use zope session id(client_id) in .pt template? I'm not > understanding zope's session id management very well. What do you need the client id for? It's a detail that shouldn't bother you when dealing with sessions, at least not in a ZPT. > Sometime, I can get sessio

[Zope3-Users] Zope 3.2.0b3 released

2006-01-02 Thread Jim Fulton
I've made a source release of Zope 3.2.0 beta 3. I plan to make a Windows release tomorrow, when I have access to a windows machine with a compiler, unless someone beats me to it. This release was motivated by a fairly severe bug in the input buffering used to integrate Twisted with Zope. The

[Zope3-Users] Re: [Zope3-dev] Zope 3.2.0b3 released

2006-01-02 Thread Tim Peters
[Jim Fulton] > I've made a source release of Zope 3.2.0 beta 3. I plan to make a > Windows release tomorrow, when I have access to a windows machine with > a compiler, unless someone beats me to it. I gave it a try, but it dies near the start of the process: $ \python24\python.exe ..\zpkg\bin\zp

[Zope3-Users] Re: [Zope3-dev] Zope 3.2.0b3 released

2006-01-02 Thread Tim Peters
A Windows installer is also available now: http://www.zope.org/Products/Zope3/3.2.0b3 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Re: [Zope3-dev] Zope 3.2.0b3 released

2006-01-02 Thread Jim Fulton
Tim Peters wrote: [Jim Fulton] I've made a source release of Zope 3.2.0 beta 3. I plan to make a Windows release tomorrow, when I have access to a windows machine with a compiler, unless someone beats me to it. I gave it a try, but it dies near the start of the process: $ \python24\python.

[Zope3-Users] Building PDF files using reportlab, with image objects in Zope3

2006-01-02 Thread Adam Summers
Hi, I'm trying to build a report using zope3 + reportlab 1.20 that I want to contain some images from a container (which in the code below is called 'item'). Has anyone done this? Can they suggest a technique? Trying the following: images = [] for docpage in item.values

[Zope3-Users] using tal to insert zwiki content

2006-01-02 Thread Brad Allen
I had wanted to insert zwiki content into another page, in a way similar to the way ZPT pages can be inserted, but it doesn't seem to work. Is that a misuse of zwiki, and are tal attributes only for inserting ZPTs and nothing else? Here is what I was trying to do: ...where About_Downwinders

Re: [Zope3-Users] Building PDF files using reportlab, with image objects in Zope3

2006-01-02 Thread Andreas Jung
--On 3. Januar 2006 11:30:25 +0800 Adam Summers <[EMAIL PROTECTED]> wrote: 530, in getSize if (self._width is None or self._height is None): AttributeError: ImageReader instance has no attribute '_width' Has anyone done what I want to? How? Any help would be much appreciated. R

Re: [Zope3-Users] using tal to insert zwiki content

2006-01-02 Thread Jeff Shell
``context/wiki/About_Downwinders`` wouldn't (probably) know how to render itself as HTML. In fact, you'd probably not want it to render itself as HTML in its default since that would render the whole page. To do this properly in Zope 3, you'd want to define a browser view to render the ZWiki page