[ 
http://www.stripesframework.org/jira/browse/STS-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12229#comment-12229
 ] 

Ben Gunter commented on STS-758:
--------------------------------

A patch would be greatly appreciated. It sounds like a useful feature.

> Include and exclude attributes for options-enumeration tag
> ----------------------------------------------------------
>
>                 Key: STS-758
>                 URL: http://www.stripesframework.org/jira/browse/STS-758
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>            Reporter: Ken Koster
>
> I often need to output an options-enumeration list with only a subset of the 
> options. This was so common on the project I have been working on that I 
> added "include" and "exclude" attributes to the InputOptionsEnumerationTag. 
> Both attributes take a comma-delimited list of enum names that will either be 
> the only options output (the "include" case) or the only options out of the 
> enumeration not output (the "exclude" case).
> This is a much simpler version of the feature request that was included with 
> STS-300.
> This enhancement is unit tested and has been working well in production for 
> the last 6 weeks or so. I am happy to submit a patch for it if the community 
> thinks it would be generally useful.
> Here is an example of the tag with the new attribute:
> <stripes:options-enumeration enum="com.diio.BatchingType" 
> exclude="PURCHASE_DATE,TRAVEL_DATE"/>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to