You can buy this project and download/modify it how often you want.
#if ($parameters.headerKey && $parameters.headerValue) $!webwork.htmlEncode($parameters.headerValue) #end #if ($parameters.emptyOption) #end #set( $items = $parameters.list ) #if( $items ) #foreach( $item in $items ) $stack.push($item) #if( $parameters.listKey ) #set( $itemKey = $stack.findValue($parameters.listKey) ) #else #set( $itemKey = $item ) #end #if( $parameters.listValue ) #set( $itemValue = $stack.findValue($parameters.listValue) ) #else #set( $itemValue = $item ) #end $!webwork.htmlEncode($itemValue) #set ($trash = $stack.pop()) #end #end