I have a <%method> section in each directory's autohandler to define the
title of each pages, as follow:

<%method title>
Chicago Suicide Club: Events Page
</%method>

In the top most autohandler, there is the <& SELF:title &> - this works
fine.

However, in one directory, I have a dhandler to process dynamic URLs:

<%init>
my $id = (split /\//, $r->uri)[-1];
$m->comp("index.csc", event => $id);
</%init>

Within index.csc I have:

<%method title>
Chicago Suicide Club: Events Page
</%method>

Yet, the title is not picked up and displayed. Am I doing something wrong?

Thank you very much.

Ogden

-------------------------------------------------------------------------
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