public class ElementHelper extends Object
Linkpanel
s, Link
s, Navigation
/
NavigationItem
s, BeanOption
s, Param
s etc. Environment
and an ExpressionEvaluator
to evaluate expressions.Modifier and Type | Field and Description |
---|---|
static String |
INTERNAL_ERROR |
Constructor and Description |
---|
ElementHelper(Environment environment,
Site site,
Application application,
ExpressionEvaluator expressionEvaluator) |
ElementHelper(Site site,
Application application) |
public static final String INTERNAL_ERROR
public ElementHelper(Site site, Application application)
public ElementHelper(Environment environment, Site site, Application application, ExpressionEvaluator expressionEvaluator)
public ExpressionEvaluator initExpressionEvaluator(ExpressionEvaluator other)
public void initNavigation(ApplicationRequest applicationRequest, Path pathInfo, PageConfig pageConfig)
public static Messages addMessages(Environment environment, Messages messages)
environment
- the current Environment
public Messages removeMessages()
public Messages removeMessages(Environment environment)
@Deprecated public boolean hasMessages(Environment environment)
hasMessages()
, since an Environment
is wrapped herepublic Messages getMessages()
public Messages getMessagesInternal(Environment other)
public boolean hasMessages()
public boolean conditionMatches(Condition condition)
public static boolean conditionMatches(ExpressionEvaluator expressionEvaluator, Condition condition)
public void processDataContainer(Request applicationRequest, DataContainer container, String callerName) throws ClassNotFoundException, ProcessingException
public boolean isMessageParam(Object o)
@Deprecated public String getOutputPrefix(Environment env)
getOutputPrefix()
, since an Environment
is wrapped herepublic String getOutputPrefix()
Copyright © 2011–2023 aiticon GmbH. All rights reserved.