Author: amarkhel
Date: 2011-01-10 06:53:42 -0500 (Mon, 10 Jan 2011)
New Revision: 20928
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractList.java
Log:
RF-10126 rich:list: provide default value for type attribute.
Modified: trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractList.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractList.java 2011-01-10
10:29:55 UTC (rev 20927)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/component/AbstractList.java 2011-01-10
11:53:42 UTC (rev 20928)
@@ -72,7 +72,7 @@
return getFacetsIterator(NON_TERM_PREDICATE);
}
- @Attribute(required = true)
+ @Attribute(defaultValue = "ListType.unordered")
public abstract ListType getType();
public UIComponent getTerm() {
Show replies by date