[Zope] organizational questions

Martin Dougiamas martin@complex.curtin.edu.au
Mon, 26 Apr 1999 23:27:09 +0800 (WST)


Paul Everitt wrote:
> 
> Martin wrote:
> > Putting it in quotes means that the contents of the DTML document 
> > are inserted "raw" into my current document, rather than being 
> > evaluated.
> 
> Inconsistency number eleven -- you need to do:
> 
> <!--#var "myapp.myfunction()"-->
> 
> This will call 'myfunction' rather than just insert it.
>  

Ah!  Thanks, Paul.  I had tried that, but it just gave a
similar error to all my other permutations.  I realise now
that it was a different error, caused by the callee no longer 
having access to the name space (eg REQUEST, etc) of the caller, 
as it had before.

Passing variables around explicitly will kinda spoil all the
nice clean zopish zen I've been accumulating so I think I'll
just stick to putting "myapp" in the path.

Thanks again.  Once I get a bit more of a handle on all this 
and get my first product out (an application for producing online
courses) I'll be very happy to help with the ZDP, and perhaps NG DTML.  :)

Cheers,
Martin
--
### Martin Dougiamas -- Internet Agent          is == i see
### Centre for Educational Advancement
### http://cea.curtin.edu/staff/martin