Hi Tom,
Personally, I'd switch to an earlier version of Zope3 to match the version
in the book. You also might try
including widget.py and configure.zcml here to aid in debugging.
Kevin
--
View this message in context:
http://www.nabble.com/Problem-running-examples-from-Zope3-book-Weiterhaus
Hi,
I'm actually using a SetIndex (as defined in "zc.catalog.catalogindex" package).
Indexing my documents works perfectly but I still have a little problem : when trying to get to the "Advanced" page of my catalog, a TraversalError exception is raised :
2006-03-15T23:39:27 ERROR SiteError
I’m trying to figure out how to access a sub objects
view class.
1.
2. Title
3. Description
4.
5.
6.
7.
8.
9.
10.
11.
12.
I’m trying to format the description of subobject ‘item’
on line 8 with its renderDescription functio
Would it not make sense to do this when you define the object as
persistent, like in mysql "create unique index ...". And then check
for errors in the formlib level.
On 3/15/06, jürgen Kartnaller <[EMAIL PROTECTED]> wrote:
> Dax wrote:
> > Thanks a lot, Mats. This is a way to do it, but if I wer
Dax wrote:
> Thanks a lot, Mats. This is a way to do it, but if I were to add a
> "name" schema to IMark and checkName on the actual "name", then I
> would not be able to do this for "url" as well, right? So my question
> is how would I do this for url without having url as the name for the
> Mar
Thanks a lot, Mats. This is a way to do it, but if I were to add a
"name" schema to IMark and checkName on the actual "name", then I
would not be able to do this for "url" as well, right? So my question
is how would I do this for url without having url as the name for the
Mark object?
On 3/15/06
Daniel Nouri wrote:
>>
>> There is a nice and helpfull example in ++apidoc++: Book --> Widgets and
>> Forms --> Advanced Widgets
>> Please also refer to srichter's book, chapter 8.3 (p. 54).
>
> I don't have Stephan's book around right now.
Isn't it online on the zope3 homepage?
> But I'm us
This could be done by using the URL as the name for the Mark object.
from zope.app.container.contained import NameChooser
Class MarkNameChooser(NameChooser):
def chooseName(self, name, object):
name = object.url
self.checkName(name, object)
Laurence Rowe wrote:
Once I added the package includes, adding
for c in columns:
directlyProvides(c, zc.table.interfaces.ISortableColumn)
did the trick.
I'd love to have a look at your alternate sorting implementation, though
will need to get checking privileges before merging. (I
On Mon, 2006-03-13 at 17:13 +, Christian Lück wrote:
> Daniel Nouri wrote:
> > Not sure I'm using the Object field right, but this seems odd:
> >
> > >>> from zope.schema import Field, Object
> > >>> from zope.schema.interfaces import IField
> > >>> field = Object(IFiel
10 matches
Mail list logo