Danae and Andy wrote:
Darn I thought as much. Oh well glad I caught it now and not a week later.
I'm trying to create a set of web pages, by using the index_html method I was able to then show set properties in different ways, except for this one problem. So I tried inheriting from a DTML Method and Document but it seems I cant use the index_html method anymore to insert headers and footers etc... it just renders the Method / Document data.
There are lots of non-technical users who are going to be adding code and the page is complex, so I would like to not have a whole bunch of <dtml-var> tags they can't touch. People must have come across this before though.
Once again thanks for the help and I hope this makes sense.
Yes this works, but not in my instance. Since I stupidly mixed html and dtml in property, acquring that property doesnt make sense since it will be along the lines of "<p>Test<dtml-var "absolute_url()"></p>" for example.
I hate to say this, but whenever you hit something weird like this, you designed something wrong. If I were you, I would check my design and think whether I could do it different.
Change your design as follows: * Derive your ZClass from ObjectManager * Create DTML methods for your new ZClass that will add DTML Method subobjects to your instances to contain your html and dtml code -- Steve Alexander Software Engineer Cat-Box limited