Yes.
I am using VelocityOnlyLayout and am setting the title within each template
screen file.
I just put the following at the top of my /screen/*.vm file:
$data.setTitle("SiServer Manager")
My /navigations/DefaultTop.vm contains the following:
<html>
<head>
<title>$data.title</title>
....
BTW, I'm using TDK 2.1.
I believe that $data basically corresponds to DefaultTurbineRunData.java.
-David
-----Original Message-----
From: David Wynter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 4:28 AM
To: Turbine-User
Subject: Using VelocityOnlyLayout is there a way to setTitle?
When using VelocityOnlyLayout is there a way to set the title from the
screen template? I used to use $page.setTitle("title unique to screen") in
my screen template but this is only posssible when using VelocityECSLayout.
Now that the title is set in the Default.vm in the layout sub directory
specific to the role of the user eg. ..../app/layout/Admin/Default.vm I need
a way to recognise which screen is being used and to somehow get a title
associated with that screen. Has anybody done this before?
David Wynter
Director
roamware Ltd.
(+44) (0) 208 922 7539 B.
(+44) (0) 7879 605 706 M.
[EMAIL PROTECTED]
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
*********************************************************************
This e-mail and any attachment is confidential. It may only be read, copied and used
by the intended recipient(s). If you are not the intended recipient(s), you may not
copy, use, distribute, forward, store or disclose this e-mail or any attachment. If
you are not the intended recipient(s) or have otherwise received this e-mail in error,
you should destroy it and any attachment and notify the sender by reply e-mail or send
a message to [EMAIL PROTECTED]
*********************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>