+ + Generate an iterator for a iterable source. + +
+ +Name |
+ Required |
+ Default |
+ Evaluated |
+ Type |
+ Description |
+
|---|---|---|---|---|---|
| converter | +false | ++ | true | +org.apache.struts2.util.IteratorGenerator.Converter | +The converter to convert the String entry parsed from val into an object | +
| count | +false | ++ | true | +Integer | +The max number entries to be in the iterator | +
| id | +false | ++ | true | +String | +The id to store the resultant iterator into page context, if such id is supplied | +
| separator | +true | ++ | true | +String | +The separator to be used in separating the val into entries of the iterator | +
| val | +true | ++ | true | +String | +The source to be parsed into an iterator | +
+ + Sort a List using a Comparator both passed in as the tag attribute. + +
+ +Name |
+ Required |
+ Default |
+ Evaluated |
+ Type |
+ Description |
+
|---|---|---|---|---|---|
| comparator | +true | ++ | true | +java.util.Comparator | +The comparator to use | +
| source | +false | ++ | true | +String | +The iterable source to sort | +
+ + Takes an iterator and outputs a subset of it. + +
+ +Name |
+ Required |
+ Default |
+ Evaluated |
+ Type |
+ Description |
+
|---|---|---|---|---|---|
| count | +false | ++ | true | +Integer | +Indicate the number of entries to be in the resulting subset iterator | +
| decider | +false | ++ | true | +org.apache.struts2.util.SubsetIteratorFilter.Decider | +Extension to plug-in a decider to determine if that particular entry is to be included in the resulting subset iterator | +
| source | +false | ++ | true | +String | +Indicate the source of which the resulting subset iterator is to be derived base on | +
| start | +false | ++ | true | +Integer | +Indicate the starting index (eg. first entry is 0) of entries in the source to be available as the first entry in the resulting subset iterator | +