I've done this the same way as you'd do it from any non-dhandler component.

In the dhandler, define a method:

<%method title>
Page Title
</%method>

in the autohandler, use it:

<title><& SELF:title &></title>

    - john romkey
      http://www.romkey.com/

Matt Grommes wrote:
> I don't know if what I'm trying to do is even possible so hopefully somebody 
> can tell me yes or no 
> and what I need to look at to make it work.
>
> I have an autohandler that defines the "outer" html of a page and a dhandler 
> that defines the 
> "inner" html of a page. What I want to do is let the dhandler tell the 
> autohandler to put an HTML 
> string into the "outer" section of the page.
>
> I have a /user/dhandler that generates a link to an atom feed. I want to then 
> insert that link into 
> the <head> of the html page as a <link> element so the feed is auto 
> discoverable. Only certain pages 
> have feeds and the feed filename is based on the specific dhandler 
> (/user/name.xml or 
> /book/bookid.xml) so I don't think I can calculate that in the autohandler.
>
> Is what I'm trying to do even possible? Any hints or pointers will be 
> extremely appreciated. Thanks.
>
>
>
>   



_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to