com.opensymphony.module.sitemesh.tapestry
Class Util
java.lang.Object
com.opensymphony.module.sitemesh.tapestry.Util
public class Util
- extends Object
This utility class gives easy access to the SiteMesh page, with convenience
methods for title and property. A common usage would be with OGNL expressions
like this:
In future versions of Tapestry, thanks to HiveMind integration, this will
become a lot cleaner, probably like this:
- Author:
- Erik Hatcher
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
getTitle
public static String getTitle(org.apache.tapestry.IRequestCycle cycle)
getProperty
public static String getProperty(String name,
org.apache.tapestry.IRequestCycle cycle)
getPage
public static Page getPage(org.apache.tapestry.IRequestCycle cycle)
getHeadRenderer
public static org.apache.tapestry.IRender getHeadRenderer(org.apache.tapestry.IRequestCycle cycle)