dynamic set page title within single page

Permalink
I like to set the page title from the controller code of a single page. The single page is generatie content, so the title is per page different.

How can i do that?

I tried just to set $pageTitle but that does not do the job..

oh, and i mean the title tag in the header...

THNX

MissMarvels