public class UIContactSection extends UIProfileSection
| Modifier and Type | Class and Description |
|---|---|
static class |
UIContactSection.AddActionListener
Adds component when user click add button.
|
static class |
UIContactSection.EditActionListener
Changes form into edit mode when user click eddit button.
|
static class |
UIContactSection.RemoveActionListener
Removes the component that user selected for removing.
|
static class |
UIContactSection.SaveActionListener
Stores profile information into database when form is submitted.
|
UIProfileSection.CancelActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
GENDER_CHILD
GENDER
|
static String |
HTTP_PROTOCOL |
static String |
IM
URL.
|
static String |
IM_STRINGLENGTH_REGEX_EXPRESSION
IM LENGTH REGEX EXPRESSION.
|
static String[] |
IM_TYPES
IM_TYPES.
|
static String |
INVALID_IM
INVALID IM.
|
static String |
INVALID_PHONE
INVALID PHONE.
|
static String |
INVALID_URL
INVALID URL.
|
static String |
KEY
KEY.
|
static String |
PHONE
PHONE.
|
static String |
PHONE_REGEX_EXPRESSION
PHONE REGEX EXPRESSION.
|
static String[] |
PHONE_TYPES
PHONE_TYPES.
|
static String |
URL
URL.
|
static String |
URL_REGEX_EXPRESSION
URL REGEX EXPRESSION.
|
static String |
VALUE
VALUE.
|
static String |
VALUE_GENDER_FEMALE
FEMALE.
|
static String |
VALUE_GENDER_MALE
MALE.
|
static String |
WEBSITE_TITLE
WEBSITE TITLE.
|
| Constructor and Description |
|---|
UIContactSection()
Initializes contact form.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.exoplatform.webui.core.UIComponent> |
getChilds()
Gets and sort all uicomponents.
|
org.exoplatform.webui.form.UIFormInput<String> |
getGenderChild()
Gets gender child
|
List<org.exoplatform.webui.core.UIComponent> |
getImsChilds()
Gets all children of ims.
|
int |
getImsCount() |
List<org.exoplatform.webui.core.UIComponent> |
getPhoneChilds()
Gets all children of Phone.
|
int |
getPhoneCount() |
String |
getSampleURL() |
List<org.exoplatform.webui.core.UIComponent> |
getUrlChilds()
Gets all children of URL.
|
int |
getUrlCount() |
void |
removeEmptyComponents()
Removes empty components that user did not input any values.
|
void |
setSampleURL(String sampleURL) |
escapeHtml, getProfile, getViewUser, isEditable, isEditMode, isFirstLoad, setEditMode, setFirstLoadaddUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, 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, urlpublic static final String GENDER_CHILD
public static final String PHONE
public static final String IM
public static final String URL
public static final String VALUE_GENDER_MALE
public static final String VALUE_GENDER_FEMALE
public static final String[] PHONE_TYPES
public static final String[] IM_TYPES
public static final String WEBSITE_TITLE
public static final String KEY
public static final String VALUE
public static final String PHONE_REGEX_EXPRESSION
public static final String IM_STRINGLENGTH_REGEX_EXPRESSION
public static final String INVALID_PHONE
public static final String INVALID_IM
public static final String URL_REGEX_EXPRESSION
public static final String HTTP_PROTOCOL
public static final String INVALID_URL
public final int getPhoneCount()
public final int getImsCount()
public final int getUrlCount()
public String getSampleURL()
public void setSampleURL(String sampleURL)
sampleURL - the sampleURL to setpublic final List<org.exoplatform.webui.core.UIComponent> getChilds()
public final List<org.exoplatform.webui.core.UIComponent> getPhoneChilds()
public final List<org.exoplatform.webui.core.UIComponent> getImsChilds()
public final List<org.exoplatform.webui.core.UIComponent> getUrlChilds()
public final org.exoplatform.webui.form.UIFormInput<String> getGenderChild()
public void removeEmptyComponents()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.