[Zope-CMF] Re: Zope-CMF digest, Vol 1 #1617 - 3 msgs

Tra^`n Tua^'n Vinh vinhtt@tinhvan.com
Thu, 6 Mar 2003 09:53:19 +0700


----- Original Message -----
From: <zope-cmf-request@zope.org>
To: <zope-cmf@zope.org>
Sent: Thursday, March 06, 2003 12:00 AM
Subject: Zope-CMF digest, Vol 1 #1617 - 3 msgs


> Send Zope-CMF mailing list submissions to
> zope-cmf@zope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.zope.org/mailman/listinfo/zope-cmf
> or, via email, send a message with subject or body 'help' to
> zope-cmf-request@zope.org
>
> You can reach the person managing the list at
> zope-cmf-admin@zope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zope-CMF digest..."
>
>
> Today's Topics:
>
>    1. Getting rid of index_html when skinning data classes (Erik Dahl)
>    2. Re: Problem with portal catalog. (Troy Farrell)
>    3. Re: Getting rid of index_html when skinning data classes (Tres
Seaver)
>
> --__--__--
>
> Message: 1
> Date: Wed, 05 Mar 2003 11:35:06 -0500
> From: Erik Dahl <edahl@zentinel.net>
> To: zope-cmf@zope.org
> Subject: [Zope-CMF] Getting rid of index_html when skinning data classes
>
> I have been migrating my zope app to use CMF skins.  I have it all
> working except the "default" view which currently uses the index_html
> attribute.  How should this work in a skinned world?  I have looked
> around for docs but haven't found any.  immediate_view in the
> factory_type_information looked like a good bet but doesn't do anything
> for me.
>
> Also on a side note I only wanted to use CMFCore but looks like you need
> CMFDefault for the portal_url tool and then it depends on CMFTopic.  Are
> these dependencies necessary?  I'm new to CMF so maybe I'm missing
> something here.
>
> -EAD
>
>
>
> --__--__--
>
> Message: 2
> Date: Wed, 05 Mar 2003 10:52:07 -0600
> From: Troy Farrell <troy@entheossoft.com>
> To: Paul Naveen Raj Jeyaraj <Paul_Jeyaraj@infosys.com>,
>    Zope-CMF List <zope-cmf@zope.org>
> Subject: Re: [Zope-CMF] Problem with portal catalog.
>
> Paul, before we can help you, we need a traceback.  If the script
> causing the problem is custom code, it wouldn't hurt to include the
> source of the offending code either. :)
>
> Troy
>
> Paul Naveen Raj Jeyaraj wrote:
> > Hi,
> >
> > I have a local file system object in my CMF portal. The LFS instance is
> > accessing a shared folder residing in some remote server. Now, when I
> > try to find objects of type 'File', I am not able to succeed. Its
> > throwing an error. Have I done anything wrong? How do I go about?
> > Actually I need to catalog all my files under LFS instance in
> > portal_catalog. Please help. Thank you.
> >
> > Regards,
> > Paul.
>
>
>
> --__--__--
>
> Message: 3
> Subject: Re: [Zope-CMF] Getting rid of index_html when skinning data
classes
> From: Tres Seaver <tseaver@zope.com>
> To: Erik Dahl <edahl@zentinel.net>
> Cc: zope-cmf@zope.org
> Date: 05 Mar 2003 11:48:58 -0500
>
> On Wed, 2003-03-05 at 11:35, Erik Dahl wrote:
> > I have been migrating my zope app to use CMF skins.  I have it all
> > working except the "default" view which currently uses the index_html
> > attribute.  How should this work in a skinned world?  I have looked
> > around for docs but haven't found any.  immediate_view in the
> > factory_type_information looked like a good bet but doesn't do anything
> > for me.
>
> I don't understand, quite.  You can make your content objects
> "index_html-oblivious":
>
>   - Define 'index_html = None' at class scope.
>
>   - Declare your own '__call__', which does the Right Thing (tm) (e.g.,
>     looks up the template from the "view" action of the object's portal
>     type).
>
> Deriving from Products.CMFCore.PortalContent.PortalContent gets you
> these two things for free.
>
> > Also on a side note I only wanted to use CMFCore but looks like you need
> > CMFDefault for the portal_url tool and then it depends on CMFTopic.  Are
> > these dependencies necessary?  I'm new to CMF so maybe I'm missing
> > something here.
>
> CMF 1.4 (hoped to be released this month) moves the URL tool to CMFCore,
> and untangles a couple of other funky dependencies.
>
> Tres.
> --
> ===============================================================
> Tres Seaver                                tseaver@zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com
>
>
>
>
> --__--__--
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>
> End of Zope-CMF Digest
>
>