Groovy Documentation

org.grails.plugin.platform
[Groovy] Class UiExtensionsTagLib

java.lang.Object
  org.grails.plugin.platform.UiExtensionsTagLib

class UiExtensionsTagLib

Property Summary
java.util.List DUMMY_TEXT

java.lang.Object attrIfSet

Write out an attribute and value only if the value is non-null

attr:
value Value of the attribute
attr:
name Name of the attribute i.e.

java.lang.Object button

java.lang.Object callTag

Allows a GSP to call another tag, passing it attributes at runtime without listing them in the GSP

java.lang.Object displayMessage

java.lang.Object dummyText

java.lang.Object grailsUiExtensions

java.lang.Object joinClasses

java.lang.Object label

static java.lang.Object namespace

java.lang.Object organization

static java.lang.Object returnObjectForTags

java.lang.Object siteLink

java.lang.Object siteName

java.lang.Object siteURL

java.lang.Object smartLink

java.lang.Object text

Get i18n text string, like g:message but with some attrib changes and code namespaced by plugin that declared GSP Attributes:

attr:
code The i18n code
@attr args The i18n args (optional)

java.lang.Object textScope

Set the scope of p:text i18n codes for the duration of this request Used by GSPs in apps that override plugin GSPs, or just to scope all the i18n safely in an scenario

java.lang.Object thisYear

java.lang.Object year

 
Constructor Summary
UiExtensionsTagLib()

 
Method Summary
private java.lang.String attrsToTextScope(java.lang.Object attrs)

protected java.lang.Object getMessageOrBody(java.util.Map attrs, groovy.lang.Closure body)

 
Methods inherited from 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()
 

Property Detail

DUMMY_TEXT

@Lazy
java.util.List DUMMY_TEXT


attrIfSet

java.lang.Object attrIfSet
Write out an attribute and value only if the value is non-null
attr:
value Value of the attribute
attr:
name Name of the attribute i.e. "width"


button

java.lang.Object button


callTag

java.lang.Object callTag
Allows a GSP to call another tag, passing it attributes at runtime without listing them in the GSP


displayMessage

java.lang.Object displayMessage


dummyText

java.lang.Object dummyText


grailsUiExtensions

java.lang.Object grailsUiExtensions


joinClasses

java.lang.Object joinClasses


label

java.lang.Object label


namespace

static java.lang.Object namespace


organization

java.lang.Object organization


returnObjectForTags

static java.lang.Object returnObjectForTags


siteLink

java.lang.Object siteLink


siteName

java.lang.Object siteName


siteURL

java.lang.Object siteURL


smartLink

java.lang.Object smartLink


text

java.lang.Object text
Get i18n text string, like g:message but with some attrib changes and code namespaced by plugin that declared GSP Attributes:
attr:
code The i18n code
attr:
args The i18n args (optional) Body is the default text if code does not resolve.


textScope

java.lang.Object textScope
Set the scope of p:text i18n codes for the duration of this request Used by GSPs in apps that override plugin GSPs, or just to scope all the i18n safely in an scenario


thisYear

java.lang.Object thisYear


year

java.lang.Object year


 
Constructor Detail

UiExtensionsTagLib

UiExtensionsTagLib()


 
Method Detail

attrsToTextScope

private java.lang.String attrsToTextScope(java.lang.Object attrs)


getMessageOrBody

protected java.lang.Object getMessageOrBody(java.util.Map attrs, groovy.lang.Closure body)


 

Groovy Documentation