public class ElementHelper extends Object
Linkpanels, Links, Navigation/
NavigationItems, BeanOptions, Params etc.| Modifier and Type | Field and Description |
|---|---|
static String |
INTERNAL_ERROR |
| Constructor and Description |
|---|
ElementHelper(Site site,
Application application) |
ElementHelper(Site site,
Application application,
ExpressionEvaluator expressionEvaluator) |
| Modifier and Type | Method and Description |
|---|---|
static Messages |
addMessages(Environment environment,
Messages messages)
Adds some messages to the current session.
|
Messages |
getMessages(Environment environment)
Returns the messages for the current session.
|
String |
getOutputPrefix(Environment env) |
Class<?>[] |
getValidationGroups(MetaData metaData,
Object bindObject) |
boolean |
hasMessages(Environment environment) |
void |
initNavigation(ApplicationRequest applicationRequest,
Path pathInfo,
PageConfig pageConfig) |
boolean |
isMessageParam(Object o) |
void |
processDataContainer(Request applicationRequest,
DataContainer container,
String callerName) |
Messages |
removeMessages(Environment environment)
Removes the messages from the current session.
|
public static final String INTERNAL_ERROR
public ElementHelper(Site site, Application application)
public ElementHelper(Site site, Application application, ExpressionEvaluator expressionEvaluator)
public void initNavigation(ApplicationRequest applicationRequest, Path pathInfo, PageConfig pageConfig)
public static Messages addMessages(Environment environment, Messages messages)
environment - the current Environmentmessages - the Messages to addpublic Messages removeMessages(Environment environment)
environment - the current Environmentpublic Messages getMessages(Environment environment)
environment - the current Environmentpublic boolean hasMessages(Environment environment)
public void processDataContainer(Request applicationRequest, DataContainer container, String callerName) throws ClassNotFoundException, ProcessingException
public boolean isMessageParam(Object o)
public String getOutputPrefix(Environment env)
Copyright © 2011–2020 aiticon GmbH. All rights reserved.