Just off the top of my head, couldn't you use <title>$myTitle</title> and
then set myTitle in the .java file. Is this how you are creating the page?

HTH
Matt



----- Original Message -----
From: "David Wynter" <[EMAIL PROTECTED]>
To: "Turbine-User" <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 1:27 PM
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]>
>


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

Reply via email to