re: [Zope] .dtml files

2000-07-12 Thread Steve Alexander
Daniel wrote: > During this process I have noticed that Zope's dtml pages are stored on > the file system as .dtml files (i.e. roleEdit.dtml) The question then is > how does Zope display this pages?? The pages are usually accessed as attributes Python objects. They are wrapped in a HTMLFile inst

Re: [Zope] .dtml files

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Daniel Rusch wrote: > I have found function calls such as: > manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates > an HTML document template from the named file. But, what is the > mechanism that calls/displays mange_roleForm? Actually, it creates a render

Re: [Zope] .dtml files

2000-07-12 Thread Patrick Lewis
The object has a method named manage_roleForm. In your example, an object which is (or inherets from) Role will have a manage_roleForm, and can be accessed just like any other method, assuming adequate permissions. Using an example I am more familiar with, if you have a DTML Document index_html

Re: [Zope] .dtml files

2000-07-12 Thread Jonothan Farr
> I have found function calls such as: > manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates > an HTML document template from the named file. But, what is the > mechanism that calls/displays mange_roleForm? The class heirarchy looks something like this: Globals.HTMLFile D

[Zope] .dtml files

2000-07-12 Thread Daniel Rusch
I've been digging into to the inner workings of Zope trying to gleen as much Zen as possible, before I implement a write of our existing framework. During this process I have noticed that Zope's dtml pages are stored on the file system as .dtml files (i.e. roleEdit.dtml) The question then is how