| Type | Name and description |
|---|---|
static java.lang.Object |
LOGGED_IN_CLASS |
static java.lang.Object |
LOGGED_OUT_CLASS |
java.lang.Object |
alaBaseURLAll the following statics can be overridden by the specified config declarations. |
java.lang.Object |
bannerDisplay the page banner. |
java.lang.Object |
bieBaseURL |
java.lang.Object |
bieSearchPath |
java.lang.Object |
cacheTimeout |
java.lang.Object |
casLoginUrl |
java.lang.Object |
casLogoutUrl |
java.lang.Object |
clearCacheCall this tag from a controller to clear the cache. |
groovy.lang.Closure |
createLoginUrlGenerate a URL for logging in the user\. |
java.lang.Object |
footerDisplays the page footer. |
java.lang.Object |
grailServerURL |
java.lang.Object |
head |
java.lang.Object |
headerAndFooterBaseURL |
java.lang.Object |
hfCacheCache for includes. |
java.lang.Object |
loginLogoutGenerate the login/logout link |
java.lang.Object |
menuDisplay the main menu. |
static java.lang.Object |
namespace |
groovy.lang.Closure |
paginateCreates next/previous links to support pagination for the current controller. |
static java.lang.Object |
returnObjectForTags |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
buildLoginLink(java.lang.Object attrs)Build the login link |
|
java.lang.String |
buildLoginoutLink(java.lang.Object attrs)Builds the login or logout link based on current login status. |
|
java.lang.String |
getContent(java.lang.Object which)Loads the content from the web. |
|
boolean |
isLoggedIn(java.lang.Object attrs) |
|
java.lang.String |
load(java.lang.Object which, java.lang.Object attrs)Get the content from cache of the web. |
|
java.lang.String |
transform(java.lang.Object content, java.lang.Object attrs)Does the appropriate substitutions on the included content. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
All the following statics can be overridden by the specified config declarations. The banner include assumes that ala-cas-client exists in the app library.
Display the page banner. Includes login/logout link and search box.
Usage:
Call this tag from a controller to clear the cache.
Generate a URL for logging in the user\. Generally used as a method call
rather than a tag eg.
<a href="${createLoginUrl()}">log in</a>
Displays the page footer.
Usage:
Cache for includes. Expires after 30 mins or when clearCache is called.
Generate the login/logout link
Display the main menu.
Note that highlighting of the current menu item is done by including the appropriate class in the
body tag, eg class="collections".
Usage:
Creates next/previous links to support pagination for the current controller.
<g:paginate total="${Account.count()}" />
Build the login link
attrs - any specified params to override defaultsBuilds the login or logout link based on current login status.
attrs - any specified params to override defaultsLoads the content from the web.
which - specifies the includeGet the content from cache of the web.
which - specifies the includeattrs - any specified paramsDoes the appropriate substitutions on the included content.
attrs - any specified params to override defaults