Hi Ogden,

On 09/10/06, O.Nefix <[EMAIL PROTECTED]> wrote:
> In the top most autohandler, there is the <& SELF:title &> - this works
> fine.

Cool. In fact, you'll find that this <& SELF:title &> is equivalent to
$self->base_comp()->call_method('title')...and see below.

> However, in one directory, I have a dhandler to process dynamic URLs:
>
> [snip]
>
> Yet, the title is not picked up and displayed. Am I doing something wrong?

You'll find that the base_comp() from the top level autohandler is in
fact the dhandler. This is because it is the dhandler which creates
the inheritance chain you were expecting.

It just so happens that the dhandler also calls 'index.csc' but this
is only called and it's output created rather than itself creating the
inheritance hierarchy.

To solve this, you could do is put the title() method into the
dhandler itself, or why not have an autohandler in that same directory
where the dhandler is (like you have done with other directories) and
put the title() method in there.

Hope that helps,
Andy

-- 
contact: Andrew Chilton
website: http://kapiti.geek.nz/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to