|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objecttaglib.PageLinkTagLib
class PageLinkTagLib
Tags to make links including CoW wiki paths.
Property Summary | |
---|---|
static String |
contextPath
Short cut for the context path. |
def |
cowLogo
An image link for the logo. |
def |
cowTitle
A title, using the configured application name and optional page name. |
def |
layoutLink
Link to the guest layout if present, else to the CoW main layout. |
static String |
logoPath
Short cut for the logo path. |
static String |
longName
Short cut for the app name. |
def |
pageLink
Page links. |
def |
pageLinkRemote
Page links that do an Ajax call. |
def |
pageURI
Page URIs. |
def |
pageURIBase
Page URIs not including the application context path. |
static String |
shortName
Short cut for the app name. |
Constructor Summary | |
PageLinkTagLib()
|
Method Summary | |
---|---|
String
|
createPageURI(def logger = Logger.getLogger("grails.app.taglib.${this.class.simpleName}", def attrs)
pageURI tag exposed as a method so we can call it from a service. |
String
|
createPageURIBase(def attrs)
This tag exposed as a method so we can call it from a service. |
static String
|
getContextPath(def logger)
Get the context path (for example "/cow" in development, or "" in production). |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
static String contextPath
def cowLogo
def cowTitle
def layoutLink
static String logoPath
static String longName
def pageLink
def pageLinkRemote
def pageURI
def pageURIBase
static String shortName
Constructor Detail |
---|
PageLinkTagLib()
Method Detail |
---|
public String createPageURI(def logger = Logger.getLogger("grails.app.taglib.${this.class.simpleName}", def attrs)
public String createPageURIBase(def attrs)
public static String getContextPath(def logger)
Groovy Documentation