How about if u create a base screen class?
e.g.

public abstract class MyBaseScreen extends VelocityScreen
{
  public void doPerform(...)
  {
    //set title
  }
}

public class EndUserScreen extends MyBaseScreen
{
  public void doPerform(...)
  {
    super.doPerform(...)
    //do whatever else
  }
}
 

-----Original Message-----
From: Kintzel Levente [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 31, 2006 6:40 AM
To: Turbine Users List
Subject: Layout context variable

Hi guys!

 

I want to set the title of my web pages dynamically, read from a property
file according to the current locale. How can I set the value of the title
context variable in such a way to be recognized by the layout template:

- I tried to set it up from the screen: it works fine, but I don't want to
upload the value of the variable in each screen.

- I tried to set it up from a navigation: it was not recognized

- I tried to save in the session, but I have trouble if the session expires.

Has anybody another idea?

Thank you! 

 

Regards,

     Levi




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

Reply via email to