On Sunday 18 February 2007 12:06, Florian Lindner wrote:
> def create(self, data):
> comment = BlogComment()
> comment.name = data["name"]
> comment.email = data["email"]
> comment.content = data["content"]
> return comment
>
> If I just omit create is co
Florian Lindner schrieb:
> 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
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
On Tue, Feb 13, 2007 at 07:15:11PM +0100, David Johnson wrote:
> I thought zope.formlib was more complex.
That may be true, under the hood, but it is certainly simpler to use.
I never fully understood how to use (and extend) forms generated by ZCML
/ directives.
> As I understand you must
> c
I thought zope.formlib was more complex. As I understand you must
create custom browser classes, and page templates. Then you must
register those with a page or view ZCML browser directive, each of
which is more complicated than the addform.
My point is that if there is something new her
Stephan Richter wrote:
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 use the addform directive
altogether. zope.for
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 use the addform directive
altogether. zope.formlib is the wildly acc
Many people have offered approaches. I find the simplest and
cleanest approach for declaring interfaces is as follows:
class IContactList(IContainer):
contains('.IContact')
class IContact(Interface):
...schema fields...
class IContactContained(IContained):
containers(IConta
On Sun, Feb 11, 2007 at 07:26:21PM +0100, Florian Lindner wrote:
> Hello,
> I have an addform registered:
>
> label="Add Blog Comment"
> name="AddBlogComment.html"
> schema="..interfaces.IBlogComment"
> content_factory="..blog.BlogComment"
> permission=
Hi Florian
> Subject: [Zope3-Users] Error when calling addform
>
> Hello,
> I have an addform registered:
>
> label="Add Blog Comment"
> name="AddBlogComment.html"
> schema="..interfaces.IBlogComme
Florian Lindner wrote:
> Hello,
> I have an addform registered:
>
> label="Add Blog Comment"
> name="AddBlogComment.html"
> schema="..interfaces.IBlogComment"
> content_factory="..blog.BlogComment"
> permission="Blog.AddComment"
> />
>
>
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
12 matches
Mail list logo