-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens Vagelpohl wrote:
> 
> On 11 Jun 2007, at 18:05, Charlie Clark wrote:
>> Back to my original problem: it's easy enough to edit Document.py
>> and document_edit_template. However, I note that the browser/
>> document.py does some kind of lookup for supported text formats. Is
>> this what Tres was referring to? How do I register restructured for
>> use for anything using formlib?
> 
> See the very top of CMFDefault/browser/document.py, there's a simple
> hardcoded structure.
> 
> 
>> BTW - should we keep NewsItem as a separate Python module? The
>> difference between a NewsItem and a Document is minimal and
>> essentially one of presentation and this should surely be handled
>> by the registration.
> 
> I don't think this is an issue worth devoting time to.

More the the point, there are thousands of persistent instances whose
class is 'Products.CMFDefault.NewsItem.NewsItem':  We'd have to replace
the class with some much-more-obscure BBB code.


"Persistence means always having to say you're sorry." -- Seaver's Law



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbat4+gerLs4ltQ4RAqKyAJ0dUgbtmeWE72qsL0VsQjE8dOkYvQCgwILP
spKZpdzkO+VlFsszXXHHIYg=
=CRcz
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to