Groovy Documentation

org.grails.plugin.platform.ui
[Groovy] Class UiExtensions

java.lang.Object
  org.grails.plugin.platform.ui.UiExtensions
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware

class UiExtensions

Helper methods for common UI features


Property Summary
static java.lang.String FLASH_WRAPPER_KEY

static java.lang.String REQUEST_WRAPPER_KEY

static java.lang.String SESSION_WRAPPER_KEY

org.springframework.context.ApplicationContext applicationContext

java.lang.Object injectedMethods

java.lang.Object log

 
Constructor Summary
UiExtensions()

 
Method Summary
void displayFlashMessage(java.lang.String text, java.lang.String pluginName = null)

void displayFlashMessage(java.util.Map args, java.lang.String pluginName = null)

void displayMessage(java.lang.String text, java.lang.String pluginName = null)

void displayMessage(java.util.Map args, java.lang.String pluginName = null)

java.util.Map getDisplayMessage(java.lang.Object scope)

PropertyNamespacer getPluginFlash(java.lang.String pluginName)

PropertyNamespacer getPluginRequestAttributes(java.lang.String pluginName)

PropertyNamespacer getPluginSession(java.lang.String pluginName)

 
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

FLASH_WRAPPER_KEY

static final java.lang.String FLASH_WRAPPER_KEY


REQUEST_WRAPPER_KEY

static final java.lang.String REQUEST_WRAPPER_KEY


SESSION_WRAPPER_KEY

static final java.lang.String SESSION_WRAPPER_KEY


applicationContext

org.springframework.context.ApplicationContext applicationContext


injectedMethods

java.lang.Object injectedMethods


log

final java.lang.Object log


 
Constructor Detail

UiExtensions

UiExtensions()


 
Method Detail

displayFlashMessage

void displayFlashMessage(java.lang.String text, java.lang.String pluginName = null)


displayFlashMessage

void displayFlashMessage(java.util.Map args, java.lang.String pluginName = null)


displayMessage

void displayMessage(java.lang.String text, java.lang.String pluginName = null)


displayMessage

void displayMessage(java.util.Map args, java.lang.String pluginName = null)


getDisplayMessage

java.util.Map getDisplayMessage(java.lang.Object scope)


getPluginFlash

PropertyNamespacer getPluginFlash(java.lang.String pluginName)


getPluginRequestAttributes

PropertyNamespacer getPluginRequestAttributes(java.lang.String pluginName)


getPluginSession

PropertyNamespacer getPluginSession(java.lang.String pluginName)


 

Groovy Documentation