[Bese-devel] TAL mystery

Matthew Danish mdanish at andrew.cmu.edu
Sat Jan 28 00:03:31 UTC 2006


I got UCW up and running with a few demos.  I commented out the example
system and application from the ucwctl file and added in my own stuff.

I tried out the wiki example and typed it into a separate file.  Got it
up and running.  Changed a few things to suit my system, for example:

(defcomponent view-wiki-page (window-component template-component)
  ((page-name :accessor :page-name :initarg :page-name))
    (:default-initargs :template-name "/home/mrd/ucw/wiki/view.tal"))


I decided to check out the TAL file that I thought I had copied into
that location.  Turns out, it didn't exist, I had copied it to the wrong
directory.  And yet, the Wiki functions properly.  So tell me, exactly
how does TAL find a copy of the template file it is supposed to use?

How come the template worked, even though the pathname I specified did
not exist?

-- 
;; Matthew Danish -- user: mrd domain: cmu.edu
;; OpenPGP public key: C24B6010 on keyring.debian.org



More information about the bese-devel mailing list