Am Montag, 22. Januar 2007 08:32 schrieb Christian Theune:
> Hi,
>
> Am Sonntag, den 21.01.2007, 14:44 +0100 schrieb Florian Lindner:
> > Hello,
> > I am in a function that has no context and want to set a site.
> > The function is called periodically from a schedu
Am Montag, 22. Januar 2007 09:40 schrieb FB:
> Hi,
>
> On Mon, Jan 22, 2007 at 08:32:21AM +0100, Christian Theune wrote:
>
> [snip]
>
> > You'd have to open a connection to the database, get the root object and
> > use that with setSite(). I don't have the complete spelling for that in
> > my head
Am Montag, 22. Januar 2007 08:32 schrieb Christian Theune:
> Hi,
>
> Am Sonntag, den 21.01.2007, 14:44 +0100 schrieb Florian Lindner:
> > Hello,
> > I am in a function that has no context and want to set a site.
> > The function is called periodically from a schedu
Am Freitag, 19. Januar 2007 01:12 schrieb Philipp von Weitershausen:
> On 18 Jan 2007, at 22:10 , Florian Lindner wrote:
> > Am Donnerstag, 18. Januar 2007 16:24 schrieb Philipp von
Hi Philipp,
were you able to read me last email in this thread? Do you have any tips or
hints for me
Am Donnerstag, 1. Februar 2007 13:41 schrieb Alek Kowalczyk:
> Hi,
> I need to trigger periodically activities on various local components (i.e
> stored in ZoDB). I found zope.scheduler package which seem to be nice
> cron-like tool for Zope. But I did not find a clue how to use it with local
> com
Hello,
I am doing a repost here, since the problem really bugs me and I have gotten
no replys anymore...
I have a template template.pt which should be applied to all site visited
within the skin xgm.
and
class StandardMacros(BaseMacros):
macro_pages = ('skin_macros', )
the te
Am Sonntag, 4. Februar 2007 22:20 schrieb David Johnson:
> I will wager to help...since frequently my posts go unanswered
> also. I've implemented a few skins with great success. However, if
> you wait long enough you could a real response from someone like
> Stephen instead of myself.
>
> > is
Am Dienstag, 6. Februar 2007 11:43 schrieb Mohsen Moeeni:
> Until the gurus find time to jump in with `the right` solution...
>
> On 2/5/07, Florian Lindner <[EMAIL PROTECTED]> wrote:
> > The line in the template.pt:
> > home
> > works fine as long as context
Am Mittwoch, 7. Februar 2007 07:50 schrieb Jürgen Kartnaller:
> Florian,
> if you want the url to your current site implement this :
>
>
> class SiteUrlView(object):
>
> def __call__(self):
> return absoluteURL(hooks.getSite(), self.request)
>
> And register a page :
>
>na
Am Donnerstag, 8. Februar 2007 17:23 schrieb FB:
> Hi,
>
> On Thu, Feb 08, 2007 at 04:54:51PM +0100, Florian Lindner wrote:
> > Am Mittwoch, 7. Februar 2007 07:50 schrieb Jürgen Kartnaller:
> > > Florian,
> > > if you want the url to your current site impleme
Hello,
I have an addform registered:
class IBlogComment(IContained):
containers(IBlogEntry)
name = TextLine(
title = u"Your name",
description = u"Your name or nickname",
default = u"Guest",
required = True)
email = TextLi
Hello,
I've tried to grant a role to zope.anybody (any user that visits the site).
Tried it this way:
But this gives a unknown principal id error, even though I have:
in my principal.zcml.
How to do it right?
Thanks,
Florian
___
Zope3-user
Am Samstag, 17. Februar 2007 23:35 schrieb Marius Gedminas:
> On Sat, Feb 17, 2007 at 12:48:05PM +0100, Florian Lindner wrote:
> > Hello,
> > I've tried to grant a role to zope.anybody (any user that visits the
> > site). Tried it this way:
> >
&g
Hello,
is there a howto somewhere online that explains how I can do a folder listing
(in general: output of any list) in a way that it is split in different pages
and with page numbers and next/previous page links?
I would probably be able to invent it myself but maybe someone has described
it a
Am Dienstag, 13. Februar 2007 12:04 schrieb Stephan Richter:
> On Monday 12 February 2007 15:56, David Johnson wrote:
> > Many people have offered approaches. I find the simplest and
> > cleanest approach for declaring interfaces is as follows:
>
> The cleanest way, in my opinion, is just not to
Hello,
is the chapter 18: "Internationalizing a package" in Stephans Zope Book
(online version) still up to date or has changed to much so it's not worth
reading anymore?
Any other good sources about i18n?
Thanks,
Florian
___
Zope3-users mailing list
Hello,
I have a simple problem. A template:
[...]
That is registered as view.html.
Now I want to use the macro in another page:
div metal:use-macro="context/Blog/@@view.html/Blog" />
(tried different variations)
but that always causes
Am Sonntag, 25. Februar 2007 15:03 schrieb Marius Gedminas:
> On Sun, Feb 25, 2007 at 02:02:43PM +0100, Florian Lindner wrote:
> > I have a simple problem. A template:
> >
> > >
Am Montag, 26. Februar 2007 18:14 schrieb Marius Gedminas:
> On Mon, Feb 26, 2007 at 02:40:13PM +0100, Florian Lindner wrote:
> > Am Sonntag, 25. Februar 2007 15:03 schrieb Marius Gedminas:
> > > On Sun, Feb 25, 2007 at 02:02:43PM +0100, Florian Lindner wrote:
> > > &
Hello,
this is the entry from principals.zcml created by mkzopeinstance (a bit
modified):
but can I set a id that does not contain a dot?
I ask because I display DC creator metadata on a page and something like
Florian just looks better than something.Florian.
Thanks,
Florian
_
Hello,
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?
Like a text becomes:
Hello,
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?
A paragraph
when rendered.
Is something like that al
Am Freitag, 2. März 2007 23:03 schrieb Marius Gedminas:
> On Fri, Mar 02, 2007 at 12:31:22PM -0500, Giovannetti, Mark wrote:
> > Thanks for confirming some of my questions! Is there a book
> > that you would recommend that explains how python deals with
> > all this?
>
> I liked Mark Pilgrim's _Di
Am Donnerstag, 8. März 2007 20:10 schrieb Stephan Richter:
> On Sunday 28 January 2007 12:23, Florian Lindner wrote:
> > exceptions.ValueError: I/O operation on closed file
> >
> >
> > any idea what caused it?
>
> I think you violate the transaction mechanism. I t
Hello,
I use this expression to display the time
formatter = self.request.locale.dates.getFormatter('dateTime', 'medium')
return formatter.format(date)
The server time is set on UTC, no locale is set on the server. The clients
local is de_DE and localtime is set to CET.
Despite that a wrong ti
Hello,
I'm using this code to render a rest snippet to HTML:
def convertToHTML(self, comment):
""" Converts a comment from restructured text to HTML. """
text = unicode(comment.content)
renderer = ReStructuredTextToHTMLRenderer(text, self.request)
return rendere
Am Donnerstag, 15. März 2007 21:14 schrieb Jonathan:
> - Original Message -
> From: "Florian Lindner" <[EMAIL PROTECTED]>
> To:
> Sent: Thursday, March 15, 2007 3:46 PM
> Subject: [Zope3-Users] Disable raw directive in restructured text
>
> > He
Am Donnerstag, 15. März 2007 22:01 schrieb Jonathan:
> - Original Message -
> From: "Florian Lindner" <[EMAIL PROTECTED]>
> To:
> Cc: "Jonathan" <[EMAIL PROTECTED]>
> Sent: Thursday, March 15, 2007 4:56 PM
> Subject: Re: [Zope3-Users] D
Am Freitag, 16. März 2007 16:48 schrieb Martijn Pieters:
> On 3/15/07, Florian Lindner <[EMAIL PROTECTED]> wrote:
> > I've found out it could partly be achieved by using:
> >
> > def convertToHTML(self, comment):
> > ""&qu
Hello,
I'm looking for Zope3 wiki package. It should be usable out of the box and
also provide a decent design out of the box.
(I don't think that there are so many packages, so just name anything and I'll
test with my further criteria). ;-)
Thanks,
Florian
Hello,
I have a function that is called every 60 seconds from zope.scheduler. Due to
that it does not have a context. However I need to call a utility. I use that
piece of code:
def releaseRefreshEvent():
""" Calls all utlities that have a INewsfeed interface registered. """
import pdb;
Hello,
I've tried to add a test to my package (I must confess it's my first test.)
I've added an directory "tests", created an empty __init__.py in it and a file
named test_proxycache.py which contains:
import unittest
from zope.testing.doctestunit import DocTestSuite
from zope.app.container.t
Hello,
I have a function called by a scheduler. Since it operates outside of Zope
context I need to create a connection to the ZODB in order to call a utility:
db = getUtility(ZODB.interfaces.IDatabase)
conn = db.open()
root = conn.root().data['Application']
zope.app.component
such an
object?
Thanks,
Florian
> On 8. Mai 2007, at 23:02, Florian Lindner wrote:
> > File "/home/florian/Zope3/src/ZODB/Connection.py", line 268, in
> > close
> > raise ConnectionStateError("Cannot close a connection joined to "
> >
en() has 9 open connections with a pool_size of 7
Regards,
Florian
>
> Stefan
>
> On 8. Mai 2007, at 23:02, Florian Lindner wrote:
> > File "/home/florian/Zope3/src/ZODB/Connection.py", line 268, in
> > close
> > raise ConnectionStateError("Cann
Hello,
some people might have noticed I am developing a Blog package for Zope3.
Since it slowly becomes functional (an older version is working at
http://xgm.de) I want to release it (under an free and open source licence).
One thing still missing is a good name. A name that quickly comes to my m
Am Montag, 28. Mai 2007 schrieb Florian Lindner:
> Hello,
> some people might have noticed I am developing a Blog package for Zope3.
> Since it slowly becomes functional (an older version is working at
> http://xgm.de) I want to release it (under an free and open source
> licence)
Hello,
in a doctest I have an object which has a view registered.
I want to call this view and test for the XML it returns.
How can I call the view so that it is being rendered, just like called by a
browser?
Thanks,
Florian
___
Zope3-users mailing lis
Am Montag, 4. Juni 2007 schrieb Marius Gedminas:
> On Mon, Jun 04, 2007 at 03:14:16PM +0200, Florian Lindner wrote:
> > Hello,
> > in a doctest I have an object which has a view registered.
> > I want to call this view and test for the XML it returns.
> > How can I
Am Dienstag, 5. Juni 2007 schrieb Marius Gedminas:
> On Tue, Jun 05, 2007 at 04:49:37PM +0200, Florian Lindner wrote:
> > Am Montag, 4. Juni 2007 schrieb Marius Gedminas:
> > > On Mon, Jun 04, 2007 at 03:14:16PM +0200, Florian Lindner wrote:
> > > > in a doctest I h
Hello,
I'm currently rethinking my Blog's structure for saving entries.
At the moment I use a flat structure with all entries represented by an
instance. The naming scheme is like 2007_07_05_Title_of_entry example: [1]
But that is not something I really like and I think it will be unhandleable
f
Hello,
I have a rather fundamental problem.
Until now the editor of my bloggin software has added, modified and removed
blog entries by logging in to the ZMI and use the filesystem like view there.
This gives me (as the developer) only very limited control about how it is
done. For example: A n
Hello,
I use a Zope3 svn checkout for developement. What is the best way to make this
working with the zc packages? I don't want to easy_install the entire Zope
checkout but I also want my code to work with easy_install'ed versions of
these packages. (don't want to change import statements and s
Am Mittwoch, 25. Juli 2007 schrieb Philipp von Weitershausen:
> Florian Lindner wrote:
> > Hello,
> > I use a Zope3 svn checkout for developement. What is the best way to make
> > this working with the zc packages? I don't want to easy_install the
> > entire Zope
Am Sonntag, 29. Juli 2007 schrieb Philipp von Weitershausen:
> On 29 Jul 2007, at 21:06 , Florian Lindner wrote:
> > Am Mittwoch, 25. Juli 2007 schrieb Philipp von Weitershausen:
> >> Florian Lindner wrote:
> >>> Hello,
> >>> I use a Zope3 svn check
Am Montag, 30. Juli 2007 schrieb Stephan Richter:
> On Monday 30 July 2007 09:59, Jeff Shell wrote:
> > Last time I checked, which I admit has been a while, buildout didn't
> > provide any examples of how to transition into buildout style
> > development.
>
> I agree we are totally lacking At the
Hello,
I try to create an edit form with z3c.form but it gives me an system error
only:
File "/home/florian/Desktop/zope/lib/python/z3c/form/form.py", line 120, in
updateWidgets
self.widgets = zope.component.getMultiAdapter(
File "/home/florian/Zope3/src/zope/component/_api.py", line 103
Am Samstag, 18. August 2007 schrieb Roger Ineichen:
> Hi Florian
>
> > Betreff: [Zope3-Users] Creating edit form with z3c.form
> >
> > Hello,
> > I try to create an edit form with z3c.form but it gives me an
> > system error only:
>
> [...]
>
> > ComponentLookupError:
> > (( > 0x9f6c68c>, > URL=ht
Am Sonntag, 19. August 2007 schrieb Hermann Himmelbauer:
> Am Samstag, 18. August 2007 12:53 schrieb Florian Lindner:
> > Hello,
> > I try to create an edit form with z3c.form but it gives me an system
> > error only:
> >
> > File "/home/florian/Desktop/z
Am Sonntag, 19. August 2007 schrieb Hermann Himmelbauer:
> Am Samstag, 18. August 2007 12:53 schrieb Florian Lindner:
> > Hello,
> > I try to create an edit form with z3c.form but it gives me an system
> > error only:
> >
> > File "/home/florian/Desktop/z
Hello,
I am still trying to build an EditForm using z3c.form. Since my previous
thread is rather old I dare to open a new one.
I've tried a number of variations and will post the one which is the closest
to the example.
This is the interface:
class IBlogEntry(IContainer):
"""Interface for
Am Montag, 8. Oktober 2007 schrieb Maken Seteva:
> Hello zope3-users,
> I'm having some problems trying to figure out how let every member of
> my site have
> a designated "area". In this area a "blog" folder will be created
> when the user is
> created (where the user can post blogitems). It would
Hello,
should be a simple problem, but...
I have a class that is registered as a NameChooser:
from zope.app.container.contained import NameChooser
class XGMNameChooser(NameChooser):
implements(INameChooser)
def chooseName(self, name, object):
if IAbbreviation.providedBy(ob
201 - 252 of 252 matches
Mail list logo