List Info

Thread: RFC: cataloging and custom catalogs




RFC: cataloging and custom catalogs
user name
2006-05-12 09:17:02
Hi there,

I' wondering about custom catalog and content using it.

Example :
    I have created "my_catalog"
    then NewContent have this in its schema :
       TheField("fieldName",
                index = "my_catalog/FieldIndex",
                ...

Currently when adding the Product with quickinstaller,
my_catalog gets no content until it is registerer in
archetype_tool.
Which can be done from Extensions/Install.py with :

    at_tool.setCatalogsByType(meta_type, ('my_catalog',))

Question:
    Why 'my_catalog' is not added automatically? (this
leads to a long
    tracking for new users of this feature like me)

    Is it desirable that this is done automatically by
setting the
catalog list
    of types using custom catalogs to :

      - ('portal_catalog', 'custom_catalog') + any other
custom catalog used
        in other fields...

Regards

-- 
Alexandre Sauvé



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http:
//sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&
amp;3057&dat1642
_______________________________________________
Archetypes-devel mailing list
Archetypes-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archet
ypes-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )