Also, document_src() is a "Python method" function
included in the "Python Method" product
< URL: http://www.zope.org/Members/4am/PythonMethod >
If you're pre-2.0 you have to install that one yourself.
2.0 contains "Python Methods", and document_src() comes for free
(I think, but I'm not 100% sure).
/ Svante Kleist, NEMESIS systemDesign, Stockholm
--On Sunday, July 30, 2000 10:37 +0100 Chris Withers <[EMAIL PROTECTED]>
wrote:
> Deryk Barker wrote:
> <snip how-to for view source>
>>
>> Well I did and get a NameError looking for document_src.
>
> What object are you trying to view the source of?
> It's only work (and only makes sense) on things like DTML methods and
> DTML documents.
>
> cheers,
>
> Chris
>
> _______________________________________________
> Zope maillist - [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )