ERXListDisplay Class Reference
Inherits com::webobjects::appserver::WOComponent.
List of all members.
Detailed Description
Useful for displaying a list of objects. Ex. a list of person eos could be displayed as "Fred, Mark and Max".
If you give the "item" binding, then the content is used to render. Otherwise the "attribute" binding will get used. list attribute emptyArrayDisplay the string to display when the array is null or empty item current item if in content mode separator separator to use for the first items (default ", ") finalSeparator separator for the last items (default localized " and ") escapeHTML
- Author:
- NetStruxr
kieran - I noticed nullArrayDisplay binding was not implemented. Implemented more useful emptyArrayDisplay with fallback to nullArrayDisplay binding for backwards compatibility.
Constructor & Destructor Documentation
Member Function Documentation
- Returns:
- what to display when the list is null or empty. Supporting null or empty makes sense since an empty relationship will return an empty array, not a null array.
- Returns:
- true if the array is null or empty
| void setItem |
( |
Object |
item |
) |
|
| boolean synchronizesVariablesWithBindings |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following file:
- /opt/source/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/components/ERXListDisplay.java