On Friday, August 31, 2001, at 10:15 AM, Wei Ru wrote:

> The page.setTitle() seems to work ONLY if you dont have a Screen class
> for it, In my case I have Home.vm as template, I also need to have
> Home.java where I can do things in the doBuildTemplate(), seems if I
> have the Home.java, then the title is not set, but if I take the class
> out and let the turbine just use template, the title gets set? Do you
> have this problem?

$page.setTitle("My Title") should always work if it is placed in the 
screen.
It is a bad idea to set the title in the java code, as this forces you to
recompile every time that you want to change the page title.

-Kurt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to