public class BaseUIForm
extends org.exoplatform.webui.form.UIForm
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isAddColonInLabel |
protected org.exoplatform.services.log.Log |
log |
| Constructor and Description |
|---|
BaseUIForm() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelChildPopupAction() |
String |
getLabel(ResourceBundle res,
String id) |
String |
getLabel(String labelID)
Get a label for this form.
|
org.exoplatform.webui.form.UIFormRichtextInput |
getUIFormRichtextInput(String name) |
UIFormScrollSelectBox |
getUIFormScrollSelectBox(String name) |
UIForumFilter |
getUIForumFilter(String name) |
String |
i18n(String key)
Get a value from the app resource bundle.
|
protected void |
info(String messageKey)
Sends a info message to ui and ignore ajax update on Portlets
|
protected void |
info(String messageKey,
boolean ignoreAJAXUpdateOnPortlets)
Sends an info message to ui
|
protected void |
info(String messageKey,
String arg) |
protected void |
info(String messageKey,
String[] args) |
protected void |
info(String messageKey,
String[] args,
boolean ignoreAJAXUpdateOnPortlets)
Sends a ninfo message to ui
|
boolean |
isAddColonInLabel() |
protected <T extends org.exoplatform.webui.core.UIComponent> |
openPopup(Class<T> componentType,
int width) |
protected <T extends org.exoplatform.webui.core.UIComponent> |
openPopup(Class<T> componentType,
int width,
int height) |
protected <T extends org.exoplatform.webui.core.UIComponent> |
openPopup(Class<T> componentType,
String popupId,
int width) |
protected <T extends org.exoplatform.webui.core.UIComponent> |
openPopup(Class<T> componentType,
String popupId,
int width,
int height) |
protected <T extends org.exoplatform.webui.core.UIComponent> |
openPopup(org.exoplatform.webui.core.UIContainer parent,
Class<T> componentType,
int width,
int height) |
protected <T extends org.exoplatform.webui.core.UIComponent> |
openPopup(org.exoplatform.webui.core.UIContainer parent,
Class<T> componentType,
String popupId,
int width,
int height)
Opens a popup and creates a component into it.
|
void |
setAddColonInLabel(boolean isAddColonInLabel) |
protected void |
throwWarning(String message) |
protected void |
throwWarning(String message,
String... args)
Throws a MessageException in warning level
|
protected void |
warning(String messageKey)
Sends a warning message to ui and ignore ajax update on Portlets
|
protected void |
warning(String messageKey,
boolean ignoreAJAXUpdateOnPortlets)
Sends a warning message to ui
|
protected void |
warning(String messageKey,
String arg) |
protected void |
warning(String messageKey,
String[] args) |
protected void |
warning(String messageKey,
String[] args,
boolean ignoreAJAXUpdateOnPortlets)
Sends a parameterized warning to ui
|
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, urlprotected org.exoplatform.services.log.Log log
protected boolean isAddColonInLabel
public String i18n(String key)
public String getLabel(String labelID)
getLabel in class org.exoplatform.webui.form.UIFormlabelID - public String getLabel(ResourceBundle res, String id)
getLabel in class org.exoplatform.webui.form.UIFormpublic boolean isAddColonInLabel()
public void setAddColonInLabel(boolean isAddColonInLabel)
public UIFormScrollSelectBox getUIFormScrollSelectBox(String name)
public org.exoplatform.webui.form.UIFormRichtextInput getUIFormRichtextInput(String name)
public UIForumFilter getUIForumFilter(String name)
protected void info(String messageKey)
messageKey - resource bundle key for the messageprotected void info(String messageKey, boolean ignoreAJAXUpdateOnPortlets)
messageKey - resource bundle key for the messageignoreAJAXUpdateOnPortlets - as there is need to update only UI components
of portal (ie: the components outside portlet windows) are updated by AJAX.protected void info(String messageKey, String[] args, boolean ignoreAJAXUpdateOnPortlets)
messageKey - resource bundle key for the messageargs - arguments of the messageignoreAJAXUpdateOnPortlets - as there is need to update only UI components
of portal (ie: the components outside portlet windows) are updated by AJAX.protected void warning(String messageKey)
messageKey - resource bundle key for the messageprotected void warning(String messageKey, boolean ignoreAJAXUpdateOnPortlets)
messageKey - resource bundle key for the messageignoreAJAXUpdateOnPortlets - as there is need to update only UI components
of portal (ie: the components outside portlet windows) are updated by AJAX.protected void warning(String messageKey, String[] args, boolean ignoreAJAXUpdateOnPortlets)
messageKey - args - arguments of the messageignoreAJAXUpdateOnPortlets - as there is need to update only UI components
of portal (ie: the components outside portlet windows) are updated by AJAX.protected void throwWarning(String message, String... args) throws org.exoplatform.webui.exception.MessageException
message - args - org.exoplatform.webui.exception.MessageExceptionprotected void throwWarning(String message) throws org.exoplatform.webui.exception.MessageException
org.exoplatform.webui.exception.MessageExceptionthrowWarning(String, String...)protected <T extends org.exoplatform.webui.core.UIComponent> T openPopup(Class<T> componentType, String popupId, int width, int height) throws Exception
Exceptionprotected <T extends org.exoplatform.webui.core.UIComponent> T openPopup(Class<T> componentType, int width, int height) throws Exception
Exceptionprotected <T extends org.exoplatform.webui.core.UIComponent> T openPopup(Class<T> componentType, int width) throws Exception
Exceptionprotected <T extends org.exoplatform.webui.core.UIComponent> T openPopup(Class<T> componentType, String popupId, int width) throws Exception
Exceptionprotected <T extends org.exoplatform.webui.core.UIComponent> T openPopup(org.exoplatform.webui.core.UIContainer parent,
Class<T> componentType,
String popupId,
int width,
int height)
throws Exception
T - type of the component to display in the popupparent - parent above whch the popup should be opencomponentType - type of the component to open in the popuppopupId - id for the popupwidth - popup widthheight - popup heightExceptionprotected <T extends org.exoplatform.webui.core.UIComponent> T openPopup(org.exoplatform.webui.core.UIContainer parent,
Class<T> componentType,
int width,
int height)
throws Exception
ExceptionopenPopup(UIContainer, Class, String, int, int)Copyright © 2003–2016 eXo Platform SAS. All rights reserved.