Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > Generic Tag Reference > generator |
NOTE: JSP-TAG
Generate an iterator based on the val attribute supplied.
NOTE: The generated iterator will ALWAYS be pushed into the top of the stack, and poped at the end of the tag.
Dynamic Attributes Allowed:false | |||||
Name | Required | Default | Evaluated | Type | Description |
---|---|---|---|---|---|
converter | false | false | org.apache.struts2.util.IteratorGenerator.Converter | The converter to convert the String entry parsed from val into an object | |
count | false | false | Integer | The max number entries to be in the iterator | |
id | false | false | String | Deprecated. Use 'var' instead | |
separator | true | false | String | The separator to be used in separating the val into entries of the iterator | |
val | true | false | String | The source to be parsed into an iterator | |
var | false | false | String | The name to store the resultant iterator into page context, if such name is supplied |