|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.social.webui.profile.UIProfileSection
org.exoplatform.social.webui.profile.UIContactSection
public class UIContactSection
Component is used for contact information managing.
Some contact information such as: phone, ims, website ...
This is one part of profile management beside basic information and experience.
Modified : hanh.vi
hanhvq@gmail.com
Aug 18, 2009
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class org.exoplatform.social.webui.profile.UIProfileSection |
|---|
UIProfileSection.CancelActionListener |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static String |
GENDER_CHILD
GENDER |
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. |
| Fields inherited from class org.exoplatform.webui.form.UIForm |
|---|
ACTION, SUBCOMPONENT_ID |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIContactSection()
Initializes contact form. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.exoplatform.social.webui.profile.UIProfileSection |
|---|
escapeHtml, getProfile, getViewUser, isEditable, isEditMode, isFirstLoad, setEditMode, setFirstLoad |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
|---|
addUIComponentInput, 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, url |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, 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, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public 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 INVALID_URL
| Constructor Detail |
|---|
public UIContactSection()
throws Exception
Exception| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||