public interface ListControl extends ListPanelControl
A container that wraps a single list item and requires a list model which can be either a Static List, a Dynamic List or a Custom List.
The list item is rendered repeatedly for each item in the list. The text for each list item can be displayed as either a text or a hyperlink by adding a
Repeating List Text Control
or a Repeating List Hyperlink Control
to the single child list item.
<ul> <li> list item text 1 </li> <li> list item text 2 </li> </ul>Further documentation.
Modifier and Type | Method and Description |
---|---|
CustomList |
createCustomList()
Creates and returns an empty list and associates the list with this repeating list control.
|
CustomList |
createCustomList(java.lang.String[] entries)
Creates a list for this control and adds the passed entries.
|
FieldList |
getList()
Returns the list associated with this control or null if no list exists.
|
getContainingListType, getListStyleImage, getListStylePosition, getListStyleType, setContainingListType, setListStyleImage, setListStylePosition, setListStyleType
getHeight, getWidth, setHeight, setWidth
getLayout, getLayoutType
getChildControls
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isContainer, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, removeCssClass, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setInfoMsgClass, setInfoMsgStyle, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, show
getElementName, getElementType
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessages
getErrorMessageStyle, getInfoMessageStyle, getWarningMessageStyle
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidth
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMargin
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
FieldList getList()
Dynamic List
- values are retrieved from a databaseStatic List
- supports multiple languages, values are defined using the Ebase Xi DesignerCustom List
- the list is created programmatically using the createCustomList()
methodCustomList createCustomList()
Javascript example:
var list = controls.List1.createCustomList(); list.add("Item 1"); list.add("Item 2"); list.add("Item 3");
CustomList createCustomList(java.lang.String[] entries)
Javascript example:
var list = controls.List1.createCustomList(["Item 1", "Item 2", "Item 3"]);