Rodney, The <%method title> and <& SELF:title &> works great as long as I have the title code in the autohander directly. How do I move the header to a shared component and pass the title method to the shared component?
i.e. <& /shared/header.mhtml &> Thanks, Max On 4/10/06, Rodney Rindels <[EMAIL PROTECTED]> wrote: > > > > > I am in the process of converting some web sites into Mason. I have > > structured the site so there is a top level /autohandler for the main > > look/feel which includes the header, nav and footer components (pretty > > standard I would assume). > > > > I want to create an <%init> or something to that effect on my actual > > page that creates a "$title" var that the header include can use to > > set the page title. When I do this I get all sorts of errors when I > > view the page. How do I accomplish this? > > > > Thanks, > > Max > > > > > -------------------- > I think the methods and attributes section of this page is what you might be > looking for... > > http://www.masonhq.com/docs/manual/Devel.html#objectoriented_techniques > > This would allow you to define a title in each page, and have it called from > your template <& SELF:title &> ... > > Hope this helps, > Rodney > > > -- Max Clark http://www.clarksys.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

