public class ElementHelper extends Object
Linkpanel
s, Link
s, Navigation
/
NavigationItem
s, BeanOption
s, Param
s 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 Environment
messages
- the Messages
to addpublic Messages removeMessages(Environment environment)
environment
- the current Environment
public Messages getMessages(Environment environment)
environment
- the current Environment
public 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.