On Thu, May 24, 2001 at 02:23:51PM -0600, kosh@aesaeion.com wrote:
I disagree with this idea a lot. Someone should not be able to view the page source for the webpage and see the objects involved. I would rather see this done using dtml-comments or information stuck in the property sheets since that doesn't get sent to the web browser. Another reason not
in the property sheet it would be of no value, since external editors/tools can't deal with Zope's property sheets. I mean when you edit the raw object's content, you must have something to say to Zope to import this object as this meta-type when using special tools, and when you use the ZMI you can always override this. But I don't want the comment to be really present at the top of the document source, I just want Zope to add it when downloading the source (so just in document_src())
to do this is if you have a page that gets composed of a hundred or more objects having comments display for each on on the in the page source is a fairly major amount of data sent to the web client for no purpose.
think about Python Scripts: when you edit them the comment are not there, but if you want to download the source, the comments are there AND USEFUL. When you do View Source in your browser, it's different from calling document_src() on the server. I really don't see any problem or difficulty there. bye, Jerome