>
> c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
> [ traceback ]
> ImportError: No module named z:.my_root_app_dir
>
> So I go to the z:\ dir and try another form:
>
> c:\path\to\my\instance\bin\test -vpu --dir my_root_app_dir
> Running tests at level 1
> Total: 0 tests, 0 failu
>
> Ok, that's my problem. My package was outside the instance lib
> directory. I think I have read in the Zope Developers Book that you
> could put your application anywhere in your harddisk as long as
> PYTHONPATH includes it.
>
I understand that. a month ago I was in the same situation
as
I'm writing a folderish content class.
That has a site manager, and some children. And the site
manager has a catalog and some FieldIndex.
It looks like:
parent
+-- child-1
+-- child-2
+-- child-3
+-- ++etc++site
+-- default
+-- Intids
+-- Catalog
Hi, Stephan.
I'm really glad to recieve an answer from you.
> On Friday 03 March 2006 02:46, [EMAIL PROTECTED] wrote:
> > and I've made an export/import view for that folder, where
> > I succceeded to catalog children. basically both uses the
> > same code. simply like:
> >
> > parent[
I think that I figured out what is happening.
this is what I figured out:
(1) zapi.getSizeManager is hooked by
zope.app.component.hooks.getSiteManager,
which returns siteinfo.sm when 'context' argument is None.
(2) so, if I want to use an adapter via getSiteManager(),
I have to set "siteinfo" ap
Hi, Lorenzo.
Today, I suffered the same problem as you met.
This is what I figured out.
'containers' function add '__parent__' attribute to IMyContent
interface, like you did to IMyContentContained interface.
It means that new implementation of IMyContent has '__parent__',
while old implem
Hi,
I got a ploblem with SimpleVocabulary/SimpleTerm.
Here is the situation of that.
(1) I used Zope3.2 on Windows XP.
(2) I made :
a vocabulary, and
a Choice field with the vocabulary, and
a schema contains the field, and
an add-form using the schema.
(3) the vocabul
Hi, Michael.
Your explanations make things very clear.
It was my misuse of SimleVocabulary/SimpleTerm.
I misunderstood the responsibility of token. I didn't notice
that DroopdownWidget renders token only when no title is given.
When reading the docstrings of ITerm/ITokenizedTerm/ITitledTokenized
I'd like to ask one more question.
Why does SimpleVocabulary.fromValues/fromItems() not set 'title' ?
Is there any good reason?
Current implementation is unconvenient for non-ascii people.
Regards,
Katsutoshi
--
Watanabe, Katsutoshi
# I beg you to point out the error or rudeness of my english.
#