@ApplicationScoped @Named(value="msghandler") public class MessagesComponentHandler extends PanelComponent
| Modifier and Type | Field and Description |
|---|---|
protected String |
componentIncludeJSP |
protected int |
height |
protected int |
width |
| Constructor and Description |
|---|
MessagesComponentHandler() |
afterRenderBean, beforeRenderBeanactionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getBeanName, getExtraActionParams, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start@Inject protected int width
@Inject protected int height
@Inject protected String componentIncludeJSP
public static MessagesComponentHandler lookup()
public int getWidth()
getWidth in class PanelComponentpublic void setWidth(int width)
public int getHeight()
getHeight in class PanelComponentpublic void setHeight(int height)
public List getMessagesToDisplay()
public void setMessagesToDisplay(List messagesToDisplay)
public List getWarningsToDisplay()
public void setWarningsToDisplay(List warningsToDisplay)
public List getErrorsToDisplay()
public void setErrorsToDisplay(List errorsToDisplay)
public List getMessagesParameters()
public void setMessagesParameters(List messagesParameters)
public List getWarningsParameters()
public void setWarningsParameters(List warningsParameters)
public List getErrorsParameters()
public void setErrorsParameters(List errorsParameters)
public String getBeanJSP()
getBeanJSP in class UIBeanHandlerpublic void setComponentIncludeJSP(String componentIncludeJSP)
public String getI18nBundle()
public void setI18nBundle(String i18nBundle)
public boolean isClearAfterRender()
public void setClearAfterRender(boolean clearAfterRender)
public void clearAll()
public void addMessage(String message)
public void addWarning(String message)
public void addError(String message)
protected boolean isValidMessage(String message)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.